= \Html::input(
array(
'label' => 'Nazwa',
'class' => 'require',
'name' => 'name',
'id' => 'name',
'readonly' => true,
'value' => $this -> transport_details['name']
)
);?>
= \Html::input(
array(
'label' => 'Nazwa widoczna',
'name' => 'name_visible',
'id' => 'name_visible',
'value' => $this -> transport_details['name_visible']
)
);?>
= \Html::input(
array(
'label' => 'Opis',
'name' => 'description',
'id' => 'description',
'value' => $this -> transport_details['description']
)
);?>
= \Html::input(
array(
'label' => 'Koszt (PLN)',
'class' => 'number-format require',
'name' => 'cost',
'id' => 'cost',
'value' => $this -> transport_details['cost']
)
);?>
= \Html::input(
array(
'label' => 'Maks. WP',
'class' => 'number-format require',
'name' => 'max_wp',
'id' => 'max_wp',
'value' => $this -> transport_details['max_wp']
)
);?>
= \Html::input_switch( [
'label' => 'Domyślna forma dostawy',
'name' => 'default',
'checked' => $this -> transport_details['default'] == 1 ? true : false
] );?>
= \Html::input_switch(
array(
'label' => 'Aktywny',
'name' => 'status',
'checked' => $this -> transport_details['status'] == 1 ? true : false
)
);?>
= \Html::input_switch( [
'label' => 'Darmowa dostawa',
'name' => 'delivery_free',
'checked' => $this -> transport_details['delivery_free'] == 1 ? true : false
] );?>
= \Html::select( [
'label' => 'Kurier z Apilo',
'name' => 'apilo_carrier_account_id',
'id' => 'apilo_carrier_account_id',
'values' => $carrier_accounts,
'value' => $this -> transport_details['apilo_carrier_account_id']
] );?>
= \Html::select( [
'label' => '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']
] );?>
if ( is_array( $this -> payments_list ) ): foreach ( $this -> payments_list as $payment_method ):?>
endforeach; endif;?>