mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-02 05:31:10 -05:00
Create invoice checkbox was inverted
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
<div id="page_title" style="margin-bottom: 8px;"><?php echo $this->lang->line('sales_register'); ?></div>
|
||||
<?php
|
||||
@@ -488,7 +489,7 @@ $(document).ready(function()
|
||||
var enable_invoice_number = function()
|
||||
{
|
||||
var enabled = $("#sales_invoice_enable").is(":checked");
|
||||
$("#sales_invoice_number").prop("disabled", enabled).parents('tr').show();
|
||||
$("#sales_invoice_number").prop("disabled", !enabled).parents('tr').show();
|
||||
return enabled;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user