Files
grzanieplus.pl/plugins/stShopInfoPlugin/modules/stShopInfoBackend/config/generator.yml
2025-03-12 17:06:23 +01:00

35 lines
2.0 KiB
YAML

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"}