mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-06 00:17:54 -05:00
jsPrintSetup plugin integration
All receipt print configuration options present now
This commit is contained in:
@@ -37,7 +37,6 @@ class Config extends Secure_area
|
||||
'return_policy'=>$this->input->post('return_policy'),
|
||||
'language'=>$this->input->post('language'),
|
||||
'timezone'=>$this->input->post('timezone'),
|
||||
'print_after_sale'=>$this->input->post('print_after_sale'),
|
||||
'tax_included'=>$this->input->post('tax_included'),
|
||||
'recv_invoice_format'=>$this->input->post('recv_invoice_format'),
|
||||
'sales_invoice_format'=>$this->input->post('sales_invoice_format'),
|
||||
@@ -139,6 +138,25 @@ class Config extends Secure_area
|
||||
|
||||
}
|
||||
|
||||
function save_receipt()
|
||||
{
|
||||
$batch_save_data=array(
|
||||
'print_after_sale'=>$this->input->post('print_after_sale'),
|
||||
'receipt_printer'=>$this->input->post('receipt_printer'),
|
||||
'receipt_show_taxes'=>$this->input->post('receipt_show_taxes'),
|
||||
'print_silently'=>$this->input->post('print_silently'),
|
||||
'print_header'=>$this->input->post('print_header'),
|
||||
'print_footer'=>$this->input->post('print_footer'),
|
||||
'print_top_margin'=>$this->input->post('print_top_margin'),
|
||||
'print_left_margin'=>$this->input->post('print_left_margin'),
|
||||
'print_bottom_margin'=>$this->input->post('print_bottom_margin'),
|
||||
'print_right_margin'=>$this->input->post('print_right_margin')
|
||||
);
|
||||
$result = $this->Appconfig->batch_save( $batch_save_data );
|
||||
$success = $result ? true : false;
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function _handle_logo_upload()
|
||||
{
|
||||
$this->load->helper('directory');
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = "Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Sale unsuccessfully updated";
|
||||
$lang["sales_unsuspend"] = "Unsuspend";
|
||||
$lang["sales_unsuspend_and_delete"] = "";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = " Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Top Margin";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Ha fallado la actualización de la vent
|
||||
$lang["sales_unsuspend"] = "Retomar";
|
||||
$lang["sales_unsuspend_and_delete"] = "Retomar y Borrar";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = " Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Échec d\'édition";
|
||||
$lang["sales_unsuspend"] = "Débloquer";
|
||||
$lang["sales_unsuspend_and_delete"] = "";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = "Titik Desimal";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Penjualan tidak berhasil diperbarui";
|
||||
$lang["sales_unsuspend"] = "Batal Penangguhan";
|
||||
$lang["sales_unsuspend_and_delete"] = "Batalkan dan hapus penangguhan";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = "Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "De bedrijfsnaam moet ingevuld worden";
|
||||
$lang["config_company_logo"] = "Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Toon VAT";
|
||||
$lang["config_receipt_info"] = "Ticket Instellingen";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuratie";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Marge Boven";
|
||||
$lang["config_print_top_margin"] = "Marge Boven";
|
||||
$lang["config_print_left_margin"] = "Marge Links";
|
||||
$lang["config_print_bottom_margin"] = "Marge Beneden";
|
||||
$lang["config_print_right_margin"] = "Marge Rechts";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Opgelet! Deze functionaliteit werkt enkel met de jsPrintSetup addon in Firefox.";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Fout bij het bewaren van ticket";
|
||||
$lang["sales_unsuspend"] = "Hervat";
|
||||
$lang["sales_unsuspend_and_delete"] = "";
|
||||
$lang["sales_giftcard_balance"] = "Waardebon Resterend";
|
||||
$lang["sales_discount_included"] = "% korting inbegrepen";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = " Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Продажа безуспешно о
|
||||
$lang["sales_unsuspend"] = "Разблокировать";
|
||||
$lang["sales_unsuspend_and_delete"] = "Разблокировать и удалить";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = "Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "อัพเดทการขายไ
|
||||
$lang["sales_unsuspend"] = "ยกเลิกการระงับ";
|
||||
$lang["sales_unsuspend_and_delete"] = "ยกเลิกการระงับ และ ลบ";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = " Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "Satış düzenlenemedi";
|
||||
$lang["sales_unsuspend"] = "Satışa Al";
|
||||
$lang["sales_unsuspend_and_delete"] = "";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -91,3 +91,23 @@ $lang["config_decimal_point"] = "Decimal Point";
|
||||
$lang["config_backup_button"] = "Backup";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_company_logo"] = "Company Logo";
|
||||
$lang["config_receipt_printer"] = "Ticket Printer";
|
||||
$lang["config_receipt_show_taxes"] = "Show Taxes";
|
||||
$lang["config_receipt_info"] = "Receipt Configuration Information";
|
||||
$lang["config_receipt_configuration"] = "Ticket Configuration";
|
||||
$lang["config_print_footer"] = "Print Browser Footer";
|
||||
$lang["config_print_header"] = "Print Browser Header";
|
||||
$lang["config_print_silently"] = "Show Print Dialog";
|
||||
$lang["config_print_top_margin"] = "Margin Top";
|
||||
$lang["config_print_left_margin"] = "Margin Left";
|
||||
$lang["config_print_bottom_margin"] = "Margin Bottom";
|
||||
$lang["config_print_right_margin"] = "Margin Right";
|
||||
$lang["config_print_top_margin_required"] = "The default top margin is a required field";
|
||||
$lang["config_print_top_margin_number"] = "The default top margin must be a number";
|
||||
$lang["config_print_left_margin_required"] = "The default left margin is a required field";
|
||||
$lang["config_print_left_margin_number"] = "The default left margin must be a number";
|
||||
$lang["config_print_bottom_margin_required"] = "The default bottom margin is a required field";
|
||||
$lang["config_print_bottom_margin_number"] = "The default bottom margin must be a number";
|
||||
$lang["config_print_right_margin_required"] = "The default right margin is a required field";
|
||||
$lang["config_print_right_margin_number"] = "The default right margin must be a number";
|
||||
$lang["config_jsprintsetup_required"] = "Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
|
||||
|
||||
@@ -90,3 +90,4 @@ $lang["sales_unsuccessfully_updated"] = "銷售資料更新失敗";
|
||||
$lang["sales_unsuspend"] = "取消暫停銷售";
|
||||
$lang["sales_unsuspend_and_delete"] = "取消暫停銷售並刪除";
|
||||
$lang["sales_giftcard_balance"] = "Giftcard Balance";
|
||||
$lang["sales_discount_included"] = "% discount included";
|
||||
|
||||
@@ -272,6 +272,7 @@ class Sale_lib
|
||||
$insertkey=$maxkey+1;
|
||||
$item_info=$this->CI->Item->get_info($item_id,$item_location);
|
||||
//array/cart records are identified by $insertkey and item_id is just another field.
|
||||
$price = $price!=null ? $price: $item_info->unit_price;
|
||||
$item = array(($insertkey)=>
|
||||
array(
|
||||
'item_id'=>$item_id,
|
||||
@@ -287,7 +288,10 @@ class Sale_lib
|
||||
'quantity'=>$quantity,
|
||||
'discount'=>$discount,
|
||||
'in_stock'=>$this->CI->Item_quantities->get_item_quantity($item_id, $item_location)->quantity,
|
||||
'price'=>$price!=null ? $price: $item_info->unit_price
|
||||
'price'=>$price,
|
||||
'total'=>$this->CI->config->config['tax_included'] ?
|
||||
$this->get_item_total_tax_exclusive($item_id, $quantity, $price, $discount) :
|
||||
$this->get_item_total($quantity, $price, $discount)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -308,17 +308,6 @@ echo form_open('config/save/',array('id'=>'config_form','enctype'=>'multipart/fo
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_print_after_sale').':', 'print_after_sale',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_checkbox(array(
|
||||
'name'=>'print_after_sale',
|
||||
'id'=>'print_after_sale',
|
||||
'value'=>'print_after_sale',
|
||||
'checked'=>$this->config->item('print_after_sale')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_receiving_calculate_average_price').':', 'receiving_calculate_average_price',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<li><a href="#general_config">General</a></li>
|
||||
<li><a href="#barcode_config">Barcode</a></li>
|
||||
<li><a href="#location_config">Locations</a></li>
|
||||
<li><a href="#receipt_config">Receipt</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tabcontents">
|
||||
@@ -21,6 +22,9 @@
|
||||
<div id="location_config">
|
||||
<?php $this->load->view("configs/location_config"); ?>
|
||||
</div>
|
||||
<div id="receipt_config">
|
||||
<?php $this->load->view("configs/receipt_config"); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="feedback_bar"></div>
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
@@ -9,304 +9,13 @@ echo form_open('config/save_receipt/',array('id'=>'receipt_config_form'));
|
||||
<legend><?php echo $this->lang->line("config_receipt_info"); ?></legend>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_receipt_show_taxes').':', 'config_receipt_show_taxes',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'receipt_show_taxes',
|
||||
'id'=>'receipt_show_taxes',
|
||||
'value'=>$this->config->item('receipt_show_taxes')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_receipt_printer').':', 'config_receipt_printer',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'config_receipt_printer',
|
||||
'id'=>'config_receipt_printer',
|
||||
'value'=>$this->config->item('config_receipt_printer')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_address').':', 'address',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_textarea(array(
|
||||
'name'=>'address',
|
||||
'id'=>'address',
|
||||
'rows'=>4,
|
||||
'cols'=>17,
|
||||
'value'=>$this->config->item('address')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_phone').':', 'phone',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'phone',
|
||||
'id'=>'phone',
|
||||
'value'=>$this->config->item('phone')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_default_tax_rate_1').':', 'default_tax_1_rate',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'default_tax_1_name',
|
||||
'id'=>'default_tax_1_name',
|
||||
'size'=>'10',
|
||||
'value'=>$this->config->item('default_tax_1_name')!==FALSE ? $this->config->item('default_tax_1_name') : $this->lang->line('items_sales_tax_1')));?>
|
||||
|
||||
<?php echo form_input(array(
|
||||
'name'=>'default_tax_1_rate',
|
||||
'id'=>'default_tax_1_rate',
|
||||
'size'=>'4',
|
||||
'value'=>$this->config->item('default_tax_1_rate')));?>%
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_default_tax_rate_2').':', 'default_tax_1_rate',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'default_tax_2_name',
|
||||
'id'=>'default_tax_2_name',
|
||||
'size'=>'10',
|
||||
'value'=>$this->config->item('default_tax_2_name')!==FALSE ? $this->config->item('default_tax_2_name') : $this->lang->line('items_sales_tax_2')));?>
|
||||
|
||||
<?php echo form_input(array(
|
||||
'name'=>'default_tax_2_rate',
|
||||
'id'=>'default_tax_2_rate',
|
||||
'size'=>'4',
|
||||
'value'=>$this->config->item('default_tax_2_rate')));?>%
|
||||
</div>
|
||||
</div>
|
||||
<!-- GARRISON MODIFIED 4/13/2013 -->
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_currency_symbol').':', 'currency_symbol',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'currency_symbol',
|
||||
'id'=>'currency_symbol',
|
||||
'value'=>$this->config->item('currency_symbol')));?>
|
||||
</div>
|
||||
|
||||
<?php echo form_label($this->lang->line('config_currency_side').':', 'currency_side',array('class'=>''));?>
|
||||
<?php echo form_label($this->lang->line('config_receipt_show_taxes').':', 'config_receipt_show_taxes',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php
|
||||
echo form_checkbox(array(
|
||||
'name'=>'currency_side',
|
||||
'id'=>'currency_side',
|
||||
'value'=>'currency_side',
|
||||
'checked'=>$this->config->item('currency_side')));?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END MODIFIED -->
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_number_format').':', 'number_format',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo $this->lang->line('config_thousands_separator'); ?>
|
||||
<?php echo form_dropdown('thousands_separator', array(
|
||||
',' => ', (komma)',
|
||||
'.' => '. (dot)',
|
||||
'' => '(none)'
|
||||
),
|
||||
$this->config->item('thousands_separator'));
|
||||
?>
|
||||
<?php echo $this->lang->line('config_decimal_point'); ?>
|
||||
<?php echo form_dropdown('decimal_point', array(
|
||||
'.' => '. (dot)',
|
||||
',' => ', (komma)'
|
||||
),
|
||||
$this->config->item('decimal_point'));
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_sales_invoice_format').':', 'sales_invoice_format',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'sales_invoice_format',
|
||||
'id'=>'sales_invoice_format',
|
||||
'value'=>$this->config->item('sales_invoice_format'))); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_recv_invoice_format').':', 'recv_invoice_format',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'recv_invoice_format',
|
||||
'id'=>'recv_invoice_format',
|
||||
'value'=>$this->config->item('recv_invoice_format'))); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('common_email').':', 'email',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'email',
|
||||
'id'=>'email',
|
||||
'value'=>$this->config->item('email')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_fax').':', 'fax',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'fax',
|
||||
'id'=>'fax',
|
||||
'value'=>$this->config->item('fax')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_website').':', 'website',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'website',
|
||||
'id'=>'website',
|
||||
'value'=>$this->config->item('website')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('common_return_policy').':', 'return_policy',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_textarea(array(
|
||||
'name'=>'return_policy',
|
||||
'id'=>'return_policy',
|
||||
'rows'=>'4',
|
||||
'cols'=>'17',
|
||||
'value'=>$this->config->item('return_policy')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_language').':', 'language',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_dropdown('language', array(
|
||||
'en' => 'English',
|
||||
'es' => 'Spanish',
|
||||
'ru' => 'Russian',
|
||||
'nl-BE' => 'Dutch',
|
||||
'zh' => 'Chinese',
|
||||
'id' => 'Indonesian',
|
||||
'fr' => 'French',
|
||||
'th' => 'Thai',
|
||||
'tr' => 'Turkish'
|
||||
),
|
||||
$this->config->item('language'));
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_timezone').':', 'timezone',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_dropdown('timezone',
|
||||
array(
|
||||
'Pacific/Midway'=>'(GMT-11:00) Midway Island, Samoa',
|
||||
'America/Adak'=>'(GMT-10:00) Hawaii-Aleutian',
|
||||
'Etc/GMT+10'=>'(GMT-10:00) Hawaii',
|
||||
'Pacific/Marquesas'=>'(GMT-09:30) Marquesas Islands',
|
||||
'Pacific/Gambier'=>'(GMT-09:00) Gambier Islands',
|
||||
'America/Anchorage'=>'(GMT-09:00) Alaska',
|
||||
'America/Ensenada'=>'(GMT-08:00) Tijuana, Baja California',
|
||||
'Etc/GMT+8'=>'(GMT-08:00) Pitcairn Islands',
|
||||
'America/Los_Angeles'=>'(GMT-08:00) Pacific Time (US & Canada)',
|
||||
'America/Denver'=>'(GMT-07:00) Mountain Time (US & Canada)',
|
||||
'America/Chihuahua'=>'(GMT-07:00) Chihuahua, La Paz, Mazatlan',
|
||||
'America/Dawson_Creek'=>'(GMT-07:00) Arizona',
|
||||
'America/Belize'=>'(GMT-06:00) Saskatchewan, Central America',
|
||||
'America/Cancun'=>'(GMT-06:00) Guadalajara, Mexico City, Monterrey',
|
||||
'Chile/EasterIsland'=>'(GMT-06:00) Easter Island',
|
||||
'America/Chicago'=>'(GMT-06:00) Central Time (US & Canada)',
|
||||
'America/New_York'=>'(GMT-05:00) Eastern Time (US & Canada)',
|
||||
'America/Havana'=>'(GMT-05:00) Cuba',
|
||||
'America/Bogota'=>'(GMT-05:00) Bogota, Lima, Quito, Rio Branco',
|
||||
'America/Caracas'=>'(GMT-04:30) Caracas',
|
||||
'America/Santiago'=>'(GMT-04:00) Santiago',
|
||||
'America/La_Paz'=>'(GMT-04:00) La Paz',
|
||||
'Atlantic/Stanley'=>'(GMT-04:00) Faukland Islands',
|
||||
'America/Campo_Grande'=>'(GMT-04:00) Brazil',
|
||||
'America/Goose_Bay'=>'(GMT-04:00) Atlantic Time (Goose Bay)',
|
||||
'America/Glace_Bay'=>'(GMT-04:00) Atlantic Time (Canada)',
|
||||
'America/St_Johns'=>'(GMT-03:30) Newfoundland',
|
||||
'America/Araguaina'=>'(GMT-03:00) UTC-3',
|
||||
'America/Montevideo'=>'(GMT-03:00) Montevideo',
|
||||
'America/Miquelon'=>'(GMT-03:00) Miquelon, St. Pierre',
|
||||
'America/Godthab'=>'(GMT-03:00) Greenland',
|
||||
'America/Argentina/Buenos_Aires'=>'(GMT-03:00) Buenos Aires',
|
||||
'America/Sao_Paulo'=>'(GMT-03:00) Brasilia',
|
||||
'America/Noronha'=>'(GMT-02:00) Mid-Atlantic',
|
||||
'Atlantic/Cape_Verde'=>'(GMT-01:00) Cape Verde Is.',
|
||||
'Atlantic/Azores'=>'(GMT-01:00) Azores',
|
||||
'Europe/Belfast'=>'(GMT) Greenwich Mean Time : Belfast',
|
||||
'Europe/Dublin'=>'(GMT) Greenwich Mean Time : Dublin',
|
||||
'Europe/Lisbon'=>'(GMT) Greenwich Mean Time : Lisbon',
|
||||
'Europe/London'=>'(GMT) Greenwich Mean Time : London',
|
||||
'Africa/Abidjan'=>'(GMT) Monrovia, Reykjavik',
|
||||
'Europe/Amsterdam'=>'(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna',
|
||||
'Europe/Belgrade'=>'(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague',
|
||||
'Europe/Brussels'=>'(GMT+01:00) Brussels, Copenhagen, Madrid, Paris',
|
||||
'Africa/Algiers'=>'(GMT+01:00) West Central Africa',
|
||||
'Africa/Windhoek'=>'(GMT+01:00) Windhoek',
|
||||
'Asia/Beirut'=>'(GMT+02:00) Beirut',
|
||||
'Africa/Cairo'=>'(GMT+02:00) Cairo',
|
||||
'Asia/Gaza'=>'(GMT+02:00) Gaza',
|
||||
'Africa/Blantyre'=>'(GMT+02:00) Harare, Pretoria',
|
||||
'Asia/Jerusalem'=>'(GMT+02:00) Jerusalem',
|
||||
'Europe/Minsk'=>'(GMT+02:00) Minsk',
|
||||
'Asia/Damascus'=>'(GMT+02:00) Syria',
|
||||
'Europe/Moscow'=>'(GMT+03:00) Moscow, St. Petersburg, Volgograd',
|
||||
'Africa/Addis_Ababa'=>'(GMT+03:00) Nairobi',
|
||||
'Asia/Tehran'=>'(GMT+03:30) Tehran',
|
||||
'Asia/Dubai'=>'(GMT+04:00) Abu Dhabi, Muscat',
|
||||
'Asia/Yerevan'=>'(GMT+04:00) Yerevan',
|
||||
'Asia/Kabul'=>'(GMT+04:30) Kabul',
|
||||
'Asia/Baku'=>'(GMT+05:00) Baku',/*GARRISON ADDED 4/20/2013*/
|
||||
'Asia/Yekaterinburg'=>'(GMT+05:00) Ekaterinburg',
|
||||
'Asia/Tashkent'=>'(GMT+05:00) Tashkent',
|
||||
'Asia/Kolkata'=>'(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi',
|
||||
'Asia/Katmandu'=>'(GMT+05:45) Kathmandu',
|
||||
'Asia/Dhaka'=>'(GMT+06:00) Astana, Dhaka',
|
||||
'Asia/Novosibirsk'=>'(GMT+06:00) Novosibirsk',
|
||||
'Asia/Rangoon'=>'(GMT+06:30) Yangon (Rangoon)',
|
||||
'Asia/Bangkok'=>'(GMT+07:00) Bangkok, Hanoi, Jakarta',
|
||||
'Asia/Krasnoyarsk'=>'(GMT+07:00) Krasnoyarsk',
|
||||
'Asia/Hong_Kong'=>'(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi',
|
||||
'Asia/Irkutsk'=>'(GMT+08:00) Irkutsk, Ulaan Bataar',
|
||||
'Australia/Perth'=>'(GMT+08:00) Perth',
|
||||
'Australia/Eucla'=>'(GMT+08:45) Eucla',
|
||||
'Asia/Tokyo'=>'(GMT+09:00) Osaka, Sapporo, Tokyo',
|
||||
'Asia/Seoul'=>'(GMT+09:00) Seoul',
|
||||
'Asia/Yakutsk'=>'(GMT+09:00) Yakutsk',
|
||||
'Australia/Adelaide'=>'(GMT+09:30) Adelaide',
|
||||
'Australia/Darwin'=>'(GMT+09:30) Darwin',
|
||||
'Australia/Brisbane'=>'(GMT+10:00) Brisbane',
|
||||
'Australia/Hobart'=>'(GMT+10:00) Hobart',
|
||||
'Asia/Vladivostok'=>'(GMT+10:00) Vladivostok',
|
||||
'Australia/Lord_Howe'=>'(GMT+10:30) Lord Howe Island',
|
||||
'Etc/GMT-11'=>'(GMT+11:00) Solomon Is., New Caledonia',
|
||||
'Asia/Magadan'=>'(GMT+11:00) Magadan',
|
||||
'Pacific/Norfolk'=>'(GMT+11:30) Norfolk Island',
|
||||
'Asia/Anadyr'=>'(GMT+12:00) Anadyr, Kamchatka',
|
||||
'Pacific/Auckland'=>'(GMT+12:00) Auckland, Wellington',
|
||||
'Etc/GMT-12'=>'(GMT+12:00) Fiji, Kamchatka, Marshall Is.',
|
||||
'Pacific/Chatham'=>'(GMT+12:45) Chatham Islands',
|
||||
'Pacific/Tongatapu'=>'(GMT+13:00) Nuku\'alofa',
|
||||
'Pacific/Kiritimati'=>'(GMT+14:00) Kiritimati'
|
||||
), $this->config->item('timezone') ? $this->config->item('timezone') : date_default_timezone_get());
|
||||
?>
|
||||
'name'=>'receipt_show_taxes',
|
||||
'id'=>'receipt_show_taxes',
|
||||
'checked'=>$this->config->item('receipt_show_taxes')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -322,132 +31,102 @@ echo form_open('config/save_receipt/',array('id'=>'receipt_config_form'));
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_receiving_calculate_average_price').':', 'receiving_calculate_average_price',array('class'=>'wide')); ?>
|
||||
<?php echo form_label($this->lang->line('config_print_silently').':', 'print_silently',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_checkbox(array(
|
||||
'name'=>'receiving_calculate_average_price',
|
||||
'id'=>'receiving_calculate_average_price',
|
||||
'value'=>'receiving_calculate_average_price',
|
||||
'checked'=>$this->config->item('receiving_calculate_average_price')));?>
|
||||
'name'=>'print_silently',
|
||||
'id'=>'print_silently',
|
||||
'value'=>'print_silently',
|
||||
'checked'=>$this->config->item('print_silently')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_tax_included').':', 'tax_included',array('class'=>'wide')); ?>
|
||||
<?php echo form_label($this->lang->line('config_print_header').':', 'print_header',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_checkbox(array(
|
||||
'name'=>'tax_included',
|
||||
'id'=>'tax_included',
|
||||
'value'=>'tax_included',
|
||||
'checked'=>$this->config->item('tax_included')));?>
|
||||
'name'=>'print_header',
|
||||
'id'=>'print_header',
|
||||
'value'=>'print_header',
|
||||
'checked'=>$this->config->item('print_header')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom1').':', 'config_custom1',array('class'=>'wide')); ?>
|
||||
<?php echo form_label($this->lang->line('config_print_footer').':', 'print_footer',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom1_name',
|
||||
'id'=>'custom1_name',
|
||||
'value'=>$this->config->item('custom1_name')));?>
|
||||
<?php echo form_checkbox(array(
|
||||
'name'=>'print_footer',
|
||||
'id'=>'print_footer',
|
||||
'value'=>'print_footer',
|
||||
'checked'=>$this->config->item('print_footer')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom2').':', 'config_custom2',array('class'=>'wide')); ?>
|
||||
<?php echo form_label($this->lang->line('config_receipt_printer').':', 'config_receipt_printer',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom2_name',
|
||||
'id'=>'custom2_name',
|
||||
'value'=>$this->config->item('custom2_name')));?>
|
||||
<?php echo form_dropdown(
|
||||
'receipt_printer',
|
||||
array(),
|
||||
$this->config->item('receipt_printer'),'class="addon_installed" id="receipt_printer"');?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom3').':', 'config_custom3',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom3_name',
|
||||
'id'=>'custom3_name',
|
||||
'value'=>$this->config->item('custom3_name')));?>
|
||||
</div>
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_print_top_margin').':', 'print_top_margin',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'type'=>'number',
|
||||
'min'=>'0',
|
||||
'max'=>'20',
|
||||
'name'=>'print_top_margin',
|
||||
'id'=>'print_top_margin',
|
||||
'value'=>$this->config->item('print_top_margin')));?>
|
||||
px
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom4').':', 'config_custom4',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom4_name',
|
||||
'id'=>'custom4_name',
|
||||
'value'=>$this->config->item('custom4_name')));?>
|
||||
</div>
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_print_left_margin').':', 'print_left_margin',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'type'=>'number',
|
||||
'min'=>'0',
|
||||
'max'=>'20',
|
||||
'name'=>'print_left_margin',
|
||||
'id'=>'print_left_margin',
|
||||
'value'=>$this->config->item('print_left_margin')));?>
|
||||
px
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom5').':', 'config_custom5',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom5_name',
|
||||
'id'=>'custom5_name',
|
||||
'value'=>$this->config->item('custom5_name')));?>
|
||||
</div>
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_print_bottom_margin').':', 'print_bottom_margin',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'type'=>'number',
|
||||
'min'=>'0',
|
||||
'max'=>'20',
|
||||
'name'=>'print_bottom_margin',
|
||||
'id'=>'print_bottom_margin',
|
||||
'value'=>$this->config->item('print_bottom_margin')));?>
|
||||
px
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom6').':', 'config_custom6',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom6_name',
|
||||
'id'=>'custom6_name',
|
||||
'value'=>$this->config->item('custom6_name')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom7').':', 'config_custom7',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom7_name',
|
||||
'id'=>'custom7_name',
|
||||
'value'=>$this->config->item('custom7_name')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom8').':', 'config_custom8',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom8_name',
|
||||
'id'=>'custom8_name',
|
||||
'value'=>$this->config->item('custom8_name')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom9').':', 'config_custom9',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom9_name',
|
||||
'id'=>'custom9_name',
|
||||
'value'=>$this->config->item('custom9_name')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_custom10').':', 'config_custom10',array('class'=>'wide')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'custom10_name',
|
||||
'id'=>'custom10_name',
|
||||
'value'=>$this->config->item('custom10_name')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_backup_database').':', 'config_backup_database',array('class'=>'wide')); ?>
|
||||
<div id="backup_db" class="form_field small_button" style="background-color:transparent;">
|
||||
<span style="top:22%;"><?php echo $this->lang->line('config_backup_button'); ?></span>
|
||||
</div>
|
||||
<div class="field_row clearfix">
|
||||
<?php echo form_label($this->lang->line('config_print_right_margin').':', 'print_right_margin',array('class'=>'wide required')); ?>
|
||||
<div class='form_field'>
|
||||
<?php echo form_input(array(
|
||||
'type'=>'number',
|
||||
'min'=>'0',
|
||||
'max'=>'20',
|
||||
'name'=>'print_right_margin',
|
||||
'id'=>'print_right_margin',
|
||||
'value'=>$this->config->item('print_right_margin')));?>
|
||||
px
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -470,11 +149,22 @@ echo form_close();
|
||||
//validation and submit handling
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#backup_db").click(function() {
|
||||
window.location='<?php echo site_url('config/backup_db') ?>';
|
||||
var printers = window.jsPrintSetup ? jsPrintSetup.getPrintersList().split(',') : [];
|
||||
$.each(printers, function(key, value)
|
||||
{
|
||||
$('#receipt_printer').append($('<option>', { value : value }).text(value));
|
||||
});
|
||||
|
||||
$('#config_form').validate({
|
||||
$('#receipt_printer option[value="<?php echo $this->config->item('receipt_printer'); ?>"]').attr('selected', 'selected');
|
||||
|
||||
var dialog_confirmed = window.jsPrintSetup;
|
||||
$.validator.addMethod("addon_installed", function(value, element)
|
||||
{
|
||||
dialog_confirmed = dialog_confirmed || confirm('<?php echo $this->lang->line('config_jsprintsetup_required'); ?>');
|
||||
return true;
|
||||
}, '<?php echo $this->lang->line("config_jsprintsetup_required"); ?>');
|
||||
|
||||
$('#receipt_config_form').validate({
|
||||
submitHandler:function(form)
|
||||
{
|
||||
$(form).ajaxSubmit({
|
||||
@@ -493,34 +183,58 @@ $(document).ready(function()
|
||||
});
|
||||
|
||||
},
|
||||
errorLabelContainer: "#error_message_box",
|
||||
errorLabelContainer: "#receipt_error_message_box",
|
||||
wrapper: "li",
|
||||
rules:
|
||||
{
|
||||
company: "required",
|
||||
address: "required",
|
||||
phone: "required",
|
||||
default_tax_rate:
|
||||
print_top_margin:
|
||||
{
|
||||
required:true,
|
||||
number:true
|
||||
},
|
||||
email:"email",
|
||||
return_policy: "required"
|
||||
print_left_margin:
|
||||
{
|
||||
required:true,
|
||||
number:true
|
||||
},
|
||||
print_bottom_margin:
|
||||
{
|
||||
required:true,
|
||||
number:true
|
||||
},
|
||||
print_right_margin:
|
||||
{
|
||||
required:true,
|
||||
number:true
|
||||
},
|
||||
receipt_printer:
|
||||
{
|
||||
addon_installed: true
|
||||
}
|
||||
|
||||
},
|
||||
messages:
|
||||
{
|
||||
company: "<?php echo $this->lang->line('config_company_required'); ?>",
|
||||
address: "<?php echo $this->lang->line('config_address_required'); ?>",
|
||||
phone: "<?php echo $this->lang->line('config_phone_required'); ?>",
|
||||
default_tax_rate:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('config_default_tax_rate_required'); ?>",
|
||||
number:"<?php echo $this->lang->line('config_default_tax_rate_number'); ?>"
|
||||
},
|
||||
email: "<?php echo $this->lang->line('common_email_invalid_format'); ?>",
|
||||
return_policy:"<?php echo $this->lang->line('config_return_policy_required'); ?>"
|
||||
|
||||
print_top_margin:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('config_print_top_margin_required'); ?>",
|
||||
number:"<?php echo $this->lang->line('config_print_top_margin_number'); ?>",
|
||||
},
|
||||
print_left_margin:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('config_print_left_margin_required'); ?>",
|
||||
number:"<?php echo $this->lang->line('config_print_left_margin_number'); ?>",
|
||||
},
|
||||
print_bottom_margin:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('config_print_bottom_margin_required'); ?>",
|
||||
number:"<?php echo $this->lang->line('config_print_bottom_margin_number'); ?>",
|
||||
},
|
||||
print_right_margin:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('config_print_right_margin_required'); ?>",
|
||||
number:"<?php echo $this->lang->line('config_print_right_margin_number'); ?>",
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,4 +1,75 @@
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
|
||||
<?php if ($this->Appconfig->get('print_after_sale'))
|
||||
{
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
$(window).load(function()
|
||||
{
|
||||
// install firefox addon in order to use this plugin
|
||||
if (window.jsPrintSetup)
|
||||
{
|
||||
// set top margins in millimeters
|
||||
jsPrintSetup.setOption('marginTop', <?php echo $this->Appconfig->get('print_top_margin'); ?>);
|
||||
jsPrintSetup.setOption('marginLeft', <?php echo $this->Appconfig->get('print_left_margin'); ?>);
|
||||
jsPrintSetup.setOption('marginBottom', <?php echo $this->Appconfig->get('print_bottom_margin'); ?>);
|
||||
jsPrintSetup.setOption('marginRight', <?php echo $this->Appconfig->get('print_right_margin'); ?>);
|
||||
|
||||
<?php if (!$this->Appconfig->get('print_header'))
|
||||
{
|
||||
?>
|
||||
// set page header
|
||||
jsPrintSetup.setOption('headerStrLeft', '');
|
||||
jsPrintSetup.setOption('headerStrCenter', '');
|
||||
jsPrintSetup.setOption('headerStrRight', '');
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php if (!$this->Appconfig->get('print_footer'))
|
||||
{
|
||||
?>
|
||||
// set empty page footer
|
||||
jsPrintSetup.setOption('footerStrLeft', '');
|
||||
jsPrintSetup.setOption('footerStrCenter', '');
|
||||
jsPrintSetup.setOption('footerStrRight', '');
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
var printers = jsPrintSetup.getPrintersList().split(',');
|
||||
// get right printer here..
|
||||
for(var index in printers) {
|
||||
var default_ticket_printer = '<?=$this->Appconfig->get('receipt_printer')?>';
|
||||
var selected_printer = printers[index];
|
||||
if (selected_printer == default_ticket_printer) {
|
||||
// select epson label printer
|
||||
jsPrintSetup.setPrinter(selected_printer);
|
||||
// clears user preferences always silent print value
|
||||
// to enable using 'printSilent' option
|
||||
jsPrintSetup.clearSilentPrint();
|
||||
<? if (!$this->Appconfig->get('print_silently'))
|
||||
{
|
||||
?>
|
||||
// Suppress print dialog (for this context only)
|
||||
jsPrintSetup.setOption('printSilent', 1);
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
// Do Print
|
||||
// When print is submitted it is executed asynchronous and
|
||||
// script flow continues after print independently of completetion of print process!
|
||||
jsPrintSetup.print();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (isset($error_message))
|
||||
{
|
||||
@@ -61,40 +132,40 @@ if (isset($error_message))
|
||||
|
||||
|
||||
<td><?php echo to_currency($item['price']); ?></td>
|
||||
<td style='text-align:center;'><?php
|
||||
<td><?php
|
||||
echo $item['quantity'] . " " . ($show_stock_locations ? " [" . $item['stock_name'] . "]" : "");
|
||||
?></td>
|
||||
<td><div class="total-value"><?php echo to_currency($item['total']); ?></td>
|
||||
<td><div class="total-value"><?php echo to_currency($item['total']); ?></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><?php echo $item['description']; ?></td>
|
||||
<td colspan="2" ><?php echo $item['serialnumber']; ?></td>
|
||||
<td colspan="3" align="center"><?php echo $item['description']; ?></td>
|
||||
<td ><?php echo $item['serialnumber']; ?></td>
|
||||
</tr>
|
||||
<?php if ($item['discount'] > 0 ) : ?>
|
||||
<tr>
|
||||
<td colspan="2" style="font-weight: bold;"> <?php echo $item['discount'] . " " . $this->lang->line("sales_discount_included")?> </td>
|
||||
<td colspan="3" style="font-weight: bold;"> <?php echo number_format($item['discount'], 0) . " " . $this->lang->line("sales_discount_included")?> </td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<!-- only show if setting enabled in conf!g -->
|
||||
|
||||
<tr>
|
||||
<td colspan="2" style='text-align:right;border-top:2px solid #000000;'><?php echo $this->lang->line('sales_sub_total'); ?></td>
|
||||
<td colspan="2" style='text-align:right;border-top:2px solid #000000;'><?php echo to_currency($subtotal); ?></td>
|
||||
<td colspan="3" style='text-align:right;border-top:2px solid #000000;'><?php echo $this->lang->line('sales_sub_total'); ?></td>
|
||||
<td style='text-align:right;border-top:2px solid #000000;'><?php echo to_currency($subtotal); ?></td>
|
||||
</tr>
|
||||
|
||||
<?php if ($this->Appconfig->get('receipt_show_taxes') == ''): ?>
|
||||
<?php foreach($taxes as $name=>$value) { ?>
|
||||
<tr>
|
||||
<td colspan="2" style='text-align:right;'><?php echo $name; ?>:</td>
|
||||
<td colspan="2" style='text-align:right;'><?php echo to_currency($value); ?></td>
|
||||
<td colspan="3" style='text-align:right;'><?php echo $name; ?>:</td>
|
||||
<td style='text-align:right;'><?php echo to_currency($value); ?></td>
|
||||
</tr>
|
||||
<?php }; ?>
|
||||
<!-- END CONDITION -->
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td colspan="2" style='text-align:right;'><?php echo $this->lang->line('sales_total'); ?></td>
|
||||
<td colspan="2" style='text-align:right'><?php echo to_currency($total); ?></td>
|
||||
<td colspan="3" style='text-align:right;'><?php echo $this->lang->line('sales_total'); ?></td>
|
||||
<td style='text-align:right'><?php echo to_currency($total); ?></td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
@@ -108,8 +179,8 @@ if (isset($error_message))
|
||||
$show_gifcard_remainder &= $payment[ 'payment_type' ] == $this->lang->line('sales_giftcard');
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:right;"><?php $splitpayment=explode(':',$payment['payment_type']); echo $splitpayment[0]; ?> </td>
|
||||
<td colspan="2" style="text-align:right"><div class="total-value"><?php echo to_currency( $payment['payment_amount'] * -1 ); ?></div></td>
|
||||
<td colspan="3" style="text-align:right;"><?php $splitpayment=explode(':',$payment['payment_type']); echo $splitpayment[0]; ?> </td>
|
||||
<td style="text-align:right"><div class="total-value"><?php echo to_currency( $payment['payment_amount'] * -1 ); ?></div></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@@ -122,15 +193,15 @@ if (isset($error_message))
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2" style='text-align:right;'><?php echo $this->lang->line('sales_giftcard_balance'); ?></td>
|
||||
<td colspan="2" style='text-align:right'><?php echo to_currency($cur_giftcard_value); ?></td>
|
||||
<td colspan="3" style='text-align:right;'><?php echo $this->lang->line('sales_giftcard_balance'); ?></td>
|
||||
<td style='text-align:right'><?php echo to_currency($cur_giftcard_value); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2" style='text-align:right;'> <?php echo $this->lang->line($amount_change >= 0 ? ($only_sale_check ? 'sales_check_due' : 'sales_change_due') : 'sales_invoice_amount_due') ; ?> </td>
|
||||
<td colspan="2" style='text-align:right'><?php echo $amount_change; ?></td>
|
||||
<td colspan="3" style='text-align:right;'> <?php echo $this->lang->line($amount_change >= 0 ? ($only_sale_check ? 'sales_check_due' : 'sales_change_due') : 'sales_invoice_amount_due') ; ?> </td>
|
||||
<td style='text-align:right'><?php echo $amount_change; ?></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@@ -145,15 +216,3 @@ if (isset($error_message))
|
||||
</div>
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
|
||||
<?php if ($this->Appconfig->get('print_after_sale'))
|
||||
{
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
$(window).load(function()
|
||||
{
|
||||
window.print();
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
#receipt_items td
|
||||
{
|
||||
position:relative;
|
||||
padding:3px;
|
||||
padding:3px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
.short_name
|
||||
@@ -56,4 +57,9 @@
|
||||
{
|
||||
margin-top:10px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.total-value
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
@@ -6,7 +6,16 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('barcode_num_in_row', '2'),
|
||||
('company_logo', ''),
|
||||
('barcode_page_width', '100'),
|
||||
('barcode_page_cellspacing', '20');
|
||||
('barcode_page_cellspacing', '20'),
|
||||
('receipt_printer', ''),
|
||||
('receipt_show_taxes', '0'),
|
||||
('print_silently', '1'),
|
||||
('print_header', '0'),
|
||||
('print_footer', '0'),
|
||||
('print_top_margin', '0'),
|
||||
('print_left_margin', '0'),
|
||||
('print_bottom_margin', '0'),
|
||||
('print_right_margin', '0');
|
||||
|
||||
INSERT INTO `ospos_permissions` (permission_id, module_id, location_id)
|
||||
(SELECT CONCAT('sales_', location_name), 'sales', location_id FROM ospos_stock_locations);
|
||||
|
||||
@@ -53,7 +53,16 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('barcode_third_row', 'cost_price'),
|
||||
('barcode_num_in_row', '2'),
|
||||
('barcode_page_width', '100'),
|
||||
('barcode_page_cellspacing', '20');
|
||||
('barcode_page_cellspacing', '20'),
|
||||
('receipt_printer', ''),
|
||||
('receipt_show_taxes', '0'),
|
||||
('print_silently', '1'),
|
||||
('print_header', '0'),
|
||||
('print_footer', '0'),
|
||||
('print_top_margin', '0'),
|
||||
('print_left_margin', '0'),
|
||||
('print_bottom_margin', '0'),
|
||||
('print_right_margin', '0');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
||||
@@ -90,3 +90,23 @@ config_decimal_point,Decimal Point, Decimal Point,Decimal Point, Decimal Point,D
|
||||
config_backup_button,Backup,Backup,Backup,Backup,Backup,Backup,Backup,Backup,Backup
|
||||
config_stock_location_invalid_chars,De bedrijfsnaam moet ingevuld worden,The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_'
|
||||
config_company_logo,Logo,Company Logo,Company Logo,Company Logo,Company Logo,Company Logo,Company Logo,Company Logo,Company Logo
|
||||
config_receipt_printer,Ticket Printer,Ticket Printer,Ticket Printer,Ticket Printer,Ticket Printer,Ticket Printer,Ticket Printer,Ticket Printer,Ticket Printer
|
||||
config_receipt_show_taxes,Toon VAT,Show Taxes,Show Taxes,Show Taxes,Show Taxes,Show Taxes,Show Taxes,Show Taxes,Show Taxes
|
||||
config_receipt_info,Ticket Instellingen,Receipt Configuration Information,Receipt Configuration Information,Receipt Configuration Information,Receipt Configuration Information,Receipt Configuration Information,Receipt Configuration Information,Receipt Configuration Information,Receipt Configuration Information
|
||||
config_receipt_configuration,Ticket Configuratie,Ticket Configuration,Ticket Configuration,Ticket Configuration,Ticket Configuration,Ticket Configuration,Ticket Configuration,Ticket Configuration,Ticket Configuration
|
||||
config_print_footer,Print Browser Footer,Print Browser Footer,Print Browser Footer,Print Browser Footer,Print Browser Footer,Print Browser Footer,Print Browser Footer,Print Browser Footer,Print Browser Footer
|
||||
config_print_header,Print Browser Header,Print Browser Header,Print Browser Header,Print Browser Header,Print Browser Header,Print Browser Header,Print Browser Header,Print Browser Header,Print Browser Header
|
||||
config_print_silently,Marge Boven,Top Margin,Show Print Dialog,Show Print Dialog,Show Print Dialog,Show Print Dialog,Show Print Dialog,Show Print Dialog,Show Print Dialog
|
||||
config_print_top_margin,Marge Boven,Margin Top,Margin Top,Margin Top,Margin Top,Margin Top,Margin Top,Margin Top,Margin Top
|
||||
config_print_left_margin,Marge Links,Margin Left,Margin Left,Margin Left,Margin Left,Margin Left,Margin Left,Margin Left,Margin Left
|
||||
config_print_bottom_margin,Marge Beneden,Margin Bottom,Margin Bottom,Margin Bottom,Margin Bottom,Margin Bottom,Margin Bottom,Margin Bottom,Margin Bottom
|
||||
config_print_right_margin,Marge Rechts,Margin Right,Margin Right,Margin Right,Margin Right,Margin Right,Margin Right,Margin Right,Margin Right
|
||||
config_print_top_margin_required,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field,The default top margin is a required field
|
||||
config_print_top_margin_number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number,The default top margin must be a number
|
||||
config_print_left_margin_required,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field,The default left margin is a required field
|
||||
config_print_left_margin_number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number,The default left margin must be a number
|
||||
config_print_bottom_margin_required,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field,The default bottom margin is a required field
|
||||
config_print_bottom_margin_number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number,The default bottom margin must be a number
|
||||
config_print_right_margin_required,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field,The default right margin is a required field
|
||||
config_print_right_margin_number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number,The default right margin must be a number
|
||||
config_jsprintsetup_required,Opgelet! Deze functionaliteit werkt enkel met de jsPrintSetup addon in Firefox.,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?,Warning! This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?
|
||||
|
||||
|
@@ -89,3 +89,4 @@ sales_unsuccessfully_updated,Fout bij het bewaren van ticket,Ha fallado la actua
|
||||
sales_unsuspend,Hervat,Retomar,Unsuspend,Débloquer,取消暫停銷售,Разблокировать,ยกเลิกการระงับ,Satışa Al,Batal Penangguhan
|
||||
sales_unsuspend_and_delete,,Retomar y Borrar,,,取消暫停銷售並刪除,Разблокировать и удалить,ยกเลิกการระงับ และ ลบ,,Batalkan dan hapus penangguhan
|
||||
sales_giftcard_balance,Waardebon Resterend,Giftcard Balance,Giftcard Balance,Giftcard Balance,Giftcard Balance,Giftcard Balance,Giftcard Balance,Giftcard Balance,Giftcard Balance
|
||||
sales_discount_included,% korting inbegrepen,% discount included,% discount included,% discount included,% discount included,% discount included,% discount included,% discount included,% discount included
|
||||
|
||||
|
Reference in New Issue
Block a user