#
-
backup_db( )
+
backup_db( )
diff --git a/docs/class-Customer.html b/docs/class-Customer.html
index 2ec9f5310..5fff6f104 100644
--- a/docs/class-Customer.html
+++ b/docs/class-Customer.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Customer_rewards.html b/docs/class-Customer_rewards.html
index ed4ff71d9..c7272f636 100644
--- a/docs/class-Customer_rewards.html
+++ b/docs/class-Customer_rewards.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Customers.html b/docs/class-Customers.html
index 21dc16ccc..c3df79581 100644
--- a/docs/class-Customers.html
+++ b/docs/class-Customers.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Detailed_receivings.html b/docs/class-Detailed_receivings.html
index 4392aca9f..8371f1bb2 100644
--- a/docs/class-Detailed_receivings.html
+++ b/docs/class-Detailed_receivings.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Detailed_sales.html b/docs/class-Detailed_sales.html
index 86811d194..043bfb264 100644
--- a/docs/class-Detailed_sales.html
+++ b/docs/class-Detailed_sales.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Dinner_table.html b/docs/class-Dinner_table.html
index 28f72aaf5..4ba7e239e 100644
--- a/docs/class-Dinner_table.html
+++ b/docs/class-Dinner_table.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Email_lib.html b/docs/class-Email_lib.html
index 0bb8c1ce1..60075c614 100644
--- a/docs/class-Email_lib.html
+++ b/docs/class-Email_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Employee.html b/docs/class-Employee.html
index 155954094..450d9a727 100644
--- a/docs/class-Employee.html
+++ b/docs/class-Employee.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Employees.html b/docs/class-Employees.html
index d92e0c549..2e8b4de5e 100644
--- a/docs/class-Employees.html
+++ b/docs/class-Employees.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Giftcard.html b/docs/class-Giftcard.html
index 1291a915c..6f837b530 100644
--- a/docs/class-Giftcard.html
+++ b/docs/class-Giftcard.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Giftcards.html b/docs/class-Giftcards.html
index f14595419..3747dce8f 100644
--- a/docs/class-Giftcards.html
+++ b/docs/class-Giftcards.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Home.html b/docs/class-Home.html
index 6efe2b519..60e2aeb80 100644
--- a/docs/class-Home.html
+++ b/docs/class-Home.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Inventory.html b/docs/class-Inventory.html
index 883980545..2c96107dd 100644
--- a/docs/class-Inventory.html
+++ b/docs/class-Inventory.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Inventory_low.html b/docs/class-Inventory_low.html
index e8634c267..4c1b0b72d 100644
--- a/docs/class-Inventory_low.html
+++ b/docs/class-Inventory_low.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Inventory_summary.html b/docs/class-Inventory_summary.html
index fb1b4eced..0834f7771 100644
--- a/docs/class-Inventory_summary.html
+++ b/docs/class-Inventory_summary.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item.html b/docs/class-Item.html
index c77a3f578..43a4478aa 100644
--- a/docs/class-Item.html
+++ b/docs/class-Item.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item_kit.html b/docs/class-Item_kit.html
index e5fb301bb..f78ef3aeb 100644
--- a/docs/class-Item_kit.html
+++ b/docs/class-Item_kit.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item_kit_items.html b/docs/class-Item_kit_items.html
index 40f2c61d5..276b4b96c 100644
--- a/docs/class-Item_kit_items.html
+++ b/docs/class-Item_kit_items.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item_kits.html b/docs/class-Item_kits.html
index b1bb75f1c..3dc641ea4 100644
--- a/docs/class-Item_kits.html
+++ b/docs/class-Item_kits.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item_lib.html b/docs/class-Item_lib.html
index 234808cd6..aade3ab30 100644
--- a/docs/class-Item_lib.html
+++ b/docs/class-Item_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item_quantity.html b/docs/class-Item_quantity.html
index d6b2ae675..1936146ec 100644
--- a/docs/class-Item_quantity.html
+++ b/docs/class-Item_quantity.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Item_taxes.html b/docs/class-Item_taxes.html
index dc79bf451..240377779 100644
--- a/docs/class-Item_taxes.html
+++ b/docs/class-Item_taxes.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Items.html b/docs/class-Items.html
index bf6e42310..14ac4455c 100644
--- a/docs/class-Items.html
+++ b/docs/class-Items.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Login.html b/docs/class-Login.html
index 126b4e359..6e2ff93ff 100644
--- a/docs/class-Login.html
+++ b/docs/class-Login.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-MY_Lang.html b/docs/class-MY_Lang.html
index 03631e5cb..6e5b8a15c 100644
--- a/docs/class-MY_Lang.html
+++ b/docs/class-MY_Lang.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-MailchimpConnector.html b/docs/class-MailchimpConnector.html
index 577979d1b..35af10dcf 100644
--- a/docs/class-MailchimpConnector.html
+++ b/docs/class-MailchimpConnector.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Mailchimp_lib.html b/docs/class-Mailchimp_lib.html
index 77a599ee0..a45768a7e 100644
--- a/docs/class-Mailchimp_lib.html
+++ b/docs/class-Mailchimp_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Messages.html b/docs/class-Messages.html
index 4e0856067..38e489806 100644
--- a/docs/class-Messages.html
+++ b/docs/class-Messages.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Migrate.html b/docs/class-Migrate.html
index 903e94a61..5b3e118b9 100644
--- a/docs/class-Migrate.html
+++ b/docs/class-Migrate.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Migration_Sales_Tax_Data.html b/docs/class-Migration_Sales_Tax_Data.html
index 4bc3c28f8..3434aa32f 100644
--- a/docs/class-Migration_Sales_Tax_Data.html
+++ b/docs/class-Migration_Sales_Tax_Data.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Module.html b/docs/class-Module.html
index 2e2b2fb10..65e4a2d17 100644
--- a/docs/class-Module.html
+++ b/docs/class-Module.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-No_Access.html b/docs/class-No_Access.html
index e85c04220..5c5ed1d29 100644
--- a/docs/class-No_Access.html
+++ b/docs/class-No_Access.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Person.html b/docs/class-Person.html
index b0d0e86d9..cce11105c 100644
--- a/docs/class-Person.html
+++ b/docs/class-Person.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Persons.html b/docs/class-Persons.html
index 5df205e43..368e31411 100644
--- a/docs/class-Persons.html
+++ b/docs/class-Persons.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Receiving.html b/docs/class-Receiving.html
index 4c832868a..fc7640e71 100644
--- a/docs/class-Receiving.html
+++ b/docs/class-Receiving.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Receiving_lib.html b/docs/class-Receiving_lib.html
index f1c74be6d..8eb6b4a13 100644
--- a/docs/class-Receiving_lib.html
+++ b/docs/class-Receiving_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Receivings.html b/docs/class-Receivings.html
index c74525ce8..13acbc61b 100644
--- a/docs/class-Receivings.html
+++ b/docs/class-Receivings.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Report.html b/docs/class-Report.html
index fa68ee2c9..668235a4b 100644
--- a/docs/class-Report.html
+++ b/docs/class-Report.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Reports.html b/docs/class-Reports.html
index d80aec2ff..5963c7f7e 100644
--- a/docs/class-Reports.html
+++ b/docs/class-Reports.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Rewards.html b/docs/class-Rewards.html
index 8241416b6..846e53c1e 100644
--- a/docs/class-Rewards.html
+++ b/docs/class-Rewards.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Rounding_code.html b/docs/class-Rounding_code.html
index f45d12e30..59b3ecb2d 100644
--- a/docs/class-Rounding_code.html
+++ b/docs/class-Rounding_code.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Sale.html b/docs/class-Sale.html
index 0da946969..fbea55672 100644
--- a/docs/class-Sale.html
+++ b/docs/class-Sale.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+
tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -243,7 +244,7 @@ CI_Model
1.0
Link:
github.com/jekkos/opensourcepos
-
Located at models/Sale.php
+
Located at models/Sale.php
@@ -263,7 +264,7 @@ CI_Model
#
- get_info( $sale_id )
+ get_info( $sale_id )
Get sale info
@@ -293,7 +294,7 @@ CI_Model
#
- get_found_rows( $search, $filters )
+ get_found_rows( $search, $filters )
Get number of rows for the takings (sales/manage) view
@@ -323,7 +324,7 @@ CI_Model
#
- search( $search, $filters, $rows = 0, $limit_from = 0, $sort = 'sale_time', $order = 'desc' )
+ search( $search, $filters, $rows = 0, $limit_from = 0, $sort = 'sale_time', $order = 'desc' )
Get the sales data for the takings (sales/manage) view
@@ -353,7 +354,7 @@ CI_Model
#
- get_payments_summary( $search, $filters )
+ get_payments_summary( $search, $filters )
Get the payment summary for the takings (sales/manage) view
@@ -383,7 +384,7 @@ CI_Model
#
- get_total_rows( )
+ get_total_rows( )
Gets total of rows
@@ -413,7 +414,7 @@ CI_Model
#
- get_search_suggestions( $search, $limit = 25 )
+ get_search_suggestions( $search, $limit = 25 )
Gets search suggestions
@@ -443,7 +444,7 @@ CI_Model
#
- get_invoice_count( )
+ get_invoice_count( )
Gets total of invoice rows
@@ -473,7 +474,7 @@ CI_Model
#
- get_sale_by_invoice_number( $invoice_number )
+ get_sale_by_invoice_number( $invoice_number )
Gets sale by invoice number
@@ -503,7 +504,7 @@ CI_Model
#
- get_invoice_number_for_year( $year = '', $start_from = 0 )
+ get_invoice_number_for_year( $year = '', $start_from = 0 )
Gets invoice number by year
@@ -533,7 +534,7 @@ CI_Model
#
- is_valid_receipt( & $receipt_sale_id )
+ is_valid_receipt( & $receipt_sale_id )
Checks if valid receipt
@@ -563,7 +564,7 @@ CI_Model
#
- exists( $sale_id )
+ exists( $sale_id )
Checks if sale exists
@@ -593,7 +594,7 @@ CI_Model
#
- update( $sale_id, $sale_data, $payments )
+ update( $sale_id, $sale_data, $payments )
Update sale
@@ -623,7 +624,7 @@ CI_Model
#
- save( & $sale_status, & $items, $customer_id, $employee_id, $comment, $invoice_number, $quote_number, $payments, $dinner_table, & $sales_taxes, $sale_id = FALSE )
+ save( & $sale_status, & $items, $customer_id, $employee_id, $comment, $invoice_number, $quote_number, $payments, $dinner_table, & $sales_taxes, $sale_id = FALSE )
Save the sale information after the sales is complete but before the final document is printed
@@ -655,7 +656,7 @@ The sales_taxes variable needs to be initialized to an empty array before callin
#
- save_sales_item_tax( & $customer, & $sale_id, & $item, $tax_basis, & $sales_taxes, & $sequence, $tax_category_id )
+ save_sales_item_tax( & $customer, & $sale_id, & $item, $tax_basis, & $sales_taxes, & $sequence, $tax_category_id )
Apply customer sales tax if the customer sales tax is enabledl
@@ -693,7 +694,7 @@ as a separate tax entry on the invoice.
#
- save_sales_tax( & $sales_taxes )
+ save_sales_tax( & $sales_taxes )
Saves sale tax
@@ -723,7 +724,7 @@ as a separate tax entry on the invoice.
#
- delete_list( $sale_ids, $employee_id, $update_inventory = TRUE )
+ delete_list( $sale_ids, $employee_id, $update_inventory = TRUE )
Deletes list of sales
@@ -753,7 +754,7 @@ as a separate tax entry on the invoice.
#
- delete( $sale_id, $employee_id, $update_inventory = TRUE )
+ delete( $sale_id, $employee_id, $update_inventory = TRUE )
Delete sale
@@ -783,7 +784,7 @@ as a separate tax entry on the invoice.
#
- get_sale_items( $sale_id )
+ get_sale_items( $sale_id )
Gets sale item
@@ -813,7 +814,7 @@ as a separate tax entry on the invoice.
#
- get_sale_items_ordered( $sale_id )
+ get_sale_items_ordered( $sale_id )
Used by the invoice and receipt programs
@@ -843,7 +844,7 @@ as a separate tax entry on the invoice.
#
- get_sale_payments( $sale_id )
+ get_sale_payments( $sale_id )
Gets sale payments
@@ -873,7 +874,7 @@ as a separate tax entry on the invoice.
#
- get_payment_options( $giftcard = TRUE, $reward_points = FALSE )
+ get_payment_options( $giftcard = TRUE, $reward_points = FALSE )
Gets sale payment options
@@ -903,7 +904,7 @@ as a separate tax entry on the invoice.
#
- get_customer( $sale_id )
+ get_customer( $sale_id )
Gets sale customer name
@@ -933,7 +934,7 @@ as a separate tax entry on the invoice.
#
- get_employee( $sale_id )
+ get_employee( $sale_id )
Gets sale employee name
@@ -963,7 +964,7 @@ as a separate tax entry on the invoice.
#
- check_quote_number_exists( $quote_number, $sale_id = '' )
+ check_quote_number_exists( $quote_number, $sale_id = '' )
@@ -993,7 +994,7 @@ as a separate tax entry on the invoice.
#
- check_invoice_number_exists( $invoice_number, $sale_id = '' )
+ check_invoice_number_exists( $invoice_number, $sale_id = '' )
Checks if invoice number exists
@@ -1023,7 +1024,7 @@ as a separate tax entry on the invoice.
#
- get_giftcard_value( $giftcardNumber )
+ get_giftcard_value( $giftcardNumber )
Gets Giftcard value
@@ -1053,7 +1054,7 @@ as a separate tax entry on the invoice.
#
- create_temp_table( array $inputs )
+ create_temp_table( array $inputs )
Creates sales temporary dimentional table
@@ -1085,7 +1086,7 @@ We create a temp table that allows us to do easy report/sales queries
#
- get_all_suspended( $customer_id = NULL )
+ get_all_suspended( $customer_id = NULL )
Retrieves all sales that are in a suspended state
@@ -1115,7 +1116,7 @@ We create a temp table that allows us to do easy report/sales queries
#
- get_dinner_table( $sale_id )
+ get_dinner_table( $sale_id )
Gets the dinner table for the selected sale
@@ -1145,7 +1146,7 @@ We create a temp table that allows us to do easy report/sales queries
#
- get_quote_number( $sale_id )
+ get_quote_number( $sale_id )
Gets the quote_number for the selected sale
@@ -1175,7 +1176,7 @@ We create a temp table that allows us to do easy report/sales queries
#
- get_comment( $sale_id )
+ get_comment( $sale_id )
Gets the quote_number for the selected sale
@@ -1205,7 +1206,7 @@ We create a temp table that allows us to do easy report/sales queries
#
- get_suspended_invoice_count( )
+ get_suspended_invoice_count( )
Gets total of suspended invoices rows
@@ -1235,7 +1236,7 @@ We create a temp table that allows us to do easy report/sales queries
#
- delete_suspended_sale( $sale_id )
+ delete_suspended_sale( $sale_id )
Removes a selected sale from the sales table.
@@ -1267,7 +1268,7 @@ This function should only be called for suspended sales that are being restored
#
- get_suspended_sale_info( $sale_id )
+ get_suspended_sale_info( $sale_id )
@@ -1302,14 +1303,16 @@
#
- get_totals( )
+ get_totals( )
-
+ Returns 'subtotal', 'total', 'cash_total', 'payment_total', 'amount_due', 'cash_amount_due', 'paid_in_full'
+'subtotal', 'discounted_subtotal', 'tax_exclusive_subtotal'
-
+ Returns 'subtotal', 'total', 'cash_total', 'payment_total', 'amount_due', 'cash_amount_due', 'paid_in_full'
+'subtotal', 'discounted_subtotal', 'tax_exclusive_subtotal'
@@ -2742,7 +2745,7 @@
#
- get_item_total( $quantity, $price, $discount_percentage, $include_discount = FALSE )
+ get_item_total( $quantity, $price, $discount_percentage, $include_discount = FALSE )
@@ -2772,7 +2775,7 @@
#
- get_extended_amount( $quantity, $price, $discount_amount = 0 )
+ get_extended_amount( $quantity, $price, $discount_amount = 0 )
@@ -2802,7 +2805,7 @@
#
- get_item_discount( $quantity, $price, $discount_percentage )
+ get_item_discount( $quantity, $price, $discount_percentage )
@@ -2832,7 +2835,7 @@
#
- get_item_tax( $quantity, $price, $discount_percentage, $tax_percentage )
+ get_item_tax( $quantity, $price, $discount_percentage, $tax_percentage )
@@ -2862,7 +2865,7 @@
#
- calculate_subtotal( $include_discount = FALSE, $exclude_tax = FALSE )
+ calculate_subtotal( $include_discount = FALSE, $exclude_tax = FALSE )
@@ -2892,7 +2895,7 @@
#
- get_total( )
+ get_total( )
@@ -2922,7 +2925,7 @@
#
- get_empty_tables( )
+ get_empty_tables( )
@@ -2952,7 +2955,7 @@
#
- check_for_cash_rounding( $total )
+ check_for_cash_rounding( $total )
diff --git a/docs/class-Sale_suspended.html b/docs/class-Sale_suspended.html
index 6f2a0c0e0..d5d796c1f 100644
--- a/docs/class-Sale_suspended.html
+++ b/docs/class-Sale_suspended.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Sales.html b/docs/class-Sales.html
index 7dc645a23..5f8cff367 100644
--- a/docs/class-Sales.html
+++ b/docs/class-Sales.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Secure_Controller.html b/docs/class-Secure_Controller.html
index 1c6cc8294..8c3ff0dae 100644
--- a/docs/class-Secure_Controller.html
+++ b/docs/class-Secure_Controller.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Sms_lib.html b/docs/class-Sms_lib.html
index a142fea27..455ced136 100644
--- a/docs/class-Sms_lib.html
+++ b/docs/class-Sms_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Specific_customer.html b/docs/class-Specific_customer.html
index 4456ebbb6..8e3aef83d 100644
--- a/docs/class-Specific_customer.html
+++ b/docs/class-Specific_customer.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Specific_discount.html b/docs/class-Specific_discount.html
index ef87a2f6a..90a69fe73 100644
--- a/docs/class-Specific_discount.html
+++ b/docs/class-Specific_discount.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Specific_employee.html b/docs/class-Specific_employee.html
index da2969925..89696edff 100644
--- a/docs/class-Specific_employee.html
+++ b/docs/class-Specific_employee.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Stock_location.html b/docs/class-Stock_location.html
index e4d09bafe..dba19f9a1 100644
--- a/docs/class-Stock_location.html
+++ b/docs/class-Stock_location.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Summary_categories.html b/docs/class-Summary_categories.html
index 37aa31fa8..4fefd5699 100644
--- a/docs/class-Summary_categories.html
+++ b/docs/class-Summary_categories.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_customers.html b/docs/class-Summary_customers.html
index af21ba54d..6693e64df 100644
--- a/docs/class-Summary_customers.html
+++ b/docs/class-Summary_customers.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_discounts.html b/docs/class-Summary_discounts.html
index 3b3854625..f08dc7eb5 100644
--- a/docs/class-Summary_discounts.html
+++ b/docs/class-Summary_discounts.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_employees.html b/docs/class-Summary_employees.html
index df2ee6555..53df32fa2 100644
--- a/docs/class-Summary_employees.html
+++ b/docs/class-Summary_employees.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_items.html b/docs/class-Summary_items.html
index 645cbe780..5915b7bc2 100644
--- a/docs/class-Summary_items.html
+++ b/docs/class-Summary_items.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_payments.html b/docs/class-Summary_payments.html
index 973647619..e87148231 100644
--- a/docs/class-Summary_payments.html
+++ b/docs/class-Summary_payments.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
@@ -273,14 +274,14 @@ CI_Model
#
- _get_data_columns( )
+ _get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
@@ -303,7 +304,7 @@ CI_Model
#
- _select( array $inputs )
+ _select( array $inputs )
@@ -333,7 +334,7 @@ CI_Model
#
- _from( )
+ _from( )
@@ -363,7 +364,7 @@ CI_Model
#
- _where( array $inputs )
+ _where( array $inputs )
@@ -393,7 +394,7 @@ CI_Model
#
- _group_order( )
+ _group_order( )
@@ -423,14 +424,14 @@ CI_Model
#
- getDataColumns( )
+ getDataColumns( )
-
+ Public interface implementing the base abstract class, in general it should not be extended unless there is a valid reason
-
+ Public interface implementing the base abstract class, in general it should not be extended unless there is a valid reason
@@ -453,7 +454,7 @@ CI_Model
#
- getData( array $inputs )
+ getData( array $inputs )
@@ -483,7 +484,7 @@ CI_Model
#
- getSummaryData( array $inputs )
+ getSummaryData( array $inputs )
diff --git a/docs/class-Summary_sales.html b/docs/class-Summary_sales.html
index 4ee49ffd9..32d6a236b 100644
--- a/docs/class-Summary_sales.html
+++ b/docs/class-Summary_sales.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_suppliers.html b/docs/class-Summary_suppliers.html
index 2f17a9ad5..89d5dedba 100644
--- a/docs/class-Summary_suppliers.html
+++ b/docs/class-Summary_suppliers.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Summary_taxes.html b/docs/class-Summary_taxes.html
index 5154289e6..0d282a82e 100644
--- a/docs/class-Summary_taxes.html
+++ b/docs/class-Summary_taxes.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -271,11 +272,11 @@ CI_Model
_get_data_columns( )
-
+ Protected class interface implemented by derived classes
-
+ Protected class interface implemented by derived classes
diff --git a/docs/class-Supplier.html b/docs/class-Supplier.html
index df6d67a15..3e1ba9c66 100644
--- a/docs/class-Supplier.html
+++ b/docs/class-Supplier.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Suppliers.html b/docs/class-Suppliers.html
index b76a8988a..506160810 100644
--- a/docs/class-Suppliers.html
+++ b/docs/class-Suppliers.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Tax.html b/docs/class-Tax.html
index f3cc9c9b4..98da3e637 100644
--- a/docs/class-Tax.html
+++ b/docs/class-Tax.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Tax_lib.html b/docs/class-Tax_lib.html
index f92695571..9cde6620a 100644
--- a/docs/class-Tax_lib.html
+++ b/docs/class-Tax_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Taxes.html b/docs/class-Taxes.html
index 293b5ae68..3d230b6e9 100644
--- a/docs/class-Taxes.html
+++ b/docs/class-Taxes.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token.html b/docs/class-Token.html
index be0f8e065..f94f12ab7 100644
--- a/docs/class-Token.html
+++ b/docs/class-Token.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_customer.html b/docs/class-Token_customer.html
index 2da3e2461..ef27ec2cb 100644
--- a/docs/class-Token_customer.html
+++ b/docs/class-Token_customer.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_invoice_count.html b/docs/class-Token_invoice_count.html
index 3c77da8dd..1a37fdffa 100644
--- a/docs/class-Token_invoice_count.html
+++ b/docs/class-Token_invoice_count.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_invoice_sequence.html b/docs/class-Token_invoice_sequence.html
index 1a2b01468..67de0d5ad 100644
--- a/docs/class-Token_invoice_sequence.html
+++ b/docs/class-Token_invoice_sequence.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_lib.html b/docs/class-Token_lib.html
index 6d264aebf..5591c85b5 100644
--- a/docs/class-Token_lib.html
+++ b/docs/class-Token_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_quote_sequence.html b/docs/class-Token_quote_sequence.html
index 31a3995d8..e750a6f0e 100644
--- a/docs/class-Token_quote_sequence.html
+++ b/docs/class-Token_quote_sequence.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_suspended_invoice_count.html b/docs/class-Token_suspended_invoice_count.html
index 8d5a92cef..40e2709f6 100644
--- a/docs/class-Token_suspended_invoice_count.html
+++ b/docs/class-Token_suspended_invoice_count.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Token_year_invoice_count.html b/docs/class-Token_year_invoice_count.html
index 54b3d4a20..b12ae7ba3 100644
--- a/docs/class-Token_year_invoice_count.html
+++ b/docs/class-Token_year_invoice_count.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/class-Tracking_lib.html b/docs/class-Tracking_lib.html
index 4a7a1050c..26b9b7f40 100644
--- a/docs/class-Tracking_lib.html
+++ b/docs/class-Tracking_lib.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
diff --git a/docs/elementlist.js b/docs/elementlist.js
index 7f665203b..bfd8b809d 100644
--- a/docs/elementlist.js
+++ b/docs/elementlist.js
@@ -1,3 +1,3 @@
var ApiGen = ApiGen || {};
-ApiGen.elements = [["c","Appconfig"],["c","Barcode_lib"],["c","Config"],["f","currency_side()"],["f","current_language()"],["f","current_language_code()"],["c","Customer"],["c","Customer_rewards"],["c","Customers"],["f","dateformat_bootstrap()"],["f","dateformat_momentjs()"],["f","db_log_queries()"],["c","Detailed_receivings"],["c","Detailed_sales"],["c","Dinner_table"],["c","Email_lib"],["c","emberlabs\\Barcode\\BarcodeBase"],["c","emberlabs\\Barcode\\Code128"],["c","emberlabs\\Barcode\\Code39"],["c","emberlabs\\Barcode\\Ean13"],["c","emberlabs\\Barcode\\Ean8"],["c","Employee"],["c","Employees"],["f","get_customer_data_row()"],["f","get_customer_manage_table_headers()"],["f","get_giftcard_data_row()"],["f","get_giftcards_manage_table_headers()"],["f","get_item_data_row()"],["f","get_item_kit_data_row()"],["f","get_item_kits_manage_table_headers()"],["f","get_items_manage_table_headers()"],["f","get_people_manage_table_headers()"],["f","get_person_data_row()"],["f","get_sale_data_last_row()"],["f","get_sale_data_row()"],["f","get_sales_manage_payments_summary()"],["f","get_sales_manage_table_headers()"],["f","get_supplier_data_row()"],["f","get_suppliers_manage_table_headers()"],["f","get_tax_data_row()"],["f","get_taxes_manage_table_headers()"],["c","Giftcard"],["c","Giftcards"],["c","Home"],["c","Inventory"],["c","Inventory_low"],["c","Inventory_summary"],["c","Item"],["c","Item_kit"],["c","Item_kit_items"],["c","Item_kits"],["c","Item_lib"],["c","Item_quantity"],["c","Item_taxes"],["c","Items"],["f","load_config()"],["f","load_language_files()"],["f","load_stats()"],["c","Login"],["c","Mailchimp_lib"],["c","MailchimpConnector"],["c","Messages"],["c","Migrate"],["c","Migration_Sales_Tax_Data"],["c","Module"],["c","MY_Lang"],["c","No_Access"],["f","parse_decimals()"],["f","pdf_create()"],["c","Person"],["c","Persons"],["f","quantity_decimals()"],["c","Receiving"],["c","Receiving_lib"],["c","Receivings"],["c","Report"],["c","Reports"],["c","Rewards"],["c","Rounding_code"],["c","Sale"],["c","Sale_lib"],["c","Sale_suspended"],["c","Sales"],["c","Secure_Controller"],["f","show_report()"],["f","show_report_if_allowed()"],["c","Sms_lib"],["c","Specific_customer"],["c","Specific_discount"],["c","Specific_employee"],["c","Stock_location"],["c","Summary_categories"],["c","Summary_customers"],["c","Summary_discounts"],["c","Summary_employees"],["c","Summary_items"],["c","Summary_payments"],["c","Summary_report"],["c","Summary_sales"],["c","Summary_suppliers"],["c","Summary_taxes"],["c","Supplier"],["c","Suppliers"],["c","Tax"],["c","Tax_lib"],["c","Taxes"],["f","to_currency()"],["f","to_currency_no_money()"],["f","to_decimals()"],["f","to_quantity_decimals()"],["f","to_tax_decimals()"],["c","Token"],["c","Token_customer"],["c","Token_invoice_count"],["c","Token_invoice_sequence"],["c","Token_lib"],["c","Token_quote_sequence"],["c","Token_suspended_invoice_count"],["c","Token_year_invoice_count"],["f","totals_decimals()"],["c","Tracking_lib"],["f","transform_headers()"],["f","transform_headers_readonly()"]];
+ApiGen.elements = [["c","Appconfig"],["c","Barcode_lib"],["c","Config"],["f","currency_side()"],["f","current_language()"],["f","current_language_code()"],["c","Customer"],["c","Customer_rewards"],["c","Customers"],["f","dateformat_bootstrap()"],["f","dateformat_momentjs()"],["f","db_log_queries()"],["c","Detailed_receivings"],["c","Detailed_sales"],["c","Dinner_table"],["c","Email_lib"],["c","emberlabs\\Barcode\\BarcodeBase"],["c","emberlabs\\Barcode\\Code128"],["c","emberlabs\\Barcode\\Code39"],["c","emberlabs\\Barcode\\Ean13"],["c","emberlabs\\Barcode\\Ean8"],["c","Employee"],["c","Employees"],["f","get_customer_data_row()"],["f","get_customer_manage_table_headers()"],["f","get_giftcard_data_row()"],["f","get_giftcards_manage_table_headers()"],["f","get_item_data_row()"],["f","get_item_kit_data_row()"],["f","get_item_kits_manage_table_headers()"],["f","get_items_manage_table_headers()"],["f","get_people_manage_table_headers()"],["f","get_person_data_row()"],["f","get_sale_data_last_row()"],["f","get_sale_data_row()"],["f","get_sales_manage_payments_summary()"],["f","get_sales_manage_table_headers()"],["f","get_supplier_data_row()"],["f","get_suppliers_manage_table_headers()"],["f","get_tax_data_row()"],["f","get_taxes_manage_table_headers()"],["c","Giftcard"],["c","Giftcards"],["c","Home"],["c","Inventory"],["c","Inventory_low"],["c","Inventory_summary"],["c","Item"],["c","Item_kit"],["c","Item_kit_items"],["c","Item_kits"],["c","Item_lib"],["c","Item_quantity"],["c","Item_taxes"],["c","Items"],["f","load_config()"],["f","load_language_files()"],["f","load_stats()"],["c","Login"],["c","Mailchimp_lib"],["c","MailchimpConnector"],["c","Messages"],["c","Migrate"],["c","Migration_Sales_Tax_Data"],["c","Module"],["c","MY_Lang"],["c","No_Access"],["f","parse_decimals()"],["f","pdf_create()"],["c","Person"],["c","Persons"],["f","quantity_decimals()"],["c","Receiving"],["c","Receiving_lib"],["c","Receivings"],["c","Report"],["c","Reports"],["c","Rewards"],["c","Rounding_code"],["c","Sale"],["c","Sale_lib"],["c","Sale_suspended"],["c","Sales"],["c","Secure_Controller"],["f","show_report()"],["f","show_report_if_allowed()"],["c","Sms_lib"],["c","Specific_customer"],["c","Specific_discount"],["c","Specific_employee"],["c","Stock_location"],["c","Summary_categories"],["c","Summary_customers"],["c","Summary_discounts"],["c","Summary_employees"],["c","Summary_items"],["c","Summary_payments"],["c","Summary_report"],["c","Summary_sales"],["c","Summary_suppliers"],["c","Summary_taxes"],["c","Supplier"],["c","Suppliers"],["c","Tax"],["f","tax_decimals()"],["c","Tax_lib"],["c","Taxes"],["f","to_currency()"],["f","to_currency_no_money()"],["f","to_decimals()"],["f","to_quantity_decimals()"],["f","to_tax_decimals()"],["c","Token"],["c","Token_customer"],["c","Token_invoice_count"],["c","Token_invoice_sequence"],["c","Token_lib"],["c","Token_quote_sequence"],["c","Token_suspended_invoice_count"],["c","Token_year_invoice_count"],["f","totals_decimals()"],["c","Tracking_lib"],["f","transform_headers()"],["f","transform_headers_readonly()"]];
diff --git a/docs/function-currency_side.html b/docs/function-currency_side.html
index 182cce045..deb445752 100644
--- a/docs/function-currency_side.html
+++ b/docs/function-currency_side.html
@@ -162,6 +162,7 @@
quantity_decimals
show_report
show_report_if_allowed
+ tax_decimals
to_currency
to_currency_no_money
to_decimals
@@ -211,7 +212,7 @@
Located at
-
+
helpers/locale_helper.php
@@ -228,6 +229,6 @@
-
+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |