diff --git a/docs/404.html b/docs/404.html
index d31522872..8124c1184 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -93,7 +93,7 @@
Report
Reports
Rewards
- Rounding_code
+ Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Appconfig.html b/docs/class-Appconfig.html
index 7d0d586ee..c2a87f1af 100644
--- a/docs/class-Appconfig.html
+++ b/docs/class-Appconfig.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
- Rounding_code
+ Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Barcode_lib.html b/docs/class-Barcode_lib.html
index eaa665b99..7369a571e 100644
--- a/docs/class-Barcode_lib.html
+++ b/docs/class-Barcode_lib.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
- Rounding_code
+ Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Config.html b/docs/class-Config.html
index 0b33bc5cf..9e1db8d9b 100644
--- a/docs/class-Config.html
+++ b/docs/class-Config.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
- Rounding_code
+ Rounding_mode
Sale
Sale_lib
Sale_suspended
@@ -244,7 +244,7 @@ CI_Controller
- Located at controllers/Config.php
+ Located at controllers/Config.php
@@ -296,7 +296,7 @@ CI_Controller
#
-
index ( )
+
index ( )
@@ -313,6 +313,36 @@ CI_Controller
Overrides
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
@@ -328,7 +358,7 @@ CI_Controller
#
-
save_info ( )
+
save_info ( )
@@ -358,7 +388,7 @@ CI_Controller
#
-
save_general ( )
+
save_general ( )
@@ -388,7 +418,7 @@ CI_Controller
#
-
check_number_locale ( )
+
check_number_locale ( )
@@ -418,7 +448,7 @@ CI_Controller
#
-
save_locale ( )
+
save_locale ( )
@@ -448,7 +478,7 @@ CI_Controller
#
-
save_email ( )
+
save_email ( )
@@ -478,7 +508,7 @@ CI_Controller
#
-
save_message ( )
+
save_message ( )
@@ -508,7 +538,7 @@ CI_Controller
#
-
ajax_check_mailchimp_api_key ( )
+
ajax_check_mailchimp_api_key ( )
@@ -538,7 +568,7 @@ CI_Controller
-
+
public
@@ -567,8 +597,8 @@ CI_Controller
-
+
public
@@ -597,8 +627,8 @@ CI_Controller
-
+
public
@@ -627,8 +657,38 @@ CI_Controller
+
+
+
+
+ public
+
+
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
+
#
+
save_tax ( )
@@ -718,7 +808,7 @@ CI_Controller
-
-
-
- public
-
-
-
-
-
-
-
-
#
-
get_undeleted_all ( )
+
get_all ( )
@@ -440,14 +410,14 @@ CI_Model
#
-
delete ( $package_id )
+
delete ( $package_id )
-
+
Deletes one reward package
-
+
Deletes one reward package
diff --git a/docs/class-Customers.html b/docs/class-Customers.html
index fcd4011fc..ada986ec9 100644
--- a/docs/class-Customers.html
+++ b/docs/class-Customers.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Detailed_receivings.html b/docs/class-Detailed_receivings.html
index 69deaafb9..38b42247a 100644
--- a/docs/class-Detailed_receivings.html
+++ b/docs/class-Detailed_receivings.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Detailed_sales.html b/docs/class-Detailed_sales.html
index 59a28309e..b5d78d7c4 100644
--- a/docs/class-Detailed_sales.html
+++ b/docs/class-Detailed_sales.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Dinner_table.html b/docs/class-Dinner_table.html
index b7e43d393..61ddea496 100644
--- a/docs/class-Dinner_table.html
+++ b/docs/class-Dinner_table.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
@@ -240,7 +240,7 @@ CI_Model
-
Located at models/Dinner_table.php
+
Located at models/Dinner_table.php
@@ -290,7 +290,7 @@ CI_Model
#
-
save ( $table_data , $dinner_table_id )
+
save ( $table_data , $dinner_table_id )
@@ -320,14 +320,14 @@ CI_Model
-
-
-
- public
-
-
-
-
-
-
-
-
#
-
get_undeleted_all ( )
+
get_all ( )
@@ -440,14 +410,14 @@ CI_Model
#
-
delete ( $dinner_table_id )
+
delete ( $dinner_table_id )
-
+
Deletes one table
diff --git a/docs/class-Email_lib.html b/docs/class-Email_lib.html
index 3bf9f0dc7..3dfe950ee 100644
--- a/docs/class-Email_lib.html
+++ b/docs/class-Email_lib.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Employee.html b/docs/class-Employee.html
index a05b6da70..b0bb5c11b 100644
--- a/docs/class-Employee.html
+++ b/docs/class-Employee.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Employees.html b/docs/class-Employees.html
index 0bc2a6a54..b03145cde 100644
--- a/docs/class-Employees.html
+++ b/docs/class-Employees.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Giftcard.html b/docs/class-Giftcard.html
index 5b7af38df..e9a0a1053 100644
--- a/docs/class-Giftcard.html
+++ b/docs/class-Giftcard.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Giftcards.html b/docs/class-Giftcards.html
index b0b23f31b..deee17bea 100644
--- a/docs/class-Giftcards.html
+++ b/docs/class-Giftcards.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Home.html b/docs/class-Home.html
index 47a420152..8f7aaba6a 100644
--- a/docs/class-Home.html
+++ b/docs/class-Home.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Inventory.html b/docs/class-Inventory.html
index 8ff4407dc..fbc99a6a2 100644
--- a/docs/class-Inventory.html
+++ b/docs/class-Inventory.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Inventory_low.html b/docs/class-Inventory_low.html
index 42317dd02..d32f42c44 100644
--- a/docs/class-Inventory_low.html
+++ b/docs/class-Inventory_low.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Inventory_summary.html b/docs/class-Inventory_summary.html
index d010d8604..93d0c04ef 100644
--- a/docs/class-Inventory_summary.html
+++ b/docs/class-Inventory_summary.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Item.html b/docs/class-Item.html
index 8002d6c0b..40460c7ad 100644
--- a/docs/class-Item.html
+++ b/docs/class-Item.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
@@ -240,7 +240,7 @@ CI_Model
-
Located at models/Item.php
+
Located at models/Item.php
@@ -335,6 +335,36 @@ CI_Model
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
@@ -350,7 +380,7 @@ CI_Model
#
-
get_found_rows ( $search , $filters )
+
get_found_rows ( $search , $filters )
@@ -380,7 +410,7 @@ CI_Model
#
-
search ( $search , $filters , $rows = 0 , $limit_from = 0 , $sort = 'items.name' , $order = 'asc' )
+
search ( $search , $filters , $rows = 0 , $limit_from = 0 , $sort = 'items.name' , $order = 'asc' )
@@ -410,7 +440,7 @@ CI_Model
#
-
get_all ( $stock_location_id = -1 , $rows = 0 , $limit_from = 0 )
+
get_all ( $stock_location_id = -1 , $rows = 0 , $limit_from = 0 )
@@ -440,7 +470,7 @@ CI_Model
#
-
get_info ( $item_id )
+
get_info ( $item_id )
@@ -470,7 +500,7 @@ CI_Model
#
-
get_info_by_id_or_number ( $item_id )
+
get_info_by_id_or_number ( $item_id )
@@ -500,7 +530,7 @@ CI_Model
#
-
get_item_id ( $item_number , $ignore_deleted = FALSE , $deleted = FALSE )
+
get_item_id ( $item_number , $ignore_deleted = FALSE , $deleted = FALSE )
@@ -530,7 +560,7 @@ CI_Model
#
-
get_multiple_info ( $item_ids , $location_id )
+
get_multiple_info ( $item_ids , $location_id )
@@ -560,7 +590,7 @@ CI_Model
#
-
save ( & $item_data , $item_id = FALSE )
+
save ( & $item_data , $item_id = FALSE )
@@ -590,7 +620,7 @@ CI_Model
#
-
update_multiple ( $item_data , $item_ids )
+
update_multiple ( $item_data , $item_ids )
@@ -620,7 +650,7 @@ CI_Model
#
-
delete ( $item_id )
+
delete ( $item_id )
@@ -650,7 +680,7 @@ CI_Model
#
-
undelete ( $item_id )
+
undelete ( $item_id )
@@ -680,7 +710,7 @@ CI_Model
#
-
delete_list ( $item_ids )
+
delete_list ( $item_ids )
@@ -710,7 +740,7 @@ CI_Model
#
-
get_search_suggestions ( $search , $filters = array ('is_deleted' => FALSE , 'search_custom' => FALSE ) , $unique = FALSE , $limit = 25 )
+
get_search_suggestions ( $search , $filters = array ('is_deleted' => FALSE , 'search_custom' => FALSE ) , $unique = FALSE , $limit = 25 )
@@ -740,7 +770,7 @@ CI_Model
#
-
get_stock_search_suggestions ( $search , $filters = array ('is_deleted' => FALSE , 'search_custom' => FALSE ) , $unique = FALSE , $limit = 25 )
+
get_stock_search_suggestions ( $search , $filters = array ('is_deleted' => FALSE , 'search_custom' => FALSE ) , $unique = FALSE , $limit = 25 )
@@ -770,7 +800,7 @@ CI_Model
#
-
get_kit_search_suggestions ( $search , $filters = array ('is_deleted' => FALSE , 'search_custom' => FALSE ) , $unique = FALSE , $limit = 25 )
+
get_kit_search_suggestions ( $search , $filters = array ('is_deleted' => FALSE , 'search_custom' => FALSE ) , $unique = FALSE , $limit = 25 )
@@ -800,7 +830,7 @@ CI_Model
#
-
get_category_suggestions ( $search )
+
get_category_suggestions ( $search )
@@ -830,7 +860,7 @@ CI_Model
#
-
get_location_suggestions ( $search )
+
get_location_suggestions ( $search )
@@ -860,7 +890,7 @@ CI_Model
#
-
get_custom_suggestions ( $search , $field_no )
+
get_custom_suggestions ( $search , $field_no )
@@ -890,7 +920,7 @@ CI_Model
#
-
get_categories ( )
+
get_categories ( )
@@ -920,7 +950,7 @@ CI_Model
#
-
change_cost_price ( $item_id , $items_received , $new_price , $old_price = null )
+
change_cost_price ( $item_id , $items_received , $new_price , $old_price = null )
diff --git a/docs/class-Item_kit.html b/docs/class-Item_kit.html
index 4935da1a8..0626d2f96 100644
--- a/docs/class-Item_kit.html
+++ b/docs/class-Item_kit.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Item_kit_items.html b/docs/class-Item_kit_items.html
index 68c47bee9..ddaad2422 100644
--- a/docs/class-Item_kit_items.html
+++ b/docs/class-Item_kit_items.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Item_kits.html b/docs/class-Item_kits.html
index 2be819a88..217d408de 100644
--- a/docs/class-Item_kits.html
+++ b/docs/class-Item_kits.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Item_lib.html b/docs/class-Item_lib.html
index 71668966f..5d8914831 100644
--- a/docs/class-Item_lib.html
+++ b/docs/class-Item_lib.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Item_quantity.html b/docs/class-Item_quantity.html
index 17719938d..29764c43e 100644
--- a/docs/class-Item_quantity.html
+++ b/docs/class-Item_quantity.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Item_taxes.html b/docs/class-Item_taxes.html
index ed34cbc5e..b326bf1f3 100644
--- a/docs/class-Item_taxes.html
+++ b/docs/class-Item_taxes.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Items.html b/docs/class-Items.html
index cb577c4ac..793bcbda5 100644
--- a/docs/class-Items.html
+++ b/docs/class-Items.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Login.html b/docs/class-Login.html
index ce7342841..04e2ec597 100644
--- a/docs/class-Login.html
+++ b/docs/class-Login.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-MY_Lang.html b/docs/class-MY_Lang.html
index 14d0dfdf6..72613be2e 100644
--- a/docs/class-MY_Lang.html
+++ b/docs/class-MY_Lang.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-MailchimpConnector.html b/docs/class-MailchimpConnector.html
index dce391373..2df8c23bb 100644
--- a/docs/class-MailchimpConnector.html
+++ b/docs/class-MailchimpConnector.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Mailchimp_lib.html b/docs/class-Mailchimp_lib.html
index 08628e685..c0f1dbbc5 100644
--- a/docs/class-Mailchimp_lib.html
+++ b/docs/class-Mailchimp_lib.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Messages.html b/docs/class-Messages.html
index cd105673b..e265fc601 100644
--- a/docs/class-Messages.html
+++ b/docs/class-Messages.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Migrate.html b/docs/class-Migrate.html
index 9b68b816c..458b6ff4b 100644
--- a/docs/class-Migrate.html
+++ b/docs/class-Migrate.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Migration_Sales_Tax_Data.html b/docs/class-Migration_Sales_Tax_Data.html
index ce389f07b..d3e98be52 100644
--- a/docs/class-Migration_Sales_Tax_Data.html
+++ b/docs/class-Migration_Sales_Tax_Data.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Module.html b/docs/class-Module.html
index fd695dc4b..6ff4f6ffb 100644
--- a/docs/class-Module.html
+++ b/docs/class-Module.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-No_Access.html b/docs/class-No_Access.html
index 45b69d207..f73afa497 100644
--- a/docs/class-No_Access.html
+++ b/docs/class-No_Access.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Person.html b/docs/class-Person.html
index 1b136c283..f4fc07768 100644
--- a/docs/class-Person.html
+++ b/docs/class-Person.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Persons.html b/docs/class-Persons.html
index e9f8da020..202b678a5 100644
--- a/docs/class-Persons.html
+++ b/docs/class-Persons.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Receiving.html b/docs/class-Receiving.html
index 3b532b667..1b11beff3 100644
--- a/docs/class-Receiving.html
+++ b/docs/class-Receiving.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Receiving_lib.html b/docs/class-Receiving_lib.html
index a9359224e..2cebb0d36 100644
--- a/docs/class-Receiving_lib.html
+++ b/docs/class-Receiving_lib.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Receivings.html b/docs/class-Receivings.html
index 970cde088..58c5dca93 100644
--- a/docs/class-Receivings.html
+++ b/docs/class-Receivings.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Report.html b/docs/class-Report.html
index 89bcfbe32..a656fa092 100644
--- a/docs/class-Report.html
+++ b/docs/class-Report.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Reports.html b/docs/class-Reports.html
index bba0528c7..283e13420 100644
--- a/docs/class-Reports.html
+++ b/docs/class-Reports.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Rewards.html b/docs/class-Rewards.html
index c9df160f4..98149439c 100644
--- a/docs/class-Rewards.html
+++ b/docs/class-Rewards.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Rounding_code.html b/docs/class-Rounding_mode.html
similarity index 88%
rename from docs/class-Rounding_code.html
rename to docs/class-Rounding_mode.html
index e39d208ad..cac1e9a47 100644
--- a/docs/class-Rounding_code.html
+++ b/docs/class-Rounding_mode.html
@@ -3,7 +3,7 @@
-
Class Rounding_code
+
Class Rounding_mode
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
@@ -206,12 +206,9 @@
-
Class Rounding_code
+
Class Rounding_mode
-
@@ -227,7 +224,7 @@
-
Located at models/enums/Rounding_code.php
+
Located at models/enums/Rounding_mode.php
@@ -247,7 +244,7 @@
#
-
get_rounding_options ( )
+
get_rounding_options ( )
@@ -277,7 +274,7 @@
#
-
get_rounding_code_name ( $rounding_code )
+
get_rounding_code_name ( $code )
@@ -307,7 +304,37 @@
+
+
+
+
+ public static
+
+
+
+
+
+
+
+
#
+
round_number ( $rounding_mode , $amount , $decimals )
@@ -341,7 +368,7 @@
integer
- HALF_UP
+ HALF_UP
@@ -356,7 +383,7 @@
#
-
0
+
PHP_ROUND_HALF_UP
@@ -365,7 +392,7 @@
integer
- HALF_DOWN
+ HALF_DOWN
@@ -380,7 +407,7 @@
#
-
1
+
PHP_ROUND_HALF_DOWN
@@ -389,7 +416,7 @@
integer
- HALF_EVEN
+ HALF_EVEN
@@ -404,7 +431,7 @@
#
-
2
+
PHP_ROUND_HALF_EVEN
@@ -413,7 +440,7 @@
integer
- HALF_ODD
+ HALF_ODD
@@ -428,7 +455,7 @@
#
-
3
+
PHP_ROUND_HALF_ODD
@@ -437,7 +464,7 @@
integer
- ROUND_UP
+ ROUND_UP
@@ -452,7 +479,7 @@
@@ -461,7 +488,7 @@
integer
- ROUND_DOWN
+ ROUND_DOWN
@@ -476,7 +503,7 @@
@@ -485,7 +512,7 @@
integer
- HALF_FIVE
+ HALF_FIVE
@@ -320,7 +320,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
@@ -350,7 +350,7 @@ CI_Model
#
-
get_payments_summary ( $search , $filters )
+
get_payments_summary ( $search , $filters )
Get the payment summary for the takings (sales/manage) view
@@ -380,7 +380,7 @@ CI_Model
#
-
get_total_rows ( )
+
get_total_rows ( )
Gets total of rows
@@ -410,7 +410,7 @@ CI_Model
#
-
get_search_suggestions ( $search , $limit = 25 )
+
get_search_suggestions ( $search , $limit = 25 )
Gets search suggestions
@@ -440,7 +440,7 @@ CI_Model
#
-
get_invoice_count ( )
+
get_invoice_count ( )
Gets total of invoice rows
@@ -470,7 +470,7 @@ CI_Model
#
-
get_sale_by_invoice_number ( $invoice_number )
+
get_sale_by_invoice_number ( $invoice_number )
Gets sale by invoice number
@@ -500,7 +500,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
@@ -530,7 +530,7 @@ CI_Model
#
-
is_valid_receipt ( & $receipt_sale_id )
+
is_valid_receipt ( & $receipt_sale_id )
Checks if valid receipt
@@ -560,7 +560,7 @@ CI_Model
#
-
exists ( $sale_id )
+
exists ( $sale_id )
Checks if sale exists
@@ -590,7 +590,7 @@ CI_Model
#
-
update ( $sale_id , $sale_data , $payments )
+
update ( $sale_id , $sale_data , $payments )
Update sale
@@ -620,7 +620,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
@@ -652,7 +652,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
@@ -690,7 +690,7 @@ as a separate tax entry on the invoice.
#
-
save_sales_tax ( & $sales_taxes )
+
save_sales_tax ( & $sales_taxes )
Saves sale tax
@@ -720,7 +720,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
@@ -750,7 +750,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
@@ -780,7 +780,7 @@ as a separate tax entry on the invoice.
#
-
get_sale_items ( $sale_id )
+
get_sale_items ( $sale_id )
Gets sale item
@@ -810,7 +810,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
@@ -840,7 +840,7 @@ as a separate tax entry on the invoice.
#
-
get_sale_payments ( $sale_id )
+
get_sale_payments ( $sale_id )
Gets sale payments
@@ -870,7 +870,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
@@ -900,7 +900,7 @@ as a separate tax entry on the invoice.
#
-
get_customer ( $sale_id )
+
get_customer ( $sale_id )
Gets sale customer name
@@ -930,7 +930,7 @@ as a separate tax entry on the invoice.
#
-
get_employee ( $sale_id )
+
get_employee ( $sale_id )
Gets sale employee name
@@ -960,7 +960,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 = '' )
@@ -990,7 +990,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
@@ -1020,7 +1020,7 @@ as a separate tax entry on the invoice.
#
-
get_giftcard_value ( $giftcardNumber )
+
get_giftcard_value ( $giftcardNumber )
Gets Giftcard value
@@ -1050,7 +1050,7 @@ as a separate tax entry on the invoice.
#
-
create_temp_table ( array $inputs )
+
create_temp_table ( array $inputs )
Creates sales temporary dimentional table
@@ -1082,7 +1082,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
@@ -1112,7 +1112,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
@@ -1142,7 +1142,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
@@ -1172,7 +1172,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
@@ -1202,7 +1202,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
@@ -1232,7 +1232,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.
@@ -1264,7 +1264,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 )
@@ -2921,7 +2921,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 74e458bd0..6731bc800 100644
--- a/docs/class-Sale_suspended.html
+++ b/docs/class-Sale_suspended.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Sales.html b/docs/class-Sales.html
index ee843af42..a1dde4425 100644
--- a/docs/class-Sales.html
+++ b/docs/class-Sales.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Secure_Controller.html b/docs/class-Secure_Controller.html
index f8ce5cf09..61820c741 100644
--- a/docs/class-Secure_Controller.html
+++ b/docs/class-Secure_Controller.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Sms_lib.html b/docs/class-Sms_lib.html
index b4dd9e2a9..6244e97d7 100644
--- a/docs/class-Sms_lib.html
+++ b/docs/class-Sms_lib.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Specific_customer.html b/docs/class-Specific_customer.html
index 892d13c93..f74dc3492 100644
--- a/docs/class-Specific_customer.html
+++ b/docs/class-Specific_customer.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Specific_discount.html b/docs/class-Specific_discount.html
index f8dfc1388..ef5c9cbcd 100644
--- a/docs/class-Specific_discount.html
+++ b/docs/class-Specific_discount.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Specific_employee.html b/docs/class-Specific_employee.html
index e86b4db05..bec002ab3 100644
--- a/docs/class-Specific_employee.html
+++ b/docs/class-Specific_employee.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Stock_location.html b/docs/class-Stock_location.html
index fb92f5c29..c12f90d83 100644
--- a/docs/class-Stock_location.html
+++ b/docs/class-Stock_location.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
@@ -240,7 +240,7 @@ CI_Model
-
Located at models/Stock_location.php
+
Located at models/Stock_location.php
@@ -260,7 +260,7 @@ CI_Model
#
-
exists ( $location_name = '' )
+
exists ( $location_id = -1 )
@@ -290,7 +290,7 @@ CI_Model
#
-
get_all ( $limit = 10000 , $offset = 0 )
+
get_all ( )
@@ -320,7 +320,7 @@ CI_Model
#
-
get_undeleted_all ( $module_id = 'items' )
+
get_undeleted_all ( $module_id = 'items' )
@@ -350,7 +350,7 @@ CI_Model
#
-
show_locations ( $module_id = 'items' )
+
show_locations ( $module_id = 'items' )
@@ -380,7 +380,7 @@ CI_Model
#
-
multiple_locations ( )
+
multiple_locations ( )
@@ -410,7 +410,7 @@ CI_Model
#
-
get_allowed_locations ( $module_id = 'items' )
+
get_allowed_locations ( $module_id = 'items' )
@@ -440,7 +440,7 @@ CI_Model
#
-
is_allowed_location ( $location_id , $module_id = 'items' )
+
is_allowed_location ( $location_id , $module_id = 'items' )
@@ -470,7 +470,7 @@ CI_Model
#
-
get_default_location_id ( )
+
get_default_location_id ( )
@@ -500,7 +500,7 @@ CI_Model
#
-
get_location_name ( $location_id )
+
get_location_name ( $location_id )
@@ -530,7 +530,7 @@ CI_Model
#
-
save ( & $location_data , $location_id )
+
save ( & $location_data , $location_id )
@@ -560,7 +560,7 @@ CI_Model
#
-
delete ( $location_id )
+
delete ( $location_id )
diff --git a/docs/class-Summary_categories.html b/docs/class-Summary_categories.html
index 86285b812..19d9b7ddb 100644
--- a/docs/class-Summary_categories.html
+++ b/docs/class-Summary_categories.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_customers.html b/docs/class-Summary_customers.html
index 3b22057b7..4730c8313 100644
--- a/docs/class-Summary_customers.html
+++ b/docs/class-Summary_customers.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_discounts.html b/docs/class-Summary_discounts.html
index e849e0b59..620363a7a 100644
--- a/docs/class-Summary_discounts.html
+++ b/docs/class-Summary_discounts.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_employees.html b/docs/class-Summary_employees.html
index 208607935..be6186a29 100644
--- a/docs/class-Summary_employees.html
+++ b/docs/class-Summary_employees.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_items.html b/docs/class-Summary_items.html
index feee4c71e..646a5c529 100644
--- a/docs/class-Summary_items.html
+++ b/docs/class-Summary_items.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_payments.html b/docs/class-Summary_payments.html
index 5685fe7b5..a49d95447 100644
--- a/docs/class-Summary_payments.html
+++ b/docs/class-Summary_payments.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_report.html b/docs/class-Summary_report.html
index fc807ac7d..696cfbf0b 100644
--- a/docs/class-Summary_report.html
+++ b/docs/class-Summary_report.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_sales.html b/docs/class-Summary_sales.html
index 758ad774e..845699015 100644
--- a/docs/class-Summary_sales.html
+++ b/docs/class-Summary_sales.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_suppliers.html b/docs/class-Summary_suppliers.html
index a0dc5575e..adf7d481b 100644
--- a/docs/class-Summary_suppliers.html
+++ b/docs/class-Summary_suppliers.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Summary_taxes.html b/docs/class-Summary_taxes.html
index f68917486..7b4a843e2 100644
--- a/docs/class-Summary_taxes.html
+++ b/docs/class-Summary_taxes.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Supplier.html b/docs/class-Supplier.html
index 217e00753..ba6e064cb 100644
--- a/docs/class-Supplier.html
+++ b/docs/class-Supplier.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Suppliers.html b/docs/class-Suppliers.html
index 72628a59a..a550510e9 100644
--- a/docs/class-Suppliers.html
+++ b/docs/class-Suppliers.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
diff --git a/docs/class-Tax.html b/docs/class-Tax.html
index 62716993d..0a7d66355 100644
--- a/docs/class-Tax.html
+++ b/docs/class-Tax.html
@@ -87,7 +87,7 @@
Report
Reports
Rewards
-
Rounding_code
+
Rounding_mode
Sale
Sale_lib
Sale_suspended
@@ -240,7 +240,7 @@ CI_Model
-
Located at models/Tax.php
+
Located at models/Tax.php
@@ -260,14 +260,14 @@ CI_Model
#
-
exists ( $tax_code )
+
exists ( $tax_code )
-
+
Determines if a given tax_code is on file
-
+
Determines if a given tax_code is on file
@@ -305,6 +305,36 @@ CI_Model
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
@@ -320,7 +350,37 @@ CI_Model
+
+
+
+
+ public
+
+
+
+
+
+
+
+
#
+
get_tax_category_usage ( $tax_category_id )
@@ -350,14 +410,14 @@ CI_Model
#
-
get_info ( $tax_code )
+
get_info ( $tax_code )
-
+
Gets information about a particular tax_code
-
+
Gets information about a particular tax_code
@@ -380,14 +440,14 @@ CI_Model
#
-
get_rate_info ( $tax_code , $tax_category_id )
+
get_rate_info ( $tax_code , $tax_category_id )
-
+
Gets information about a particular tax_code
-
+
Gets information about a particular tax_code
@@ -410,14 +470,14 @@ CI_Model
#
-
get_sales_tax_code ( $city = '' , $state = '' )
+
get_sales_tax_code ( $city = '' , $state = '' )
-
+
Gets the tax code to use for a given customer
-
+
Gets the tax code to use for a given customer
@@ -440,14 +500,44 @@ CI_Model
#
-
save ( & $tax_code_data , $tax_rate_data , $tax_code = -1 )
+
save ( & $tax_code_data , $tax_rate_data , $tax_code = -1 )
-
+
Inserts or updates a tax_codes entry
+
Inserts or updates a tax_codes entry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
#
+
save_tax_category ( & $tax_category_data , & $tax_category_id )
+
+
+
Inserts or updates a tax_category
+
+
+
+
Inserts or updates a tax_category
@@ -470,14 +560,14 @@ CI_Model
#
-
save_tax_rates ( & $tax_rate_data , $tax_code )
+
save_tax_rates ( & $tax_rate_data , $tax_code )
-
+
Inserts or updates a tax_rate
-
+
Inserts or updates a tax_rate
@@ -500,14 +590,14 @@ CI_Model
#
-
save_tax_rate_exceptions ( & $tax_rate_data , $tax_code )
+
save_tax_rate_exceptions ( & $tax_rate_data , $tax_code )
-
+
Inserts or updates an item kit's items
-
+
Inserts or updates an item kit's items
@@ -530,14 +620,44 @@ CI_Model
#
-
delete ( $tax_code )
+
delete ( $tax_code )
-
+
Deletes one tax_codes entry
+
Deletes one tax_codes entry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
#
+
delete_tax_category ( $tax_category_id )
+
+
+
Deletes one tax_codes entry
+
+
+
+
Deletes one tax_codes entry
@@ -560,14 +680,14 @@ CI_Model
#
-
delete_list ( $tax_codes )
+
delete_list ( $tax_codes )
-
+
Deletes a list of tax codes
-
+
Deletes a list of tax codes
@@ -590,14 +710,14 @@ CI_Model
#
-
delete_tax_rate_exceptions ( $tax_code )
+
delete_tax_rate_exceptions ( $tax_code )
-
+
Deletes all tax_rate_exceptions for given tax codes
-
+
Deletes all tax_rate_exceptions for given tax codes
@@ -620,14 +740,14 @@ CI_Model
#
-
search ( $search , $rows = 0 , $limit_from = 0 , $sort = 'tax_code' , $order = 'asc' )
+
search ( $search , $rows = 0 , $limit_from = 0 , $sort = 'tax_code' , $order = 'asc' )
-
+
Performs a search on tax_codes
-
+
Performs a search on tax_codes
@@ -650,14 +770,14 @@ CI_Model