first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
generator:
|
||||
class: stAdminGenerator
|
||||
param:
|
||||
model_class: false
|
||||
theme: simple
|
||||
label: Informacje o sklepie
|
||||
route: @stShopInfoPlugin
|
||||
icon: stShopInfoPlugin
|
||||
documentation:
|
||||
pl: https://www.sote.pl/docs/informacje-o-sklepie
|
||||
en: https://www.soteshop.com/docs/shop_info
|
||||
|
||||
config:
|
||||
use_stylesheet: [backend/stShopInfoPlugin.css]
|
||||
title: Konfiguracja
|
||||
menu:
|
||||
display: [config, register]
|
||||
fields:
|
||||
config: {name: Konfiguracja, action: "@stShopInfoPlugin?action=config"}
|
||||
register: {name: Informacje o licencji, action: "@stShopInfoPlugin?action=register"}
|
||||
display:
|
||||
"NONE": [company, _address, _code_town, _country, phone, show_phone, fax, bank, email, nip]
|
||||
fields:
|
||||
company: {name: "Nazwa sprzedawcy / Firma", required: true}
|
||||
address: {name: "Adres", required: true}
|
||||
code_town: {name: "Kod pocztowy, miasto", required: true}
|
||||
phone: {name: "Telefon"}
|
||||
country: {name: "Kraj", help: "Kraj, w którym siedzibę ma Twoja firma", required: true}
|
||||
show_phone: {name: "Pokaż telefon", help: "Telefon jest widoczny wyłącznie dla urządzeń mobilnych", type: checkbox_tag}
|
||||
fax: {name: "Fax"}
|
||||
bank: {name: "Rachunek bankowy"}
|
||||
email: {name: "Kontaktowy adres e-mail", required: true}
|
||||
nip: {name: "NIP"}
|
||||
actions:
|
||||
_save: {name: "Zapisz"}
|
||||
Reference in New Issue
Block a user