Added Export to Google Drive buttons in com_sales for the sales and return lists
On com_sales, added the option to use the commission system or not.
Updated location_summary in views to better handle database results and to add an if statement if taking commission into account.
Changed save action in com_sales for countsheets to include a parameter for running count. Also changed run_count in the class com_sales_countsheet to remove multiple foreach loops
Changed run_count() function in com_sales_countsheet class to reduce amount of for loops
Updated save action in com_sales for countsheet. Also edited run_count function in com_sales_countsheet class.
Updated com_sales_countsheet class in com_sales.
Remove run_count from print_form in com_sales_countsheet. Also removed parameter $run from print_form and removed references in the action countsheets/save
Edited com_sales_countsheet run_count function to consolidate loops.
Moved stock calls inside the for loops in com_sales_countsheet for run_count
Removed initial get stock entities call in run_count in com_sales_countsheet.
Removed initial get stock entities call in run_count in com_sales_countsheet.
Updated run_count() in com_sales_countsheet
On com_sales, made sure to use the config option use_commission before running the add_commission function in a return .
Modified run_count in the class com_sales_countsheet for com_sales component
Modified run_count function in com_sales_countsheet in com_sales
Changed run_count in com_sales for the class com_sales_countsheet
Removed product searches from run_count in com_sales_countsheet
Changed run_count to get location's stock initially
Modified run_count function in com_sales for the class com_sales_countsheet