apilo_carrier_account_list as $carrier_account ) { $carrier_accounts[ $carrier_account['id'] ] = $carrier_account['name']; } // sellasist_shipments_methods $sellasist_shipments_methods[''] = '--- wybierz metodę wysyłki ---'; foreach ( $this -> sellasist_shipments_methods as $sellasist_shipments_method ) { $sellasist_shipments_methods[ $sellasist_shipments_method['id'] ] = $sellasist_shipments_method['title']; } ob_start(); ?>
'Nazwa', 'class' => 'require', 'name' => 'name', 'id' => 'name', 'readonly' => true, 'value' => $this -> transport_details['name'] ) );?> 'Nazwa widoczna', 'name' => 'name_visible', 'id' => 'name_visible', 'value' => $this -> transport_details['name_visible'] ) );?> 'Opis', 'name' => 'description', 'id' => 'description', 'value' => $this -> transport_details['description'] ) );?> 'Koszt (PLN)', 'class' => 'number-format require', 'name' => 'cost', 'id' => 'cost', 'value' => $this -> transport_details['cost'] ) );?> 'Maks. WP', 'class' => 'number-format require', 'name' => 'max_wp', 'id' => 'max_wp', 'value' => $this -> transport_details['max_wp'] ) );?> 'Domyślna forma dostawy', 'name' => 'default', 'checked' => $this -> transport_details['default'] == 1 ? true : false ] );?> 'Aktywny', 'name' => 'status', 'checked' => $this -> transport_details['status'] == 1 ? true : false ) );?> 'Darmowa dostawa', 'name' => 'delivery_free', 'checked' => $this -> transport_details['delivery_free'] == 1 ? true : false ] );?> 'Kurier z Apilo', 'name' => 'apilo_carrier_account_id', 'id' => 'apilo_carrier_account_id', 'values' => $carrier_accounts, 'value' => $this -> transport_details['apilo_carrier_account_id'] ] );?> 'Metoda wysyłki z Sellasist', 'name' => 'sellasist_shipment_method_id', 'id' => 'sellasist_shipment_method_id', 'values' => $sellasist_shipments_methods, 'value' => $this -> transport_details['sellasist_shipment_method_id'] ] );?>
payments_list ) ): foreach ( $this -> payments_list as $payment_method ):?>
transport_details['payment_methods'] ) ):?>checked="checked" />
id = 'transport-edit'; $grid -> gdb_opt = $gdb; $grid -> include_plugins = true; $grid -> title = 'Edycja rodzaju transportu'; $grid -> fields = [ [ 'db' => 'id', 'type' => 'hidden', 'value' => $this -> transport_details['id'] ] ]; $grid -> actions = [ 'save' => [ 'url' => '/admin/shop_transport/transport_save/', 'back_url' => '/admin/shop_transport/view_list/' ], 'cancel' => [ 'url' => '/admin/shop_transport/view_list/' ] ]; $grid -> external_code = $out; $grid -> persist_edit = true; $grid -> id_param = 'id'; echo $grid -> draw(); ?>