+
+
+
+ = \Html::select([
+ 'label' => 'Województwo',
+ 'name' => 'province_id',
+ 'id' => 'province_id',
+ 'values' => $province_values,
+ 'value' => (int)($item['province_id'] ?? 0),
+ ]);?>
+
+ = \Html::select([
+ 'label' => 'Typ salonu',
+ 'name' => 'salon_type',
+ 'id' => 'salon_type',
+ 'values' => $salon_type_values,
+ 'value' => ($item['salon_type'] ?? 'sales'),
+ ]);?>
+
+ = \Html::input([
+ 'label' => 'Nazwa salonu',
+ 'name' => 'salon_name',
+ 'id' => 'salon_name',
+ 'value' => ($item['salon_name'] ?? ''),
+ 'inline' => true
+ ]);?>
+
+ = \Html::input([
+ 'label' => 'Miasto',
+ 'name' => 'city',
+ 'id' => 'city',
+ 'value' => ($item['city'] ?? ''),
+ 'inline' => true
+ ]);?>
+
+ = \Html::textarea([
+ 'label' => 'Adres',
+ 'name' => 'address',
+ 'id' => 'address',
+ 'value' => ($item['address'] ?? ''),
+ 'inline' => true
+ ]);?>
+
+ = \Html::input([
+ 'label' => 'Koordynaty (lat, lng)',
+ 'name' => 'coords',
+ 'id' => 'coords',
+ 'value' => ($item['coords'] ?? ''),
+ 'inline' => true,
+ 'desc' => 'Np. 50.07576365941408, 21.973886126521034'
+ ]);?>
+
+ = \Html::textarea([
+ 'label' => 'Godziny otwarcia',
+ 'name' => 'opening_hours',
+ 'id' => 'opening_hours',
+ 'value' => ($item['opening_hours'] ?? ''),
+ 'inline' => true,
+ 'desc' => 'Np. Pn-Pt: 8-17 | Sob: 9-13 | Nd: nieczynne'
+ ]);?>
+
+ = \Html::input_icon([
+ 'label' => 'Baner (obrazek salonu)',
+ 'name' => 'banner_image',
+ 'id' => 'banner_image',
+ 'value' => ($item['banner_image'] ?? ''),
+ 'icon_content' => 'przeglądaj',
+ 'inline' => true,
+ 'icon_js' => "window.open('/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=banner_image&akey=c3cb2537d25c0efc9e573d059d79c3b8','mywindow','location=1,status=1,scrollbars=1,width=1100,height=700');"
+ ]);?>
+
+
+
+
+
+
+ = \Html::textarea([
+ 'label' => 'Telefony (1 numer = 1 linia)',
+ 'name' => 'phones',
+ 'id' => 'phones',
+ 'value' => $phones_txt,
+ 'inline' => true
+ ]);?>
+
+ = \Html::textarea([
+ 'label' => 'E-maile (1 email = 1 linia)',
+ 'name' => 'emails',
+ 'id' => 'emails',
+ 'value' => $emails_txt,
+ 'inline' => true
+ ]);?>
+
+ = \Html::input([
+ 'label' => 'Tekst przycisku',
+ 'name' => 'button_label',
+ 'id' => 'button_label',
+ 'value' => ($item['button_label'] ?? 'SKONTAKTUJ SIĘ Z NAMI'),
+ 'inline' => true
+ ]);?>
+
+ = \Html::input([
+ 'label' => 'Link przycisku (URL)',
+ 'name' => 'button_url',
+ 'id' => 'button_url',
+ 'value' => ($item['button_url'] ?? ''),
+ 'inline' => true,
+ 'desc' => 'Np. https://twojadomena.pl/kontakt'
+ ]);?>
+
+
+
+
+
Dostępne produkty
+
+
+
+
+
+
+
+
+
+
Brak produktów w pp_contacts_maps_products.
+
+
+
+
+
+ = \Html::input_switch([
+ 'label' => 'Aktywny',
+ 'name' => 'is_active',
+ 'checked' => (!isset($item['is_active']) || (int)$item['is_active'] === 1) ? true : false
+ ]);?>
+
+ = \Html::input([
+ 'label' => 'Sortowanie',
+ 'name' => 'sort',
+ 'id' => 'sort',
+ 'value' => (int)($item['sort'] ?? 0),
+ ]);?>
+
+
+
+