' . esc($error) . ''; } if (!empty($warning)) { echo '
' . esc($warning) . '
'; } if (isset($success)) { echo '
' .esc($success) . '
'; } ?>
'mode_form', 'class' => 'form-horizontal panel panel-default']) ?>
'add_item_form', 'class' => 'form-horizontal panel panel-default']) ?>
$item) { ?> 'form-horizontal', 'id' => "cart_$line"]) ?>
') ?>
'price', 'class' => 'form-control input-sm', 'value' => to_currency_no_money($item['price']), 'onClick' => 'this.select();' ]) ?> 'quantity', 'class' => 'form-control input-sm', 'value' => to_quantity_decimals($item['quantity']), 'onClick' => 'this.select();']) ?> 'form-control input-sm'] ) ?>
'discount', 'class' => 'form-control input-sm', 'value' => $item['discount_type'] ? to_currency_no_money($item['discount']) : to_decimals($item['discount']), 'onClick' => 'this.select();']) ?> 'discount_toggle', 'name' => 'discount_toggle', 'value' => 1, 'data-toggle' => "toggle", 'data-size' => 'small', 'data-onstyle' => 'success', 'data-on' => '' . $config['currency_symbol'] . '', 'data-off' => '%', 'data-line' => $line, 'checked' => $item['discount_type'] == 1 ]) ?>
').submit();" title=>
'description', 'class' => 'form-control input-sm', 'value' => $item['description'] ]); } else { if ($item['description'] != '') { // TODO: !==? echo $item['description']; echo form_hidden('description', $item['description']); } else { echo '' . lang('Sales.no_description') . ''; echo form_hidden('description', ''); } } ?>
 ' . lang('Common.remove') . ' ' . lang('Suppliers.supplier'), [ 'class' => 'btn btn-danger btn-sm', 'id' => 'remove_supplier_button', 'title' => lang('Common.remove') . ' ' . lang('Suppliers.supplier') ] ) ?> 'select_supplier_form', 'class' => 'form-horizontal']) ?>
'supplier', 'id' => 'supplier', 'class' => 'form-control input-sm', 'value' => lang(ucfirst($controller_name) . '.start_typing_supplier_name') ]) ?>
0) { ?>
'finish_receiving_form', 'class' => 'form-horizontal']) ?>
'comment', 'id' => 'comment', 'class' => 'form-control input-sm', 'value' => $comment, 'rows' => '4' ]) ?>
 
 
'finish_receiving_form', 'class' => 'form-horizontal']) ?>
'comment', 'id' => 'comment', 'class' => 'form-control input-sm', 'value' => $comment, 'rows' => '4' ]) ?>
'recv_print_after_sale', 'id' => 'recv_print_after_sale', 'class' => 'checkbox', 'value' => 1, 'checked' => $print_after_sale == 1 ]) ?>
'recv_reference', 'id' => 'recv_reference', 'class' => 'form-control input-sm', 'value' => $reference, 'size' => 5 ]) ?>
'payment_types', 'class' => 'selectpicker show-menu-arrow', 'data-style' => 'btn-default btn-sm', 'data-width' => 'auto' ] ) ?>
'amount_tendered', 'value' => '', 'class' => 'form-control input-sm', 'size' => '5' ]) ?>