From eed0cd1ca0344d9c1eeb3b889eac03bd2ae3e587 Mon Sep 17 00:00:00 2001 From: jekkos Date: Fri, 11 Nov 2022 23:40:25 +0100 Subject: [PATCH] Prepare rebase: move files to new folder structure --- app/Config/hooks.php | 45 +++++++++++++++++++ .../Controllers}/Attributes.php | 0 .../Controllers}/Cashups.php | 0 .../Controllers}/Config.php | 0 .../Controllers}/Customers.php | 0 .../Controllers}/Employees.php | 0 .../Controllers}/Expenses.php | 0 .../Controllers}/Expenses_categories.php | 0 .../Controllers}/Giftcards.php | 0 .../controllers => app/Controllers}/Home.php | 0 .../Controllers}/Item_kits.php | 0 .../controllers => app/Controllers}/Items.php | 0 .../controllers => app/Controllers}/Login.php | 0 .../Controllers}/Messages.php | 0 .../Controllers}/No_access.php | 0 .../Controllers}/Office.php | 0 .../Controllers}/Persons.php | 0 .../Controllers}/Receivings.php | 0 .../Controllers}/Reports.php | 0 .../controllers => app/Controllers}/Sales.php | 0 .../Controllers}/Secure_Controller.php | 0 .../Controllers}/Suppliers.php | 0 .../Controllers}/Tax_categories.php | 0 .../Controllers}/Tax_codes.php | 0 .../Controllers}/Tax_jurisdictions.php | 0 .../controllers => app/Controllers}/Taxes.php | 0 .../Controllers}/index.html | 0 .../helpers => app/Helpers}/dompdf_helper.php | 0 .../Helpers}/importfile_helper.php | 0 .../helpers => app/Helpers}/index.html | 0 .../helpers => app/Helpers}/locale_helper.php | 0 .../Helpers}/migration_helper.php | 0 .../helpers => app/Helpers}/report_helper.php | 0 .../helpers => app/Helpers}/sale_helper.php | 0 .../Helpers}/tabular_helper.php | 0 .../helpers => app/Helpers}/tax_helper.php | 0 .../Libraries}/Barcode_lib.php | 0 .../libraries => app/Libraries}/Email_lib.php | 0 .../libraries => app/Libraries}/Item_lib.php | 0 .../libraries => app/Libraries}/MY_Email.php | 0 .../Libraries}/MY_Migration.php | 0 .../Libraries}/Mailchimp_lib.php | 0 .../Libraries}/Receiving_lib.php | 0 .../libraries => app/Libraries}/Sale_lib.php | 0 .../libraries => app/Libraries}/Sms_lib.php | 0 .../libraries => app/Libraries}/Tax_lib.php | 0 .../libraries => app/Libraries}/Token_lib.php | 0 .../libraries => app/Libraries}/index.html | 0 .../20170501150000_upgrade_to_3_1_1.php | 0 .../20170502221506_sales_tax_data.php | 0 .../20180225100000_upgrade_to_3_2_0.php | 0 .../20180501100000_upgrade_to_3_2_1.php | 0 .../Migrations}/20181015100000_attributes.php | 0 .../20190111270000_upgrade_to_3_3_0.php | 0 .../Migrations}/20190129212600_indiagst.php | 0 .../Migrations}/20190213210000_indiagst1.php | 0 .../Migrations}/20190220210000_indiagst2.php | 0 .../20190301124900_decimal_attribute_type.php | 0 .../20190317102600_add_iso_4217.php | 0 .../20190427100000_paymenttracking.php | 0 .../20190502100000_refundtracking.php | 0 .../Migrations}/20190612100000_dbfix.php | 0 .../20190615100000_fix_attribute_datetime.php | 0 .../20190712150200_fix_empty_reports.php | 0 .../20191008100000_receipttaxindicator.php | 0 .../20191231100000_paymentdatefix.php | 0 .../20200125100000_saleschangeprice.php | 0 .../Migrations}/20200202000000_taxamount.php | 0 .../20200215100000_taxgroupconstraint.php | 0 .../20200508000000_image_upload_defaults.php | 0 ...819000000_modify_attr_links_constraint.php | 0 .../20201108100000_cashrounding.php | 0 .../20201110000000_add_item_kit_number.php | 0 ...20210103000000_modify_session_datatype.php | 0 .../20210422000000_database_optimizations.php | 0 .../20210422000001_remove_duplicate_links.php | 0 ...0210714140000_move_expenses_categories.php | 0 .../models => app/Models}/Appconfig.php | 0 .../models => app/Models}/Employee.php | 0 .../Reports}/reports/Detailed_receivings.php | 0 .../Reports}/reports/Detailed_sales.php | 0 .../Models/Reports}/reports/Inventory_low.php | 0 .../Reports}/reports/Inventory_summary.php | 0 .../Models/Reports}/reports/Report.php | 0 .../Reports}/reports/Specific_customer.php | 0 .../Reports}/reports/Specific_discount.php | 0 .../Reports}/reports/Specific_employee.php | 0 .../Reports}/reports/Specific_supplier.php | 0 .../Reports}/reports/Summary_categories.php | 0 .../Reports}/reports/Summary_customers.php | 0 .../Reports}/reports/Summary_discounts.php | 0 .../Reports}/reports/Summary_employees.php | 0 .../reports/Summary_expenses_categories.php | 0 .../Models/Reports}/reports/Summary_items.php | 0 .../Reports}/reports/Summary_payments.php | 0 .../Reports}/reports/Summary_report.php | 0 .../Models/Reports}/reports/Summary_sales.php | 0 .../Reports}/reports/Summary_sales_taxes.php | 0 .../Reports}/reports/Summary_suppliers.php | 0 .../Models/Reports}/reports/Summary_taxes.php | 0 {application/models => app/Models}/Sale.php | 0 .../Models/Tokens}/Token_invoice_sequence.php | 0 .../Models/Tokens}/Token_quote_sequence.php | 0 .../Tokens}/Token_work_order_sequence.php | 0 .../views => app/View}/partial/footer.php | 0 .../views => app/View}/partial/header.php | 0 .../views => app/Views}/attributes/form.php | 0 .../views => app/Views}/attributes/item.php | 0 .../views => app/Views}/attributes/manage.php | 0 .../Views}/barcodes/BarcodeBase.php | 0 .../views => app/Views}/barcodes/Code128.php | 0 .../views => app/Views}/barcodes/Code39.php | 0 .../views => app/Views}/barcodes/Ean13.php | 0 .../views => app/Views}/barcodes/Ean8.php | 0 .../Views}/barcodes/barcode_sheet.php | 0 .../views => app/Views}/cashups/form.php | 0 .../views => app/Views}/cashups/manage.php | 0 .../Views}/configs/barcode_config.php | 0 .../Views}/configs/email_config.php | 0 .../Views}/configs/general_config.php | 0 .../Views}/configs/info_config.php | 0 .../Views}/configs/integrations_config.php | 0 .../Views}/configs/invoice_config.php | 0 .../Views}/configs/license_config.php | 0 .../Views}/configs/locale_config.php | 0 .../views => app/Views}/configs/manage.php | 0 .../Views}/configs/message_config.php | 0 .../Views}/configs/receipt_config.php | 0 .../Views}/configs/reward_config.php | 0 .../Views}/configs/stock_config.php | 0 .../Views}/configs/system_config.php | 0 .../Views}/configs/system_info.php | 0 .../Views}/configs/table_config.php | 0 .../Views}/configs/tax_config.php | 0 .../views => app/Views}/customers/form.php | 0 .../Views}/customers/form_csv_import.php | 0 .../views => app/Views}/employees/form.php | 0 .../Views}/errors/cli/error_404.php | 0 .../Views}/errors/cli/error_db.php | 0 .../Views}/errors/cli/error_exception.php | 0 .../Views}/errors/cli/error_general.php | 0 .../Views}/errors/cli/error_php.php | 0 .../views => app/Views}/errors/cli/index.html | 0 .../Views}/errors/html/error_404.php | 0 .../Views}/errors/html/error_db.php | 0 .../Views}/errors/html/error_exception.php | 0 .../Views}/errors/html/error_general.php | 0 .../Views}/errors/html/error_php.php | 0 .../Views}/errors/html/index.html | 0 .../views => app/Views}/errors/index.html | 0 .../views => app/Views}/expenses/form.php | 0 .../views => app/Views}/expenses/manage.php | 0 .../Views}/expenses_categories/form.php | 0 .../Views}/expenses_categories/manage.php | 0 .../views => app/Views}/giftcards/form.php | 0 .../views => app/Views}/giftcards/manage.php | 0 .../Views}/home/form_change_password.php | 0 .../views => app/Views}/home/home.php | 0 .../views => app/Views}/home/office.php | 0 {application/views => app/Views}/index.html | 0 .../views => app/Views}/item_kits/form.php | 0 .../views => app/Views}/item_kits/manage.php | 0 .../views => app/Views}/items/form.php | 0 .../views => app/Views}/items/form_bulk.php | 0 .../Views}/items/form_count_details.php | 0 .../Views}/items/form_csv_import.php | 0 .../Views}/items/form_inventory.php | 0 .../views => app/Views}/items/manage.php | 0 {application/views => app/Views}/login.php | 0 .../views => app/Views}/messages/form_sms.php | 0 .../views => app/Views}/messages/index.html | 0 .../views => app/Views}/messages/sms.php | 0 .../views => app/Views}/no_access.php | 0 .../partial/bootstrap_tables_locale.php | 0 .../Views}/partial/customer_rewards.php | 0 .../Views}/partial/datepicker_locale.php | 0 .../Views}/partial/daterangepicker.php | 0 .../Views}/partial/dinner_tables.php | 0 .../views => app/Views}/partial/header_js.php | 0 .../Views}/partial/lang_lines.php | 0 .../Views}/partial/print_receipt.php | 0 .../Views}/partial/stock_locations.php | 0 .../Views}/partial/tax_categories.php | 0 .../views => app/Views}/partial/tax_codes.php | 0 .../Views}/partial/tax_jurisdictions.php | 0 .../Views}/people/form_basic_info.php | 0 .../views => app/Views}/people/manage.php | 0 .../views => app/Views}/receivings/form.php | 0 .../Views}/receivings/receipt.php | 0 .../Views}/receivings/receiving.php | 0 .../Views}/reports/date_input.php | 0 .../views => app/Views}/reports/graphical.php | 0 .../Views}/reports/graphs/bar.php | 0 .../Views}/reports/graphs/hbar.php | 0 .../Views}/reports/graphs/line.php | 0 .../Views}/reports/graphs/pie.php | 0 .../reports/inventory_summary_input.php | 0 .../views => app/Views}/reports/listing.php | 0 .../reports/specific_customer_input.php | 0 .../Views}/reports/specific_input.php | 0 .../views => app/Views}/reports/tabular.php | 0 .../Views}/reports/tabular_details.php | 0 .../views => app/Views}/sales/form.php | 0 .../views => app/Views}/sales/help.php | 0 .../views => app/Views}/sales/invoice.php | 0 .../Views}/sales/invoice_email.php | 0 .../views => app/Views}/sales/manage.php | 0 .../views => app/Views}/sales/quote.php | 0 .../views => app/Views}/sales/quote_email.php | 0 .../views => app/Views}/sales/receipt.php | 0 .../Views}/sales/receipt_default.php | 0 .../Views}/sales/receipt_email.php | 0 .../Views}/sales/receipt_short.php | 0 .../views => app/Views}/sales/register.php | 0 .../views => app/Views}/sales/suspended.php | 0 .../views => app/Views}/sales/tax_invoice.php | 0 .../views => app/Views}/sales/work_order.php | 0 .../Views}/sales/work_order_email.php | 0 .../views => app/Views}/suppliers/form.php | 0 .../views => app/Views}/taxes/manage.php | 0 .../Views}/taxes/tax_categories.php | 0 .../views => app/Views}/taxes/tax_codes.php | 0 .../Views}/taxes/tax_jurisdictions.php | 0 .../views => app/Views}/taxes/tax_rates.php | 0 .../Views}/taxes/tax_rates_form.php | 0 225 files changed, 45 insertions(+) create mode 100644 app/Config/hooks.php rename {application/controllers => app/Controllers}/Attributes.php (100%) rename {application/controllers => app/Controllers}/Cashups.php (100%) rename {application/controllers => app/Controllers}/Config.php (100%) rename {application/controllers => app/Controllers}/Customers.php (100%) rename {application/controllers => app/Controllers}/Employees.php (100%) rename {application/controllers => app/Controllers}/Expenses.php (100%) rename {application/controllers => app/Controllers}/Expenses_categories.php (100%) rename {application/controllers => app/Controllers}/Giftcards.php (100%) rename {application/controllers => app/Controllers}/Home.php (100%) rename {application/controllers => app/Controllers}/Item_kits.php (100%) rename {application/controllers => app/Controllers}/Items.php (100%) rename {application/controllers => app/Controllers}/Login.php (100%) rename {application/controllers => app/Controllers}/Messages.php (100%) rename {application/controllers => app/Controllers}/No_access.php (100%) rename {application/controllers => app/Controllers}/Office.php (100%) rename {application/controllers => app/Controllers}/Persons.php (100%) rename {application/controllers => app/Controllers}/Receivings.php (100%) rename {application/controllers => app/Controllers}/Reports.php (100%) rename {application/controllers => app/Controllers}/Sales.php (100%) rename {application/controllers => app/Controllers}/Secure_Controller.php (100%) rename {application/controllers => app/Controllers}/Suppliers.php (100%) rename {application/controllers => app/Controllers}/Tax_categories.php (100%) rename {application/controllers => app/Controllers}/Tax_codes.php (100%) rename {application/controllers => app/Controllers}/Tax_jurisdictions.php (100%) rename {application/controllers => app/Controllers}/Taxes.php (100%) rename {application/controllers => app/Controllers}/index.html (100%) rename {application/helpers => app/Helpers}/dompdf_helper.php (100%) rename {application/helpers => app/Helpers}/importfile_helper.php (100%) rename {application/helpers => app/Helpers}/index.html (100%) rename {application/helpers => app/Helpers}/locale_helper.php (100%) rename {application/helpers => app/Helpers}/migration_helper.php (100%) rename {application/helpers => app/Helpers}/report_helper.php (100%) rename {application/helpers => app/Helpers}/sale_helper.php (100%) rename {application/helpers => app/Helpers}/tabular_helper.php (100%) rename {application/helpers => app/Helpers}/tax_helper.php (100%) rename {application/libraries => app/Libraries}/Barcode_lib.php (100%) rename {application/libraries => app/Libraries}/Email_lib.php (100%) rename {application/libraries => app/Libraries}/Item_lib.php (100%) rename {application/libraries => app/Libraries}/MY_Email.php (100%) rename {application/libraries => app/Libraries}/MY_Migration.php (100%) rename {application/libraries => app/Libraries}/Mailchimp_lib.php (100%) rename {application/libraries => app/Libraries}/Receiving_lib.php (100%) rename {application/libraries => app/Libraries}/Sale_lib.php (100%) rename {application/libraries => app/Libraries}/Sms_lib.php (100%) rename {application/libraries => app/Libraries}/Tax_lib.php (100%) rename {application/libraries => app/Libraries}/Token_lib.php (100%) rename {application/libraries => app/Libraries}/index.html (100%) rename {application/migrations => app/Migrations}/20170501150000_upgrade_to_3_1_1.php (100%) rename {application/migrations => app/Migrations}/20170502221506_sales_tax_data.php (100%) rename {application/migrations => app/Migrations}/20180225100000_upgrade_to_3_2_0.php (100%) rename {application/migrations => app/Migrations}/20180501100000_upgrade_to_3_2_1.php (100%) rename {application/migrations => app/Migrations}/20181015100000_attributes.php (100%) rename {application/migrations => app/Migrations}/20190111270000_upgrade_to_3_3_0.php (100%) rename {application/migrations => app/Migrations}/20190129212600_indiagst.php (100%) rename {application/migrations => app/Migrations}/20190213210000_indiagst1.php (100%) rename {application/migrations => app/Migrations}/20190220210000_indiagst2.php (100%) rename {application/migrations => app/Migrations}/20190301124900_decimal_attribute_type.php (100%) rename {application/migrations => app/Migrations}/20190317102600_add_iso_4217.php (100%) rename {application/migrations => app/Migrations}/20190427100000_paymenttracking.php (100%) rename {application/migrations => app/Migrations}/20190502100000_refundtracking.php (100%) rename {application/migrations => app/Migrations}/20190612100000_dbfix.php (100%) rename {application/migrations => app/Migrations}/20190615100000_fix_attribute_datetime.php (100%) rename {application/migrations => app/Migrations}/20190712150200_fix_empty_reports.php (100%) rename {application/migrations => app/Migrations}/20191008100000_receipttaxindicator.php (100%) rename {application/migrations => app/Migrations}/20191231100000_paymentdatefix.php (100%) rename {application/migrations => app/Migrations}/20200125100000_saleschangeprice.php (100%) rename {application/migrations => app/Migrations}/20200202000000_taxamount.php (100%) rename {application/migrations => app/Migrations}/20200215100000_taxgroupconstraint.php (100%) rename {application/migrations => app/Migrations}/20200508000000_image_upload_defaults.php (100%) rename {application/migrations => app/Migrations}/20200819000000_modify_attr_links_constraint.php (100%) rename {application/migrations => app/Migrations}/20201108100000_cashrounding.php (100%) rename {application/migrations => app/Migrations}/20201110000000_add_item_kit_number.php (100%) rename {application/migrations => app/Migrations}/20210103000000_modify_session_datatype.php (100%) rename {application/migrations => app/Migrations}/20210422000000_database_optimizations.php (100%) rename {application/migrations => app/Migrations}/20210422000001_remove_duplicate_links.php (100%) rename {application/migrations => app/Migrations}/20210714140000_move_expenses_categories.php (100%) rename {application/models => app/Models}/Appconfig.php (100%) rename {application/models => app/Models}/Employee.php (100%) rename {application/models => app/Models/Reports}/reports/Detailed_receivings.php (100%) rename {application/models => app/Models/Reports}/reports/Detailed_sales.php (100%) rename {application/models => app/Models/Reports}/reports/Inventory_low.php (100%) rename {application/models => app/Models/Reports}/reports/Inventory_summary.php (100%) rename {application/models => app/Models/Reports}/reports/Report.php (100%) rename {application/models => app/Models/Reports}/reports/Specific_customer.php (100%) rename {application/models => app/Models/Reports}/reports/Specific_discount.php (100%) rename {application/models => app/Models/Reports}/reports/Specific_employee.php (100%) rename {application/models => app/Models/Reports}/reports/Specific_supplier.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_categories.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_customers.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_discounts.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_employees.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_expenses_categories.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_items.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_payments.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_report.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_sales.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_sales_taxes.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_suppliers.php (100%) rename {application/models => app/Models/Reports}/reports/Summary_taxes.php (100%) rename {application/models => app/Models}/Sale.php (100%) rename {application/models/tokens => app/Models/Tokens}/Token_invoice_sequence.php (100%) rename {application/models/tokens => app/Models/Tokens}/Token_quote_sequence.php (100%) rename {application/models/tokens => app/Models/Tokens}/Token_work_order_sequence.php (100%) rename {application/views => app/View}/partial/footer.php (100%) rename {application/views => app/View}/partial/header.php (100%) rename {application/views => app/Views}/attributes/form.php (100%) rename {application/views => app/Views}/attributes/item.php (100%) rename {application/views => app/Views}/attributes/manage.php (100%) rename {application/views => app/Views}/barcodes/BarcodeBase.php (100%) rename {application/views => app/Views}/barcodes/Code128.php (100%) rename {application/views => app/Views}/barcodes/Code39.php (100%) rename {application/views => app/Views}/barcodes/Ean13.php (100%) rename {application/views => app/Views}/barcodes/Ean8.php (100%) rename {application/views => app/Views}/barcodes/barcode_sheet.php (100%) rename {application/views => app/Views}/cashups/form.php (100%) rename {application/views => app/Views}/cashups/manage.php (100%) rename {application/views => app/Views}/configs/barcode_config.php (100%) rename {application/views => app/Views}/configs/email_config.php (100%) rename {application/views => app/Views}/configs/general_config.php (100%) rename {application/views => app/Views}/configs/info_config.php (100%) rename {application/views => app/Views}/configs/integrations_config.php (100%) rename {application/views => app/Views}/configs/invoice_config.php (100%) rename {application/views => app/Views}/configs/license_config.php (100%) rename {application/views => app/Views}/configs/locale_config.php (100%) rename {application/views => app/Views}/configs/manage.php (100%) rename {application/views => app/Views}/configs/message_config.php (100%) rename {application/views => app/Views}/configs/receipt_config.php (100%) rename {application/views => app/Views}/configs/reward_config.php (100%) rename {application/views => app/Views}/configs/stock_config.php (100%) rename {application/views => app/Views}/configs/system_config.php (100%) rename {application/views => app/Views}/configs/system_info.php (100%) rename {application/views => app/Views}/configs/table_config.php (100%) rename {application/views => app/Views}/configs/tax_config.php (100%) rename {application/views => app/Views}/customers/form.php (100%) rename {application/views => app/Views}/customers/form_csv_import.php (100%) rename {application/views => app/Views}/employees/form.php (100%) rename {application/views => app/Views}/errors/cli/error_404.php (100%) rename {application/views => app/Views}/errors/cli/error_db.php (100%) rename {application/views => app/Views}/errors/cli/error_exception.php (100%) rename {application/views => app/Views}/errors/cli/error_general.php (100%) rename {application/views => app/Views}/errors/cli/error_php.php (100%) rename {application/views => app/Views}/errors/cli/index.html (100%) rename {application/views => app/Views}/errors/html/error_404.php (100%) rename {application/views => app/Views}/errors/html/error_db.php (100%) rename {application/views => app/Views}/errors/html/error_exception.php (100%) rename {application/views => app/Views}/errors/html/error_general.php (100%) rename {application/views => app/Views}/errors/html/error_php.php (100%) rename {application/views => app/Views}/errors/html/index.html (100%) rename {application/views => app/Views}/errors/index.html (100%) rename {application/views => app/Views}/expenses/form.php (100%) rename {application/views => app/Views}/expenses/manage.php (100%) rename {application/views => app/Views}/expenses_categories/form.php (100%) rename {application/views => app/Views}/expenses_categories/manage.php (100%) rename {application/views => app/Views}/giftcards/form.php (100%) rename {application/views => app/Views}/giftcards/manage.php (100%) rename {application/views => app/Views}/home/form_change_password.php (100%) rename {application/views => app/Views}/home/home.php (100%) rename {application/views => app/Views}/home/office.php (100%) rename {application/views => app/Views}/index.html (100%) rename {application/views => app/Views}/item_kits/form.php (100%) rename {application/views => app/Views}/item_kits/manage.php (100%) rename {application/views => app/Views}/items/form.php (100%) rename {application/views => app/Views}/items/form_bulk.php (100%) rename {application/views => app/Views}/items/form_count_details.php (100%) rename {application/views => app/Views}/items/form_csv_import.php (100%) rename {application/views => app/Views}/items/form_inventory.php (100%) rename {application/views => app/Views}/items/manage.php (100%) rename {application/views => app/Views}/login.php (100%) rename {application/views => app/Views}/messages/form_sms.php (100%) rename {application/views => app/Views}/messages/index.html (100%) rename {application/views => app/Views}/messages/sms.php (100%) rename {application/views => app/Views}/no_access.php (100%) rename {application/views => app/Views}/partial/bootstrap_tables_locale.php (100%) rename {application/views => app/Views}/partial/customer_rewards.php (100%) rename {application/views => app/Views}/partial/datepicker_locale.php (100%) rename {application/views => app/Views}/partial/daterangepicker.php (100%) rename {application/views => app/Views}/partial/dinner_tables.php (100%) rename {application/views => app/Views}/partial/header_js.php (100%) rename {application/views => app/Views}/partial/lang_lines.php (100%) rename {application/views => app/Views}/partial/print_receipt.php (100%) rename {application/views => app/Views}/partial/stock_locations.php (100%) rename {application/views => app/Views}/partial/tax_categories.php (100%) rename {application/views => app/Views}/partial/tax_codes.php (100%) rename {application/views => app/Views}/partial/tax_jurisdictions.php (100%) rename {application/views => app/Views}/people/form_basic_info.php (100%) rename {application/views => app/Views}/people/manage.php (100%) rename {application/views => app/Views}/receivings/form.php (100%) rename {application/views => app/Views}/receivings/receipt.php (100%) rename {application/views => app/Views}/receivings/receiving.php (100%) rename {application/views => app/Views}/reports/date_input.php (100%) rename {application/views => app/Views}/reports/graphical.php (100%) rename {application/views => app/Views}/reports/graphs/bar.php (100%) rename {application/views => app/Views}/reports/graphs/hbar.php (100%) rename {application/views => app/Views}/reports/graphs/line.php (100%) rename {application/views => app/Views}/reports/graphs/pie.php (100%) rename {application/views => app/Views}/reports/inventory_summary_input.php (100%) rename {application/views => app/Views}/reports/listing.php (100%) rename {application/views => app/Views}/reports/specific_customer_input.php (100%) rename {application/views => app/Views}/reports/specific_input.php (100%) rename {application/views => app/Views}/reports/tabular.php (100%) rename {application/views => app/Views}/reports/tabular_details.php (100%) rename {application/views => app/Views}/sales/form.php (100%) rename {application/views => app/Views}/sales/help.php (100%) rename {application/views => app/Views}/sales/invoice.php (100%) rename {application/views => app/Views}/sales/invoice_email.php (100%) rename {application/views => app/Views}/sales/manage.php (100%) rename {application/views => app/Views}/sales/quote.php (100%) rename {application/views => app/Views}/sales/quote_email.php (100%) rename {application/views => app/Views}/sales/receipt.php (100%) rename {application/views => app/Views}/sales/receipt_default.php (100%) rename {application/views => app/Views}/sales/receipt_email.php (100%) rename {application/views => app/Views}/sales/receipt_short.php (100%) rename {application/views => app/Views}/sales/register.php (100%) rename {application/views => app/Views}/sales/suspended.php (100%) rename {application/views => app/Views}/sales/tax_invoice.php (100%) rename {application/views => app/Views}/sales/work_order.php (100%) rename {application/views => app/Views}/sales/work_order_email.php (100%) rename {application/views => app/Views}/suppliers/form.php (100%) rename {application/views => app/Views}/taxes/manage.php (100%) rename {application/views => app/Views}/taxes/tax_categories.php (100%) rename {application/views => app/Views}/taxes/tax_codes.php (100%) rename {application/views => app/Views}/taxes/tax_jurisdictions.php (100%) rename {application/views => app/Views}/taxes/tax_rates.php (100%) rename {application/views => app/Views}/taxes/tax_rates_form.php (100%) diff --git a/app/Config/hooks.php b/app/Config/hooks.php new file mode 100644 index 000000000..720344df9 --- /dev/null +++ b/app/Config/hooks.php @@ -0,0 +1,45 @@ + '', + 'function' => 'load_config', + 'filename' => 'load_config.php', + 'filepath' => 'hooks' + ); + +// 'post_controller' indicated execution of hooks after controller is finished +$hook['post_controller'] = array( + 'class' => '', + 'function' => 'db_log_queries', + 'filename' => 'db_log.php', + 'filepath' => 'hooks' + ); + +$hook['pre_controller'][] = array( + 'class' => '', + 'function' => 'validate_method', + 'filename' => 'method_hook.php', + 'filepath' => 'hooks' +); + + +$hook['pre_system'] = function() { + $config_path = APPPATH . (ENVIRONMENT == 'testing' ? 'tests/' : 'config/'); + try { + $dotenv = new Dotenv\Dotenv($config_path); + $dotenv->overload(); + } catch(Exception $e) { + // continue, .env file not present + } +}; diff --git a/application/controllers/Attributes.php b/app/Controllers/Attributes.php similarity index 100% rename from application/controllers/Attributes.php rename to app/Controllers/Attributes.php diff --git a/application/controllers/Cashups.php b/app/Controllers/Cashups.php similarity index 100% rename from application/controllers/Cashups.php rename to app/Controllers/Cashups.php diff --git a/application/controllers/Config.php b/app/Controllers/Config.php similarity index 100% rename from application/controllers/Config.php rename to app/Controllers/Config.php diff --git a/application/controllers/Customers.php b/app/Controllers/Customers.php similarity index 100% rename from application/controllers/Customers.php rename to app/Controllers/Customers.php diff --git a/application/controllers/Employees.php b/app/Controllers/Employees.php similarity index 100% rename from application/controllers/Employees.php rename to app/Controllers/Employees.php diff --git a/application/controllers/Expenses.php b/app/Controllers/Expenses.php similarity index 100% rename from application/controllers/Expenses.php rename to app/Controllers/Expenses.php diff --git a/application/controllers/Expenses_categories.php b/app/Controllers/Expenses_categories.php similarity index 100% rename from application/controllers/Expenses_categories.php rename to app/Controllers/Expenses_categories.php diff --git a/application/controllers/Giftcards.php b/app/Controllers/Giftcards.php similarity index 100% rename from application/controllers/Giftcards.php rename to app/Controllers/Giftcards.php diff --git a/application/controllers/Home.php b/app/Controllers/Home.php similarity index 100% rename from application/controllers/Home.php rename to app/Controllers/Home.php diff --git a/application/controllers/Item_kits.php b/app/Controllers/Item_kits.php similarity index 100% rename from application/controllers/Item_kits.php rename to app/Controllers/Item_kits.php diff --git a/application/controllers/Items.php b/app/Controllers/Items.php similarity index 100% rename from application/controllers/Items.php rename to app/Controllers/Items.php diff --git a/application/controllers/Login.php b/app/Controllers/Login.php similarity index 100% rename from application/controllers/Login.php rename to app/Controllers/Login.php diff --git a/application/controllers/Messages.php b/app/Controllers/Messages.php similarity index 100% rename from application/controllers/Messages.php rename to app/Controllers/Messages.php diff --git a/application/controllers/No_access.php b/app/Controllers/No_access.php similarity index 100% rename from application/controllers/No_access.php rename to app/Controllers/No_access.php diff --git a/application/controllers/Office.php b/app/Controllers/Office.php similarity index 100% rename from application/controllers/Office.php rename to app/Controllers/Office.php diff --git a/application/controllers/Persons.php b/app/Controllers/Persons.php similarity index 100% rename from application/controllers/Persons.php rename to app/Controllers/Persons.php diff --git a/application/controllers/Receivings.php b/app/Controllers/Receivings.php similarity index 100% rename from application/controllers/Receivings.php rename to app/Controllers/Receivings.php diff --git a/application/controllers/Reports.php b/app/Controllers/Reports.php similarity index 100% rename from application/controllers/Reports.php rename to app/Controllers/Reports.php diff --git a/application/controllers/Sales.php b/app/Controllers/Sales.php similarity index 100% rename from application/controllers/Sales.php rename to app/Controllers/Sales.php diff --git a/application/controllers/Secure_Controller.php b/app/Controllers/Secure_Controller.php similarity index 100% rename from application/controllers/Secure_Controller.php rename to app/Controllers/Secure_Controller.php diff --git a/application/controllers/Suppliers.php b/app/Controllers/Suppliers.php similarity index 100% rename from application/controllers/Suppliers.php rename to app/Controllers/Suppliers.php diff --git a/application/controllers/Tax_categories.php b/app/Controllers/Tax_categories.php similarity index 100% rename from application/controllers/Tax_categories.php rename to app/Controllers/Tax_categories.php diff --git a/application/controllers/Tax_codes.php b/app/Controllers/Tax_codes.php similarity index 100% rename from application/controllers/Tax_codes.php rename to app/Controllers/Tax_codes.php diff --git a/application/controllers/Tax_jurisdictions.php b/app/Controllers/Tax_jurisdictions.php similarity index 100% rename from application/controllers/Tax_jurisdictions.php rename to app/Controllers/Tax_jurisdictions.php diff --git a/application/controllers/Taxes.php b/app/Controllers/Taxes.php similarity index 100% rename from application/controllers/Taxes.php rename to app/Controllers/Taxes.php diff --git a/application/controllers/index.html b/app/Controllers/index.html similarity index 100% rename from application/controllers/index.html rename to app/Controllers/index.html diff --git a/application/helpers/dompdf_helper.php b/app/Helpers/dompdf_helper.php similarity index 100% rename from application/helpers/dompdf_helper.php rename to app/Helpers/dompdf_helper.php diff --git a/application/helpers/importfile_helper.php b/app/Helpers/importfile_helper.php similarity index 100% rename from application/helpers/importfile_helper.php rename to app/Helpers/importfile_helper.php diff --git a/application/helpers/index.html b/app/Helpers/index.html similarity index 100% rename from application/helpers/index.html rename to app/Helpers/index.html diff --git a/application/helpers/locale_helper.php b/app/Helpers/locale_helper.php similarity index 100% rename from application/helpers/locale_helper.php rename to app/Helpers/locale_helper.php diff --git a/application/helpers/migration_helper.php b/app/Helpers/migration_helper.php similarity index 100% rename from application/helpers/migration_helper.php rename to app/Helpers/migration_helper.php diff --git a/application/helpers/report_helper.php b/app/Helpers/report_helper.php similarity index 100% rename from application/helpers/report_helper.php rename to app/Helpers/report_helper.php diff --git a/application/helpers/sale_helper.php b/app/Helpers/sale_helper.php similarity index 100% rename from application/helpers/sale_helper.php rename to app/Helpers/sale_helper.php diff --git a/application/helpers/tabular_helper.php b/app/Helpers/tabular_helper.php similarity index 100% rename from application/helpers/tabular_helper.php rename to app/Helpers/tabular_helper.php diff --git a/application/helpers/tax_helper.php b/app/Helpers/tax_helper.php similarity index 100% rename from application/helpers/tax_helper.php rename to app/Helpers/tax_helper.php diff --git a/application/libraries/Barcode_lib.php b/app/Libraries/Barcode_lib.php similarity index 100% rename from application/libraries/Barcode_lib.php rename to app/Libraries/Barcode_lib.php diff --git a/application/libraries/Email_lib.php b/app/Libraries/Email_lib.php similarity index 100% rename from application/libraries/Email_lib.php rename to app/Libraries/Email_lib.php diff --git a/application/libraries/Item_lib.php b/app/Libraries/Item_lib.php similarity index 100% rename from application/libraries/Item_lib.php rename to app/Libraries/Item_lib.php diff --git a/application/libraries/MY_Email.php b/app/Libraries/MY_Email.php similarity index 100% rename from application/libraries/MY_Email.php rename to app/Libraries/MY_Email.php diff --git a/application/libraries/MY_Migration.php b/app/Libraries/MY_Migration.php similarity index 100% rename from application/libraries/MY_Migration.php rename to app/Libraries/MY_Migration.php diff --git a/application/libraries/Mailchimp_lib.php b/app/Libraries/Mailchimp_lib.php similarity index 100% rename from application/libraries/Mailchimp_lib.php rename to app/Libraries/Mailchimp_lib.php diff --git a/application/libraries/Receiving_lib.php b/app/Libraries/Receiving_lib.php similarity index 100% rename from application/libraries/Receiving_lib.php rename to app/Libraries/Receiving_lib.php diff --git a/application/libraries/Sale_lib.php b/app/Libraries/Sale_lib.php similarity index 100% rename from application/libraries/Sale_lib.php rename to app/Libraries/Sale_lib.php diff --git a/application/libraries/Sms_lib.php b/app/Libraries/Sms_lib.php similarity index 100% rename from application/libraries/Sms_lib.php rename to app/Libraries/Sms_lib.php diff --git a/application/libraries/Tax_lib.php b/app/Libraries/Tax_lib.php similarity index 100% rename from application/libraries/Tax_lib.php rename to app/Libraries/Tax_lib.php diff --git a/application/libraries/Token_lib.php b/app/Libraries/Token_lib.php similarity index 100% rename from application/libraries/Token_lib.php rename to app/Libraries/Token_lib.php diff --git a/application/libraries/index.html b/app/Libraries/index.html similarity index 100% rename from application/libraries/index.html rename to app/Libraries/index.html diff --git a/application/migrations/20170501150000_upgrade_to_3_1_1.php b/app/Migrations/20170501150000_upgrade_to_3_1_1.php similarity index 100% rename from application/migrations/20170501150000_upgrade_to_3_1_1.php rename to app/Migrations/20170501150000_upgrade_to_3_1_1.php diff --git a/application/migrations/20170502221506_sales_tax_data.php b/app/Migrations/20170502221506_sales_tax_data.php similarity index 100% rename from application/migrations/20170502221506_sales_tax_data.php rename to app/Migrations/20170502221506_sales_tax_data.php diff --git a/application/migrations/20180225100000_upgrade_to_3_2_0.php b/app/Migrations/20180225100000_upgrade_to_3_2_0.php similarity index 100% rename from application/migrations/20180225100000_upgrade_to_3_2_0.php rename to app/Migrations/20180225100000_upgrade_to_3_2_0.php diff --git a/application/migrations/20180501100000_upgrade_to_3_2_1.php b/app/Migrations/20180501100000_upgrade_to_3_2_1.php similarity index 100% rename from application/migrations/20180501100000_upgrade_to_3_2_1.php rename to app/Migrations/20180501100000_upgrade_to_3_2_1.php diff --git a/application/migrations/20181015100000_attributes.php b/app/Migrations/20181015100000_attributes.php similarity index 100% rename from application/migrations/20181015100000_attributes.php rename to app/Migrations/20181015100000_attributes.php diff --git a/application/migrations/20190111270000_upgrade_to_3_3_0.php b/app/Migrations/20190111270000_upgrade_to_3_3_0.php similarity index 100% rename from application/migrations/20190111270000_upgrade_to_3_3_0.php rename to app/Migrations/20190111270000_upgrade_to_3_3_0.php diff --git a/application/migrations/20190129212600_indiagst.php b/app/Migrations/20190129212600_indiagst.php similarity index 100% rename from application/migrations/20190129212600_indiagst.php rename to app/Migrations/20190129212600_indiagst.php diff --git a/application/migrations/20190213210000_indiagst1.php b/app/Migrations/20190213210000_indiagst1.php similarity index 100% rename from application/migrations/20190213210000_indiagst1.php rename to app/Migrations/20190213210000_indiagst1.php diff --git a/application/migrations/20190220210000_indiagst2.php b/app/Migrations/20190220210000_indiagst2.php similarity index 100% rename from application/migrations/20190220210000_indiagst2.php rename to app/Migrations/20190220210000_indiagst2.php diff --git a/application/migrations/20190301124900_decimal_attribute_type.php b/app/Migrations/20190301124900_decimal_attribute_type.php similarity index 100% rename from application/migrations/20190301124900_decimal_attribute_type.php rename to app/Migrations/20190301124900_decimal_attribute_type.php diff --git a/application/migrations/20190317102600_add_iso_4217.php b/app/Migrations/20190317102600_add_iso_4217.php similarity index 100% rename from application/migrations/20190317102600_add_iso_4217.php rename to app/Migrations/20190317102600_add_iso_4217.php diff --git a/application/migrations/20190427100000_paymenttracking.php b/app/Migrations/20190427100000_paymenttracking.php similarity index 100% rename from application/migrations/20190427100000_paymenttracking.php rename to app/Migrations/20190427100000_paymenttracking.php diff --git a/application/migrations/20190502100000_refundtracking.php b/app/Migrations/20190502100000_refundtracking.php similarity index 100% rename from application/migrations/20190502100000_refundtracking.php rename to app/Migrations/20190502100000_refundtracking.php diff --git a/application/migrations/20190612100000_dbfix.php b/app/Migrations/20190612100000_dbfix.php similarity index 100% rename from application/migrations/20190612100000_dbfix.php rename to app/Migrations/20190612100000_dbfix.php diff --git a/application/migrations/20190615100000_fix_attribute_datetime.php b/app/Migrations/20190615100000_fix_attribute_datetime.php similarity index 100% rename from application/migrations/20190615100000_fix_attribute_datetime.php rename to app/Migrations/20190615100000_fix_attribute_datetime.php diff --git a/application/migrations/20190712150200_fix_empty_reports.php b/app/Migrations/20190712150200_fix_empty_reports.php similarity index 100% rename from application/migrations/20190712150200_fix_empty_reports.php rename to app/Migrations/20190712150200_fix_empty_reports.php diff --git a/application/migrations/20191008100000_receipttaxindicator.php b/app/Migrations/20191008100000_receipttaxindicator.php similarity index 100% rename from application/migrations/20191008100000_receipttaxindicator.php rename to app/Migrations/20191008100000_receipttaxindicator.php diff --git a/application/migrations/20191231100000_paymentdatefix.php b/app/Migrations/20191231100000_paymentdatefix.php similarity index 100% rename from application/migrations/20191231100000_paymentdatefix.php rename to app/Migrations/20191231100000_paymentdatefix.php diff --git a/application/migrations/20200125100000_saleschangeprice.php b/app/Migrations/20200125100000_saleschangeprice.php similarity index 100% rename from application/migrations/20200125100000_saleschangeprice.php rename to app/Migrations/20200125100000_saleschangeprice.php diff --git a/application/migrations/20200202000000_taxamount.php b/app/Migrations/20200202000000_taxamount.php similarity index 100% rename from application/migrations/20200202000000_taxamount.php rename to app/Migrations/20200202000000_taxamount.php diff --git a/application/migrations/20200215100000_taxgroupconstraint.php b/app/Migrations/20200215100000_taxgroupconstraint.php similarity index 100% rename from application/migrations/20200215100000_taxgroupconstraint.php rename to app/Migrations/20200215100000_taxgroupconstraint.php diff --git a/application/migrations/20200508000000_image_upload_defaults.php b/app/Migrations/20200508000000_image_upload_defaults.php similarity index 100% rename from application/migrations/20200508000000_image_upload_defaults.php rename to app/Migrations/20200508000000_image_upload_defaults.php diff --git a/application/migrations/20200819000000_modify_attr_links_constraint.php b/app/Migrations/20200819000000_modify_attr_links_constraint.php similarity index 100% rename from application/migrations/20200819000000_modify_attr_links_constraint.php rename to app/Migrations/20200819000000_modify_attr_links_constraint.php diff --git a/application/migrations/20201108100000_cashrounding.php b/app/Migrations/20201108100000_cashrounding.php similarity index 100% rename from application/migrations/20201108100000_cashrounding.php rename to app/Migrations/20201108100000_cashrounding.php diff --git a/application/migrations/20201110000000_add_item_kit_number.php b/app/Migrations/20201110000000_add_item_kit_number.php similarity index 100% rename from application/migrations/20201110000000_add_item_kit_number.php rename to app/Migrations/20201110000000_add_item_kit_number.php diff --git a/application/migrations/20210103000000_modify_session_datatype.php b/app/Migrations/20210103000000_modify_session_datatype.php similarity index 100% rename from application/migrations/20210103000000_modify_session_datatype.php rename to app/Migrations/20210103000000_modify_session_datatype.php diff --git a/application/migrations/20210422000000_database_optimizations.php b/app/Migrations/20210422000000_database_optimizations.php similarity index 100% rename from application/migrations/20210422000000_database_optimizations.php rename to app/Migrations/20210422000000_database_optimizations.php diff --git a/application/migrations/20210422000001_remove_duplicate_links.php b/app/Migrations/20210422000001_remove_duplicate_links.php similarity index 100% rename from application/migrations/20210422000001_remove_duplicate_links.php rename to app/Migrations/20210422000001_remove_duplicate_links.php diff --git a/application/migrations/20210714140000_move_expenses_categories.php b/app/Migrations/20210714140000_move_expenses_categories.php similarity index 100% rename from application/migrations/20210714140000_move_expenses_categories.php rename to app/Migrations/20210714140000_move_expenses_categories.php diff --git a/application/models/Appconfig.php b/app/Models/Appconfig.php similarity index 100% rename from application/models/Appconfig.php rename to app/Models/Appconfig.php diff --git a/application/models/Employee.php b/app/Models/Employee.php similarity index 100% rename from application/models/Employee.php rename to app/Models/Employee.php diff --git a/application/models/reports/Detailed_receivings.php b/app/Models/Reports/reports/Detailed_receivings.php similarity index 100% rename from application/models/reports/Detailed_receivings.php rename to app/Models/Reports/reports/Detailed_receivings.php diff --git a/application/models/reports/Detailed_sales.php b/app/Models/Reports/reports/Detailed_sales.php similarity index 100% rename from application/models/reports/Detailed_sales.php rename to app/Models/Reports/reports/Detailed_sales.php diff --git a/application/models/reports/Inventory_low.php b/app/Models/Reports/reports/Inventory_low.php similarity index 100% rename from application/models/reports/Inventory_low.php rename to app/Models/Reports/reports/Inventory_low.php diff --git a/application/models/reports/Inventory_summary.php b/app/Models/Reports/reports/Inventory_summary.php similarity index 100% rename from application/models/reports/Inventory_summary.php rename to app/Models/Reports/reports/Inventory_summary.php diff --git a/application/models/reports/Report.php b/app/Models/Reports/reports/Report.php similarity index 100% rename from application/models/reports/Report.php rename to app/Models/Reports/reports/Report.php diff --git a/application/models/reports/Specific_customer.php b/app/Models/Reports/reports/Specific_customer.php similarity index 100% rename from application/models/reports/Specific_customer.php rename to app/Models/Reports/reports/Specific_customer.php diff --git a/application/models/reports/Specific_discount.php b/app/Models/Reports/reports/Specific_discount.php similarity index 100% rename from application/models/reports/Specific_discount.php rename to app/Models/Reports/reports/Specific_discount.php diff --git a/application/models/reports/Specific_employee.php b/app/Models/Reports/reports/Specific_employee.php similarity index 100% rename from application/models/reports/Specific_employee.php rename to app/Models/Reports/reports/Specific_employee.php diff --git a/application/models/reports/Specific_supplier.php b/app/Models/Reports/reports/Specific_supplier.php similarity index 100% rename from application/models/reports/Specific_supplier.php rename to app/Models/Reports/reports/Specific_supplier.php diff --git a/application/models/reports/Summary_categories.php b/app/Models/Reports/reports/Summary_categories.php similarity index 100% rename from application/models/reports/Summary_categories.php rename to app/Models/Reports/reports/Summary_categories.php diff --git a/application/models/reports/Summary_customers.php b/app/Models/Reports/reports/Summary_customers.php similarity index 100% rename from application/models/reports/Summary_customers.php rename to app/Models/Reports/reports/Summary_customers.php diff --git a/application/models/reports/Summary_discounts.php b/app/Models/Reports/reports/Summary_discounts.php similarity index 100% rename from application/models/reports/Summary_discounts.php rename to app/Models/Reports/reports/Summary_discounts.php diff --git a/application/models/reports/Summary_employees.php b/app/Models/Reports/reports/Summary_employees.php similarity index 100% rename from application/models/reports/Summary_employees.php rename to app/Models/Reports/reports/Summary_employees.php diff --git a/application/models/reports/Summary_expenses_categories.php b/app/Models/Reports/reports/Summary_expenses_categories.php similarity index 100% rename from application/models/reports/Summary_expenses_categories.php rename to app/Models/Reports/reports/Summary_expenses_categories.php diff --git a/application/models/reports/Summary_items.php b/app/Models/Reports/reports/Summary_items.php similarity index 100% rename from application/models/reports/Summary_items.php rename to app/Models/Reports/reports/Summary_items.php diff --git a/application/models/reports/Summary_payments.php b/app/Models/Reports/reports/Summary_payments.php similarity index 100% rename from application/models/reports/Summary_payments.php rename to app/Models/Reports/reports/Summary_payments.php diff --git a/application/models/reports/Summary_report.php b/app/Models/Reports/reports/Summary_report.php similarity index 100% rename from application/models/reports/Summary_report.php rename to app/Models/Reports/reports/Summary_report.php diff --git a/application/models/reports/Summary_sales.php b/app/Models/Reports/reports/Summary_sales.php similarity index 100% rename from application/models/reports/Summary_sales.php rename to app/Models/Reports/reports/Summary_sales.php diff --git a/application/models/reports/Summary_sales_taxes.php b/app/Models/Reports/reports/Summary_sales_taxes.php similarity index 100% rename from application/models/reports/Summary_sales_taxes.php rename to app/Models/Reports/reports/Summary_sales_taxes.php diff --git a/application/models/reports/Summary_suppliers.php b/app/Models/Reports/reports/Summary_suppliers.php similarity index 100% rename from application/models/reports/Summary_suppliers.php rename to app/Models/Reports/reports/Summary_suppliers.php diff --git a/application/models/reports/Summary_taxes.php b/app/Models/Reports/reports/Summary_taxes.php similarity index 100% rename from application/models/reports/Summary_taxes.php rename to app/Models/Reports/reports/Summary_taxes.php diff --git a/application/models/Sale.php b/app/Models/Sale.php similarity index 100% rename from application/models/Sale.php rename to app/Models/Sale.php diff --git a/application/models/tokens/Token_invoice_sequence.php b/app/Models/Tokens/Token_invoice_sequence.php similarity index 100% rename from application/models/tokens/Token_invoice_sequence.php rename to app/Models/Tokens/Token_invoice_sequence.php diff --git a/application/models/tokens/Token_quote_sequence.php b/app/Models/Tokens/Token_quote_sequence.php similarity index 100% rename from application/models/tokens/Token_quote_sequence.php rename to app/Models/Tokens/Token_quote_sequence.php diff --git a/application/models/tokens/Token_work_order_sequence.php b/app/Models/Tokens/Token_work_order_sequence.php similarity index 100% rename from application/models/tokens/Token_work_order_sequence.php rename to app/Models/Tokens/Token_work_order_sequence.php diff --git a/application/views/partial/footer.php b/app/View/partial/footer.php similarity index 100% rename from application/views/partial/footer.php rename to app/View/partial/footer.php diff --git a/application/views/partial/header.php b/app/View/partial/header.php similarity index 100% rename from application/views/partial/header.php rename to app/View/partial/header.php diff --git a/application/views/attributes/form.php b/app/Views/attributes/form.php similarity index 100% rename from application/views/attributes/form.php rename to app/Views/attributes/form.php diff --git a/application/views/attributes/item.php b/app/Views/attributes/item.php similarity index 100% rename from application/views/attributes/item.php rename to app/Views/attributes/item.php diff --git a/application/views/attributes/manage.php b/app/Views/attributes/manage.php similarity index 100% rename from application/views/attributes/manage.php rename to app/Views/attributes/manage.php diff --git a/application/views/barcodes/BarcodeBase.php b/app/Views/barcodes/BarcodeBase.php similarity index 100% rename from application/views/barcodes/BarcodeBase.php rename to app/Views/barcodes/BarcodeBase.php diff --git a/application/views/barcodes/Code128.php b/app/Views/barcodes/Code128.php similarity index 100% rename from application/views/barcodes/Code128.php rename to app/Views/barcodes/Code128.php diff --git a/application/views/barcodes/Code39.php b/app/Views/barcodes/Code39.php similarity index 100% rename from application/views/barcodes/Code39.php rename to app/Views/barcodes/Code39.php diff --git a/application/views/barcodes/Ean13.php b/app/Views/barcodes/Ean13.php similarity index 100% rename from application/views/barcodes/Ean13.php rename to app/Views/barcodes/Ean13.php diff --git a/application/views/barcodes/Ean8.php b/app/Views/barcodes/Ean8.php similarity index 100% rename from application/views/barcodes/Ean8.php rename to app/Views/barcodes/Ean8.php diff --git a/application/views/barcodes/barcode_sheet.php b/app/Views/barcodes/barcode_sheet.php similarity index 100% rename from application/views/barcodes/barcode_sheet.php rename to app/Views/barcodes/barcode_sheet.php diff --git a/application/views/cashups/form.php b/app/Views/cashups/form.php similarity index 100% rename from application/views/cashups/form.php rename to app/Views/cashups/form.php diff --git a/application/views/cashups/manage.php b/app/Views/cashups/manage.php similarity index 100% rename from application/views/cashups/manage.php rename to app/Views/cashups/manage.php diff --git a/application/views/configs/barcode_config.php b/app/Views/configs/barcode_config.php similarity index 100% rename from application/views/configs/barcode_config.php rename to app/Views/configs/barcode_config.php diff --git a/application/views/configs/email_config.php b/app/Views/configs/email_config.php similarity index 100% rename from application/views/configs/email_config.php rename to app/Views/configs/email_config.php diff --git a/application/views/configs/general_config.php b/app/Views/configs/general_config.php similarity index 100% rename from application/views/configs/general_config.php rename to app/Views/configs/general_config.php diff --git a/application/views/configs/info_config.php b/app/Views/configs/info_config.php similarity index 100% rename from application/views/configs/info_config.php rename to app/Views/configs/info_config.php diff --git a/application/views/configs/integrations_config.php b/app/Views/configs/integrations_config.php similarity index 100% rename from application/views/configs/integrations_config.php rename to app/Views/configs/integrations_config.php diff --git a/application/views/configs/invoice_config.php b/app/Views/configs/invoice_config.php similarity index 100% rename from application/views/configs/invoice_config.php rename to app/Views/configs/invoice_config.php diff --git a/application/views/configs/license_config.php b/app/Views/configs/license_config.php similarity index 100% rename from application/views/configs/license_config.php rename to app/Views/configs/license_config.php diff --git a/application/views/configs/locale_config.php b/app/Views/configs/locale_config.php similarity index 100% rename from application/views/configs/locale_config.php rename to app/Views/configs/locale_config.php diff --git a/application/views/configs/manage.php b/app/Views/configs/manage.php similarity index 100% rename from application/views/configs/manage.php rename to app/Views/configs/manage.php diff --git a/application/views/configs/message_config.php b/app/Views/configs/message_config.php similarity index 100% rename from application/views/configs/message_config.php rename to app/Views/configs/message_config.php diff --git a/application/views/configs/receipt_config.php b/app/Views/configs/receipt_config.php similarity index 100% rename from application/views/configs/receipt_config.php rename to app/Views/configs/receipt_config.php diff --git a/application/views/configs/reward_config.php b/app/Views/configs/reward_config.php similarity index 100% rename from application/views/configs/reward_config.php rename to app/Views/configs/reward_config.php diff --git a/application/views/configs/stock_config.php b/app/Views/configs/stock_config.php similarity index 100% rename from application/views/configs/stock_config.php rename to app/Views/configs/stock_config.php diff --git a/application/views/configs/system_config.php b/app/Views/configs/system_config.php similarity index 100% rename from application/views/configs/system_config.php rename to app/Views/configs/system_config.php diff --git a/application/views/configs/system_info.php b/app/Views/configs/system_info.php similarity index 100% rename from application/views/configs/system_info.php rename to app/Views/configs/system_info.php diff --git a/application/views/configs/table_config.php b/app/Views/configs/table_config.php similarity index 100% rename from application/views/configs/table_config.php rename to app/Views/configs/table_config.php diff --git a/application/views/configs/tax_config.php b/app/Views/configs/tax_config.php similarity index 100% rename from application/views/configs/tax_config.php rename to app/Views/configs/tax_config.php diff --git a/application/views/customers/form.php b/app/Views/customers/form.php similarity index 100% rename from application/views/customers/form.php rename to app/Views/customers/form.php diff --git a/application/views/customers/form_csv_import.php b/app/Views/customers/form_csv_import.php similarity index 100% rename from application/views/customers/form_csv_import.php rename to app/Views/customers/form_csv_import.php diff --git a/application/views/employees/form.php b/app/Views/employees/form.php similarity index 100% rename from application/views/employees/form.php rename to app/Views/employees/form.php diff --git a/application/views/errors/cli/error_404.php b/app/Views/errors/cli/error_404.php similarity index 100% rename from application/views/errors/cli/error_404.php rename to app/Views/errors/cli/error_404.php diff --git a/application/views/errors/cli/error_db.php b/app/Views/errors/cli/error_db.php similarity index 100% rename from application/views/errors/cli/error_db.php rename to app/Views/errors/cli/error_db.php diff --git a/application/views/errors/cli/error_exception.php b/app/Views/errors/cli/error_exception.php similarity index 100% rename from application/views/errors/cli/error_exception.php rename to app/Views/errors/cli/error_exception.php diff --git a/application/views/errors/cli/error_general.php b/app/Views/errors/cli/error_general.php similarity index 100% rename from application/views/errors/cli/error_general.php rename to app/Views/errors/cli/error_general.php diff --git a/application/views/errors/cli/error_php.php b/app/Views/errors/cli/error_php.php similarity index 100% rename from application/views/errors/cli/error_php.php rename to app/Views/errors/cli/error_php.php diff --git a/application/views/errors/cli/index.html b/app/Views/errors/cli/index.html similarity index 100% rename from application/views/errors/cli/index.html rename to app/Views/errors/cli/index.html diff --git a/application/views/errors/html/error_404.php b/app/Views/errors/html/error_404.php similarity index 100% rename from application/views/errors/html/error_404.php rename to app/Views/errors/html/error_404.php diff --git a/application/views/errors/html/error_db.php b/app/Views/errors/html/error_db.php similarity index 100% rename from application/views/errors/html/error_db.php rename to app/Views/errors/html/error_db.php diff --git a/application/views/errors/html/error_exception.php b/app/Views/errors/html/error_exception.php similarity index 100% rename from application/views/errors/html/error_exception.php rename to app/Views/errors/html/error_exception.php diff --git a/application/views/errors/html/error_general.php b/app/Views/errors/html/error_general.php similarity index 100% rename from application/views/errors/html/error_general.php rename to app/Views/errors/html/error_general.php diff --git a/application/views/errors/html/error_php.php b/app/Views/errors/html/error_php.php similarity index 100% rename from application/views/errors/html/error_php.php rename to app/Views/errors/html/error_php.php diff --git a/application/views/errors/html/index.html b/app/Views/errors/html/index.html similarity index 100% rename from application/views/errors/html/index.html rename to app/Views/errors/html/index.html diff --git a/application/views/errors/index.html b/app/Views/errors/index.html similarity index 100% rename from application/views/errors/index.html rename to app/Views/errors/index.html diff --git a/application/views/expenses/form.php b/app/Views/expenses/form.php similarity index 100% rename from application/views/expenses/form.php rename to app/Views/expenses/form.php diff --git a/application/views/expenses/manage.php b/app/Views/expenses/manage.php similarity index 100% rename from application/views/expenses/manage.php rename to app/Views/expenses/manage.php diff --git a/application/views/expenses_categories/form.php b/app/Views/expenses_categories/form.php similarity index 100% rename from application/views/expenses_categories/form.php rename to app/Views/expenses_categories/form.php diff --git a/application/views/expenses_categories/manage.php b/app/Views/expenses_categories/manage.php similarity index 100% rename from application/views/expenses_categories/manage.php rename to app/Views/expenses_categories/manage.php diff --git a/application/views/giftcards/form.php b/app/Views/giftcards/form.php similarity index 100% rename from application/views/giftcards/form.php rename to app/Views/giftcards/form.php diff --git a/application/views/giftcards/manage.php b/app/Views/giftcards/manage.php similarity index 100% rename from application/views/giftcards/manage.php rename to app/Views/giftcards/manage.php diff --git a/application/views/home/form_change_password.php b/app/Views/home/form_change_password.php similarity index 100% rename from application/views/home/form_change_password.php rename to app/Views/home/form_change_password.php diff --git a/application/views/home/home.php b/app/Views/home/home.php similarity index 100% rename from application/views/home/home.php rename to app/Views/home/home.php diff --git a/application/views/home/office.php b/app/Views/home/office.php similarity index 100% rename from application/views/home/office.php rename to app/Views/home/office.php diff --git a/application/views/index.html b/app/Views/index.html similarity index 100% rename from application/views/index.html rename to app/Views/index.html diff --git a/application/views/item_kits/form.php b/app/Views/item_kits/form.php similarity index 100% rename from application/views/item_kits/form.php rename to app/Views/item_kits/form.php diff --git a/application/views/item_kits/manage.php b/app/Views/item_kits/manage.php similarity index 100% rename from application/views/item_kits/manage.php rename to app/Views/item_kits/manage.php diff --git a/application/views/items/form.php b/app/Views/items/form.php similarity index 100% rename from application/views/items/form.php rename to app/Views/items/form.php diff --git a/application/views/items/form_bulk.php b/app/Views/items/form_bulk.php similarity index 100% rename from application/views/items/form_bulk.php rename to app/Views/items/form_bulk.php diff --git a/application/views/items/form_count_details.php b/app/Views/items/form_count_details.php similarity index 100% rename from application/views/items/form_count_details.php rename to app/Views/items/form_count_details.php diff --git a/application/views/items/form_csv_import.php b/app/Views/items/form_csv_import.php similarity index 100% rename from application/views/items/form_csv_import.php rename to app/Views/items/form_csv_import.php diff --git a/application/views/items/form_inventory.php b/app/Views/items/form_inventory.php similarity index 100% rename from application/views/items/form_inventory.php rename to app/Views/items/form_inventory.php diff --git a/application/views/items/manage.php b/app/Views/items/manage.php similarity index 100% rename from application/views/items/manage.php rename to app/Views/items/manage.php diff --git a/application/views/login.php b/app/Views/login.php similarity index 100% rename from application/views/login.php rename to app/Views/login.php diff --git a/application/views/messages/form_sms.php b/app/Views/messages/form_sms.php similarity index 100% rename from application/views/messages/form_sms.php rename to app/Views/messages/form_sms.php diff --git a/application/views/messages/index.html b/app/Views/messages/index.html similarity index 100% rename from application/views/messages/index.html rename to app/Views/messages/index.html diff --git a/application/views/messages/sms.php b/app/Views/messages/sms.php similarity index 100% rename from application/views/messages/sms.php rename to app/Views/messages/sms.php diff --git a/application/views/no_access.php b/app/Views/no_access.php similarity index 100% rename from application/views/no_access.php rename to app/Views/no_access.php diff --git a/application/views/partial/bootstrap_tables_locale.php b/app/Views/partial/bootstrap_tables_locale.php similarity index 100% rename from application/views/partial/bootstrap_tables_locale.php rename to app/Views/partial/bootstrap_tables_locale.php diff --git a/application/views/partial/customer_rewards.php b/app/Views/partial/customer_rewards.php similarity index 100% rename from application/views/partial/customer_rewards.php rename to app/Views/partial/customer_rewards.php diff --git a/application/views/partial/datepicker_locale.php b/app/Views/partial/datepicker_locale.php similarity index 100% rename from application/views/partial/datepicker_locale.php rename to app/Views/partial/datepicker_locale.php diff --git a/application/views/partial/daterangepicker.php b/app/Views/partial/daterangepicker.php similarity index 100% rename from application/views/partial/daterangepicker.php rename to app/Views/partial/daterangepicker.php diff --git a/application/views/partial/dinner_tables.php b/app/Views/partial/dinner_tables.php similarity index 100% rename from application/views/partial/dinner_tables.php rename to app/Views/partial/dinner_tables.php diff --git a/application/views/partial/header_js.php b/app/Views/partial/header_js.php similarity index 100% rename from application/views/partial/header_js.php rename to app/Views/partial/header_js.php diff --git a/application/views/partial/lang_lines.php b/app/Views/partial/lang_lines.php similarity index 100% rename from application/views/partial/lang_lines.php rename to app/Views/partial/lang_lines.php diff --git a/application/views/partial/print_receipt.php b/app/Views/partial/print_receipt.php similarity index 100% rename from application/views/partial/print_receipt.php rename to app/Views/partial/print_receipt.php diff --git a/application/views/partial/stock_locations.php b/app/Views/partial/stock_locations.php similarity index 100% rename from application/views/partial/stock_locations.php rename to app/Views/partial/stock_locations.php diff --git a/application/views/partial/tax_categories.php b/app/Views/partial/tax_categories.php similarity index 100% rename from application/views/partial/tax_categories.php rename to app/Views/partial/tax_categories.php diff --git a/application/views/partial/tax_codes.php b/app/Views/partial/tax_codes.php similarity index 100% rename from application/views/partial/tax_codes.php rename to app/Views/partial/tax_codes.php diff --git a/application/views/partial/tax_jurisdictions.php b/app/Views/partial/tax_jurisdictions.php similarity index 100% rename from application/views/partial/tax_jurisdictions.php rename to app/Views/partial/tax_jurisdictions.php diff --git a/application/views/people/form_basic_info.php b/app/Views/people/form_basic_info.php similarity index 100% rename from application/views/people/form_basic_info.php rename to app/Views/people/form_basic_info.php diff --git a/application/views/people/manage.php b/app/Views/people/manage.php similarity index 100% rename from application/views/people/manage.php rename to app/Views/people/manage.php diff --git a/application/views/receivings/form.php b/app/Views/receivings/form.php similarity index 100% rename from application/views/receivings/form.php rename to app/Views/receivings/form.php diff --git a/application/views/receivings/receipt.php b/app/Views/receivings/receipt.php similarity index 100% rename from application/views/receivings/receipt.php rename to app/Views/receivings/receipt.php diff --git a/application/views/receivings/receiving.php b/app/Views/receivings/receiving.php similarity index 100% rename from application/views/receivings/receiving.php rename to app/Views/receivings/receiving.php diff --git a/application/views/reports/date_input.php b/app/Views/reports/date_input.php similarity index 100% rename from application/views/reports/date_input.php rename to app/Views/reports/date_input.php diff --git a/application/views/reports/graphical.php b/app/Views/reports/graphical.php similarity index 100% rename from application/views/reports/graphical.php rename to app/Views/reports/graphical.php diff --git a/application/views/reports/graphs/bar.php b/app/Views/reports/graphs/bar.php similarity index 100% rename from application/views/reports/graphs/bar.php rename to app/Views/reports/graphs/bar.php diff --git a/application/views/reports/graphs/hbar.php b/app/Views/reports/graphs/hbar.php similarity index 100% rename from application/views/reports/graphs/hbar.php rename to app/Views/reports/graphs/hbar.php diff --git a/application/views/reports/graphs/line.php b/app/Views/reports/graphs/line.php similarity index 100% rename from application/views/reports/graphs/line.php rename to app/Views/reports/graphs/line.php diff --git a/application/views/reports/graphs/pie.php b/app/Views/reports/graphs/pie.php similarity index 100% rename from application/views/reports/graphs/pie.php rename to app/Views/reports/graphs/pie.php diff --git a/application/views/reports/inventory_summary_input.php b/app/Views/reports/inventory_summary_input.php similarity index 100% rename from application/views/reports/inventory_summary_input.php rename to app/Views/reports/inventory_summary_input.php diff --git a/application/views/reports/listing.php b/app/Views/reports/listing.php similarity index 100% rename from application/views/reports/listing.php rename to app/Views/reports/listing.php diff --git a/application/views/reports/specific_customer_input.php b/app/Views/reports/specific_customer_input.php similarity index 100% rename from application/views/reports/specific_customer_input.php rename to app/Views/reports/specific_customer_input.php diff --git a/application/views/reports/specific_input.php b/app/Views/reports/specific_input.php similarity index 100% rename from application/views/reports/specific_input.php rename to app/Views/reports/specific_input.php diff --git a/application/views/reports/tabular.php b/app/Views/reports/tabular.php similarity index 100% rename from application/views/reports/tabular.php rename to app/Views/reports/tabular.php diff --git a/application/views/reports/tabular_details.php b/app/Views/reports/tabular_details.php similarity index 100% rename from application/views/reports/tabular_details.php rename to app/Views/reports/tabular_details.php diff --git a/application/views/sales/form.php b/app/Views/sales/form.php similarity index 100% rename from application/views/sales/form.php rename to app/Views/sales/form.php diff --git a/application/views/sales/help.php b/app/Views/sales/help.php similarity index 100% rename from application/views/sales/help.php rename to app/Views/sales/help.php diff --git a/application/views/sales/invoice.php b/app/Views/sales/invoice.php similarity index 100% rename from application/views/sales/invoice.php rename to app/Views/sales/invoice.php diff --git a/application/views/sales/invoice_email.php b/app/Views/sales/invoice_email.php similarity index 100% rename from application/views/sales/invoice_email.php rename to app/Views/sales/invoice_email.php diff --git a/application/views/sales/manage.php b/app/Views/sales/manage.php similarity index 100% rename from application/views/sales/manage.php rename to app/Views/sales/manage.php diff --git a/application/views/sales/quote.php b/app/Views/sales/quote.php similarity index 100% rename from application/views/sales/quote.php rename to app/Views/sales/quote.php diff --git a/application/views/sales/quote_email.php b/app/Views/sales/quote_email.php similarity index 100% rename from application/views/sales/quote_email.php rename to app/Views/sales/quote_email.php diff --git a/application/views/sales/receipt.php b/app/Views/sales/receipt.php similarity index 100% rename from application/views/sales/receipt.php rename to app/Views/sales/receipt.php diff --git a/application/views/sales/receipt_default.php b/app/Views/sales/receipt_default.php similarity index 100% rename from application/views/sales/receipt_default.php rename to app/Views/sales/receipt_default.php diff --git a/application/views/sales/receipt_email.php b/app/Views/sales/receipt_email.php similarity index 100% rename from application/views/sales/receipt_email.php rename to app/Views/sales/receipt_email.php diff --git a/application/views/sales/receipt_short.php b/app/Views/sales/receipt_short.php similarity index 100% rename from application/views/sales/receipt_short.php rename to app/Views/sales/receipt_short.php diff --git a/application/views/sales/register.php b/app/Views/sales/register.php similarity index 100% rename from application/views/sales/register.php rename to app/Views/sales/register.php diff --git a/application/views/sales/suspended.php b/app/Views/sales/suspended.php similarity index 100% rename from application/views/sales/suspended.php rename to app/Views/sales/suspended.php diff --git a/application/views/sales/tax_invoice.php b/app/Views/sales/tax_invoice.php similarity index 100% rename from application/views/sales/tax_invoice.php rename to app/Views/sales/tax_invoice.php diff --git a/application/views/sales/work_order.php b/app/Views/sales/work_order.php similarity index 100% rename from application/views/sales/work_order.php rename to app/Views/sales/work_order.php diff --git a/application/views/sales/work_order_email.php b/app/Views/sales/work_order_email.php similarity index 100% rename from application/views/sales/work_order_email.php rename to app/Views/sales/work_order_email.php diff --git a/application/views/suppliers/form.php b/app/Views/suppliers/form.php similarity index 100% rename from application/views/suppliers/form.php rename to app/Views/suppliers/form.php diff --git a/application/views/taxes/manage.php b/app/Views/taxes/manage.php similarity index 100% rename from application/views/taxes/manage.php rename to app/Views/taxes/manage.php diff --git a/application/views/taxes/tax_categories.php b/app/Views/taxes/tax_categories.php similarity index 100% rename from application/views/taxes/tax_categories.php rename to app/Views/taxes/tax_categories.php diff --git a/application/views/taxes/tax_codes.php b/app/Views/taxes/tax_codes.php similarity index 100% rename from application/views/taxes/tax_codes.php rename to app/Views/taxes/tax_codes.php diff --git a/application/views/taxes/tax_jurisdictions.php b/app/Views/taxes/tax_jurisdictions.php similarity index 100% rename from application/views/taxes/tax_jurisdictions.php rename to app/Views/taxes/tax_jurisdictions.php diff --git a/application/views/taxes/tax_rates.php b/app/Views/taxes/tax_rates.php similarity index 100% rename from application/views/taxes/tax_rates.php rename to app/Views/taxes/tax_rates.php diff --git a/application/views/taxes/tax_rates_form.php b/app/Views/taxes/tax_rates_form.php similarity index 100% rename from application/views/taxes/tax_rates_form.php rename to app/Views/taxes/tax_rates_form.php