Skip to content

Commit c141bac

Browse files
authored
Merge branch '1.x' into feature/file-attribute-disk-directory
2 parents 64a9ab8 + a75787f commit c141bac

58 files changed

Lines changed: 3028 additions & 94 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"filament/spatie-laravel-media-library-plugin": "^4.0",
2121
"guzzlehttp/guzzle": "^7.3",
2222
"http-interop/http-factory-guzzle": "^1.2",
23-
"kalnoy/nestedset": "^v6.0.5",
23+
"kalnoy/nestedset": "^v6.0.5|^v7.0.1",
2424
"laravel/framework": "^12.0|^13.0",
2525
"laravel/scout": "^10.13.1",
2626
"leandrocfe/filament-apex-charts": "^5.0",
@@ -40,7 +40,7 @@
4040
"typesense/typesense-php": "^4.9"
4141
},
4242
"require-dev": {
43-
"filament/upgrade": "^4.0",
43+
"filament/upgrade": "^4.0",
4444
"larastan/larastan": "^3.0",
4545
"laravel/pint": "1.29.0",
4646
"mockery/mockery": "^1.6.9",
@@ -88,7 +88,7 @@
8888
}
8989
},
9090
"extra": {
91-
"lunar": {
91+
"lunar": {
9292
"name": [
9393
"Table Rate Shipping",
9494
"Opayo Payments",
@@ -132,7 +132,7 @@
132132
},
133133
"config": {
134134
"allow-plugins": {
135-
"pestphp/pest-plugin": true,
135+
"pestphp/pest-plugin": true,
136136
"php-http/discovery": true
137137
}
138138
},

packages/admin/.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?php
2+
3+
return [
4+
'collections' => [
5+
'create_root' => [
6+
'label' => 'Stvori glavnu kolekciju',
7+
],
8+
'create_child' => [
9+
'label' => 'Stvori podkolekciju',
10+
],
11+
'move' => [
12+
'label' => 'Premjesti kolekciju',
13+
],
14+
'delete' => [
15+
'label' => 'Izbriši',
16+
'notifications' => [
17+
'cannot_delete' => [
18+
'title' => 'Brisanje nije moguće',
19+
'body' => 'Ova kolekcija sadrži podkolekcije i ne može se izbrisati.',
20+
],
21+
],
22+
],
23+
],
24+
'orders' => [
25+
'update_status' => [
26+
'label' => 'Ažuriraj status',
27+
'wizard' => [
28+
'step_one' => [
29+
'label' => 'Status',
30+
],
31+
'step_two' => [
32+
'label' => 'Mailer i obavijesti',
33+
'no_mailers' => 'Za ovaj status nije dostupan nijedan mailer.',
34+
],
35+
'step_three' => [
36+
'label' => 'Pregled i spremanje',
37+
'no_mailers' => 'Nijedan mailer nije odabran za pregled.',
38+
],
39+
],
40+
'notification' => [
41+
'label' => 'Status narudžbe ažuriran',
42+
],
43+
'billing_email' => [
44+
'label' => 'E-mail za naplatu',
45+
],
46+
'shipping_email' => [
47+
'label' => 'E-mail za dostavu',
48+
],
49+
],
50+
],
51+
];
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
return [
4+
5+
'label' => 'Aktivnost',
6+
7+
'plural_label' => 'Aktivnosti',
8+
9+
'table' => [
10+
'subject' => 'Predmet',
11+
'description' => 'Opis',
12+
'log' => 'Zapisnik',
13+
'logged_at' => 'Zabilježeno',
14+
'event' => 'Događaj',
15+
'logged_from' => 'Zabilježeno od',
16+
'logged_until' => 'Zabilježeno do',
17+
],
18+
19+
'form' => [
20+
'causer_type' => 'Tip uzročnika',
21+
'causer_id' => 'ID uzročnika',
22+
'subject_type' => 'Tip predmeta',
23+
'subject_id' => 'ID predmeta',
24+
'description' => 'Opis',
25+
'attributes' => 'Atributi',
26+
'old' => 'Staro',
27+
],
28+
29+
];
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?php
2+
3+
return [
4+
5+
'label' => 'Adresa',
6+
7+
'plural_label' => 'Adrese',
8+
9+
'table' => [
10+
'title' => [
11+
'label' => 'Titula',
12+
],
13+
'first_name' => [
14+
'label' => 'Ime',
15+
],
16+
'last_name' => [
17+
'label' => 'Prezime',
18+
],
19+
'company_name' => [
20+
'label' => 'Naziv tvrtke',
21+
],
22+
'tax_identifier' => [
23+
'label' => 'Porezni broj',
24+
],
25+
'line_one' => [
26+
'label' => 'Adresa',
27+
],
28+
'line_two' => [
29+
'label' => 'Dodatak adresi',
30+
],
31+
'line_three' => [
32+
'label' => 'Dodatak adresi',
33+
],
34+
'city' => [
35+
'label' => 'Grad',
36+
],
37+
'country_id' => [
38+
'label' => 'Država',
39+
],
40+
'state' => [
41+
'label' => 'Županija',
42+
],
43+
'postcode' => [
44+
'label' => 'Poštanski broj',
45+
],
46+
'contact_email' => [
47+
'label' => 'Kontakt e-mail',
48+
],
49+
'contact_phone' => [
50+
'label' => 'Kontakt telefon',
51+
],
52+
],
53+
54+
'form' => [
55+
'title' => [
56+
'label' => 'Titula',
57+
],
58+
'first_name' => [
59+
'label' => 'Ime',
60+
],
61+
'last_name' => [
62+
'label' => 'Prezime',
63+
],
64+
'company_name' => [
65+
'label' => 'Naziv tvrtke',
66+
],
67+
'tax_identifier' => [
68+
'label' => 'Porezni broj',
69+
],
70+
'line_one' => [
71+
'label' => 'Redak adrese 1',
72+
],
73+
'line_two' => [
74+
'label' => 'Redak adrese 2',
75+
],
76+
'line_three' => [
77+
'label' => 'Redak adrese 3',
78+
],
79+
'city' => [
80+
'label' => 'Grad',
81+
],
82+
'country_id' => [
83+
'label' => 'Država',
84+
],
85+
'state' => [
86+
'label' => 'Županija',
87+
],
88+
'postcode' => [
89+
'label' => 'Poštanski broj',
90+
],
91+
'contact_email' => [
92+
'label' => 'Kontakt e-mail',
93+
],
94+
'contact_phone' => [
95+
'label' => 'Kontakt telefon',
96+
],
97+
],
98+
99+
];
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?php
2+
3+
return [
4+
5+
'label' => 'Atribut',
6+
7+
'plural_label' => 'Atributi',
8+
9+
'table' => [
10+
'name' => [
11+
'label' => 'Naziv',
12+
],
13+
'description' => [
14+
'label' => 'Opis',
15+
],
16+
'handle' => [
17+
'label' => 'Handle',
18+
],
19+
'type' => [
20+
'label' => 'Tip',
21+
],
22+
],
23+
24+
'form' => [
25+
'attributable_type' => [
26+
'label' => 'Tip',
27+
],
28+
'name' => [
29+
'label' => 'Naziv',
30+
],
31+
'description' => [
32+
'label' => 'Opis',
33+
'helper' => 'Koristi se za prikaz pomoćnog teksta ispod unosa',
34+
],
35+
'handle' => [
36+
'label' => 'Identifikator',
37+
],
38+
'searchable' => [
39+
'label' => 'Pretraživo',
40+
],
41+
'filterable' => [
42+
'label' => 'Filtrirajuće',
43+
],
44+
'required' => [
45+
'label' => 'Obavezno',
46+
],
47+
'type' => [
48+
'label' => 'Tip',
49+
],
50+
'validation_rules' => [
51+
'label' => 'Pravila validacije',
52+
'helper' => 'Pravila za polje atributa, primjer: min:1|max:10|...',
53+
],
54+
],
55+
];
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
return [
4+
5+
'label' => 'Grupa atributa',
6+
7+
'plural_label' => 'Grupe atributa',
8+
9+
'table' => [
10+
'attributable_type' => [
11+
'label' => 'Tip',
12+
],
13+
'name' => [
14+
'label' => 'Naziv',
15+
],
16+
'handle' => [
17+
'label' => 'Identifikator',
18+
],
19+
'position' => [
20+
'label' => 'Pozicija',
21+
],
22+
],
23+
24+
'form' => [
25+
'attributable_type' => [
26+
'label' => 'Tip',
27+
],
28+
'name' => [
29+
'label' => 'Naziv',
30+
],
31+
'handle' => [
32+
'label' => 'Identifikator',
33+
],
34+
'position' => [
35+
'label' => 'Pozicija',
36+
],
37+
],
38+
39+
'action' => [
40+
'delete' => [
41+
'notification' => [
42+
'error_protected' => 'Ovu grupu atributa nije moguće izbrisati jer postoje povezani atributi.',
43+
],
44+
],
45+
],
46+
];
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
return [
4+
/**
5+
* Uloge
6+
*/
7+
'roles.admin.label' => 'Administrator',
8+
'roles.admin.description' => 'Administrator s punim pristupnim pravima',
9+
'roles.staff.label' => 'Osoblje',
10+
'roles.staff.description' => 'Osoblje s osnovnim pristupnim pravima',
11+
/**
12+
* Dozvole.
13+
*/
14+
'permissions.settings.label' => 'Postavke',
15+
'permissions.settings.description' => 'Omogućuje pristup području postavki unutar sustava',
16+
'permissions.settings:core.label' => 'Osnovne postavke',
17+
'permissions.settings:core.description' => 'Pristup osnovnim postavkama trgovine poput kanala, jezika, valuta itd.',
18+
'permissions.settings:manage-staff.label' => 'Upravljanje osobljem',
19+
'permissions.settings:manage-staff.description' => 'Omogućuje osoblju uređivanje drugog osoblja',
20+
'permissions.settings:manage-attributes.label' => 'Upravljanje atributima',
21+
'permissions.settings:manage-attributes.description' => 'Omogućuje osoblju uređivanje atributa i stvaranje novih',
22+
'permissions.catalog:manage-products.label' => 'Upravljanje proizvodima',
23+
'permissions.catalog:manage-products.description' => 'Omogućuje osoblju uređivanje proizvoda, tipova proizvoda i brendova',
24+
'permissions.catalog:manage-collections.label' => 'Upravljanje kolekcijama',
25+
'permissions.catalog:manage-collections.description' => 'Omogućuje osoblju uređivanje kolekcija i njihovih grupa',
26+
'permissions.sales:manage-orders.label' => 'Upravljanje narudžbama',
27+
'permissions.sales:manage-orders.description' => 'Omogućuje osoblju upravljanje narudžbama',
28+
'permissions.sales:manage-customers.label' => 'Upravljanje kupcima',
29+
'permissions.sales:manage-customers.description' => 'Omogućuje osoblju upravljanje kupcima',
30+
'permissions.sales:manage-discounts.label' => 'Upravljanje popustima',
31+
'permissions.sales:manage-discounts.description' => 'Omogućuje osoblju upravljanje popustima',
32+
];

0 commit comments

Comments
 (0)