

RewriteEngine on
# Dashboard --------------------------------------------------------
RewriteRule ^dashboard$ index.php?page=Dashboard&page=Dashboard [QSA,NC,L]
# ----------------------------------------------------
#change password--------------------------------------
RewriteRule ^Changepassword$ index.php?page=Change_password&page=Change_password [QSA,NC,L]
#-----------------------------------------------------
#Profile_setting-----------------------------------------------
RewriteRule ^profile-setting$ index.php?page=Profile_setting&page=Profile_setting [QSA,NC,L]
# ---------------------------------------------------
#Logout-----------------------------------------------
RewriteRule ^logout$ index.php?page=Logout&page=Logout [QSA,NC,L]
# ---------------------------------------------------
#Brands-----------------------------------------------
RewriteRule ^brands$ index.php?page=Brands&page=Brands [QSA,NC,L]
# ----------------------------------------------------
#Units-----------------------------------------------
RewriteRule ^units$ index.php?page=Units&page=Units [QSA,NC,L]
# ----------------------------------------------------
#Categories-----------------------------------------------
RewriteRule ^categories$ index.php?page=Categories&page=Categories [QSA,NC,L]
# ----------------------------------------------------
#Sub_categories-----------------------------------------------
RewriteRule ^sub_categories$ index.php?page=Sub_categories&page=Sub_categories [QSA,NC,L]
# ----------------------------------------------------
#Varriant_attributes-----------------------------------------------
RewriteRule ^varriant_attributes$ index.php?page=Varriant_attributes&page=Varriant_attributes [QSA,NC,L]
# ----------------------------------------------------
#Warranty-----------------------------------------------
RewriteRule ^warranty$ index.php?page=Warranty&page=Warranty [QSA,NC,L]
# ----------------------------------------------------
#Tax_rates-----------------------------------------------
RewriteRule ^tax_rates$ index.php?page=Tax_rates&page=Tax_rates [QSA,NC,L]
# ----------------------------------------------------
#Currency-----------------------------------------------
RewriteRule ^currency$ index.php?page=Currency&page=Currency [QSA,NC,L]
# ----------------------------------------------------
#Coupons-----------------------------------------------
RewriteRule ^coupons$ index.php?page=Coupons&page=Coupons [QSA,NC,L]
# ----------------------------------------------------
#Customers-----------------------------------------------
RewriteRule ^customers$ index.php?page=Customers&page=Customers [QSA,NC,L]
# ----------------------------------------------------
#Warehouses-----------------------------------------------
RewriteRule ^warehouses$ index.php?page=Warehouses&page=Warehouses [QSA,NC,L]
# ----------------------------------------------------
#Printers-----------------------------------------------
RewriteRule ^printers$ index.php?page=Printers&page=Printers [QSA,NC,L]
# ----------------------------------------------------
#Bank_account_list-----------------------------------------------
RewriteRule ^bank_account_list$ index.php?page=Bank_account_list&page=Bank_account_list [QSA,NC,L]
# ----------------------------------------------------
#Payment_gateway_settings-----------------------------------------------
RewriteRule ^payment_gateway_settings$ index.php?page=Payment_gateway_settings&page=Payment_gateway_settings [QSA,NC,L]
# ----------------------------------------------------
#Email_settings-----------------------------------------------
RewriteRule ^email_settings$ index.php?page=Email_settings&page=Email_settings [QSA,NC,L]
# ----------------------------------------------------
#Sms_gateway-----------------------------------------------
RewriteRule ^sms_gateway$ index.php?page=Sms_gateway&page=Sms_gateway [QSA,NC,L]
# ----------------------------------------------------
#Invoice_settings-----------------------------------------------
RewriteRule ^invoice_settings$ index.php?page=Invoice_settings&page=Invoice_settings [QSA,NC,L]
# ----------------------------------------------------
#Pos_settings-----------------------------------------------
RewriteRule ^pos_settings$ index.php?page=Pos_settings&page=Pos_settings [QSA,NC,L]
# ----------------------------------------------------
#Localization_settings-----------------------------------------------
RewriteRule ^localization_settings$ index.php?page=Localization_settings&page=Localization_settings [QSA,NC,L]
# ----------------------------------------------------
#Prefixes-----------------------------------------------
RewriteRule ^prefixes$ index.php?page=Prefixes&page=Prefixes [QSA,NC,L]
# ----------------------------------------------------
#Social_authentication-----------------------------------------------
RewriteRule ^social_authentication$ index.php?page=Social_authentication&page=Social_authentication [QSA,NC,L]
# ----------------------------------------------------
#Add_product-----------------------------------------------
RewriteRule ^add_product$ index.php?page=Add_product&page=Add_product [QSA,NC,L]
# ----------------------------------------------------
#Branches-----------------------------------------------
RewriteRule ^branches$ index.php?page=Branches&page=Branches [QSA,NC,L]
# ----------------------------------------------------
#Product_list-----------------------------------------------
RewriteRule ^product_list$ index.php?page=Product_list&page=Product_list [QSA,NC,L]
# ----------------------------------------------------
#Recipe_management-----------------------------------------------
RewriteRule ^recipe_management$ index.php?page=Recipe_management&page=Recipe_management [QSA,NC,L]
# ----------------------------------------------------
#Edit_product-----------------------------------------------
RewriteRule ^edit_product$ index.php?page=Edit_product&page=Edit_product [QSA,NC,L]
# ----------------------------------------------------
#Product_combo-----------------------------------------------
RewriteRule ^product_combo$ index.php?page=Product_combo&page=Product_combo [QSA,NC,L]
# ----------------------------------------------------
#Add_combo_product-----------------------------------------------
RewriteRule ^add_combo_product$ index.php?page=Add_combo_product&page=Add_combo_product [QSA,NC,L]
# ----------------------------------------------------
#Edit_combo_product-----------------------------------------------
RewriteRule ^edit_combo_product$ index.php?page=Edit_combo_product&page=Edit_combo_product [QSA,NC,L]
# ----------------------------------------------------
#Purchase_list-----------------------------------------------
RewriteRule ^purchase_list$ index.php?page=Super_admin_purchase_list&page=Super_admin_purchase_list [QSA,NC,L]
# ----------------------------------------------------
#Suppliers-----------------------------------------------
RewriteRule ^suppliers$ index.php?page=Suppliers&page=Suppliers [QSA,NC,L]
# ----------------------------------------------------
#Purchase_order_report-----------------------------------------------
RewriteRule ^purchase_order_report$ index.php?page=Purchase_order_report&page=Purchase_order_report [QSA,NC,L]
# ----------------------------------------------------
#Purchase_returns-----------------------------------------------
RewriteRule ^purchase_returns$ index.php?page=Purchase_returns&page=Purchase_returns [QSA,NC,L]
# ----------------------------------------------------
#Purchase_payments-----------------------------------------------
RewriteRule ^purchase_payments$ index.php?page=Purchase_payments&page=Purchase_payments [QSA,NC,L]
# ----------------------------------------------------
#Sales_list-----------------------------------------------
RewriteRule ^sales_list$ index.php?page=Sales_list&page=Sales_list [QSA,NC,L]
# ----------------------------------------------------
#Add_sale-----------------------------------------------
RewriteRule ^add_sale$ index.php?page=Add_sale&page=Add_sale [QSA,NC,L]
# ----------------------------------------------------
#Edit_sale-----------------------------------------------
RewriteRule ^edit_sale$ index.php?page=Edit_sale&page=Edit_sale [QSA,NC,L]
# ----------------------------------------------------
#Sales_returns-----------------------------------------------
RewriteRule ^sales_returns$ index.php?page=Sales_returns&page=Sales_returns [QSA,NC,L]
# ----------------------------------------------------
#Sales_payments-----------------------------------------------
RewriteRule ^sales_payments$ index.php?page=Sales_payments&page=Sales_payments [QSA,NC,L]
# ----------------------------------------------------
#Quotations-----------------------------------------------
RewriteRule ^quotations$ index.php?page=Quotations&page=Quotations [QSA,NC,L]
# ----------------------------------------------------
#Add_quotations-----------------------------------------------
RewriteRule ^add_quotation$ index.php?page=Add_quotations&page=Add_quotations [QSA,NC,L]
# ----------------------------------------------------
#Edit_quotation-----------------------------------------------
RewriteRule ^edit_quotation$ index.php?page=Edit_quotation&page=Edit_quotation [QSA,NC,L]
# ----------------------------------------------------
#Payment_methods-----------------------------------------------
RewriteRule ^payment_methods$ index.php?page=Payment_methods&page=Payment_methods [QSA,NC,L]
# ----------------------------------------------------
#Pos-----------------------------------------------
RewriteRule ^pos$ index.php?page=Pos&page=Pos [QSA,NC,L]
# ----------------------------------------------------
#Sales_exchange-----------------------------------------------
RewriteRule ^sales_exchange$ index.php?page=Sales_exchange&page=Sales_exchange [QSA,NC,L]
# ----------------------------------------------------
#Edit_exchange-----------------------------------------------
RewriteRule ^edit_exchange$ index.php?page=Edit_exchange&page=Edit_exchange [QSA,NC,L]
# ----------------------------------------------------
#Inventory-----------------------------------------------
RewriteRule ^inventory$ index.php?page=Inventory&page=Inventory [QSA,NC,L]
# ----------------------------------------------------
#Created_combo_products-----------------------------------------------
RewriteRule ^created_combo_products$ index.php?page=Created_combo_products&page=Created_combo_products [QSA,NC,L]
# ----------------------------------------------------
#Expired_products-----------------------------------------------
RewriteRule ^expired_products$ index.php?page=Expired_products&page=Expired_products [QSA,NC,L]
# ----------------------------------------------------
#Low_stock-----------------------------------------------
RewriteRule ^low_stock$ index.php?page=Low_stock&page=Low_stock [QSA,NC,L]
# ----------------------------------------------------
#Purchase_report-----------------------------------------------
RewriteRule ^purchase_report$ index.php?page=Purchase_report&page=Purchase_report [QSA,NC,L]
# ----------------------------------------------------
#Sale_report-----------------------------------------------
RewriteRule ^sale_report$ index.php?page=Sale_report&page=Sale_report [QSA,NC,L]
# ----------------------------------------------------
#Detail_sales_profit_loss_report-----------------------------------------------
RewriteRule ^detail_sales_profit_loss_report$ index.php?page=Detail_sales_profit_loss_report&page=Detail_sales_profit_loss_report [QSA,NC,L]
# ----------------------------------------------------
#Loyality_settings-----------------------------------------------
RewriteRule ^loyality_settings$ index.php?page=Loyality_settings&page=Loyality_settings [QSA,NC,L]
# ----------------------------------------------------
#Price_groups-----------------------------------------------
RewriteRule ^price_groups$ index.php?page=Price_groups&page=Price_groups [QSA,NC,L]
# ----------------------------------------------------
#Bar_code-----------------------------------------------
RewriteRule ^bar_code$ index.php?page=Bar_code&page=Bar_code [QSA,NC,L]
# ----------------------------------------------------
#Rights-----------------------------------------------
RewriteRule ^rights$ index.php?page=Rights&page=Rights [QSA,NC,L]
# ----------------------------------------------------
#Expenses-----------------------------------------------
RewriteRule ^expenses$ index.php?page=Expenses&page=Expenses [QSA,NC,L]
# ----------------------------------------------------
#Expenses_categories-----------------------------------------------
RewriteRule ^expenses_categories$ index.php?page=Expenses_categories&page=Expenses_categories [QSA,NC,L]
# ----------------------------------------------------

#Customer_report-----------------------------------------------
RewriteRule ^customer_report$ index.php?page=Customer_report&page=Customer_report [QSA,NC,L]
# ----------------------------------------------------
#Supplier_report-----------------------------------------------
RewriteRule ^supplier_report$ index.php?page=Supplier_report&page=Supplier_report [QSA,NC,L]
# ----------------------------------------------------
#Expense_report-----------------------------------------------
RewriteRule ^expense_report$ index.php?page=Expense_report&page=Expense_report [QSA,NC,L]
# ----------------------------------------------------
#Income_report-----------------------------------------------
RewriteRule ^income_report$ index.php?page=Income_report&page=Income_report [QSA,NC,L]
# ----------------------------------------------------
#Tax_reports-----------------------------------------------
RewriteRule ^tax_reports$ index.php?page=Tax_reports&page=Tax_reports [QSA,NC,L]
# ----------------------------------------------------
#Profit_and_loss-----------------------------------------------
RewriteRule ^profit_and_loss$ index.php?page=Profit_and_loss&page=Profit_and_loss [QSA,NC,L]
# ----------------------------------------------------
#Cash_flow_report-----------------------------------------------
RewriteRule ^cash_flow_report$ index.php?page=Cash_flow_report&page=Cash_flow_report [QSA,NC,L]
# ----------------------------------------------------
#Daily_book-----------------------------------------------
RewriteRule ^dailybook$ index.php?page=Daily_book&page=Daily_book [QSA,NC,L]
# ----------------------------------------------------
#Add_purchase_list-----------------------------------------------
RewriteRule ^add_purchase_list$ index.php?page=Super_admin_add_purchase&page=Super_admin_add_purchase [QSA,NC,L]
# ----------------------------------------------------
#Adds-----------------------------------------------
RewriteRule ^adds$ index.php?page=Adds&page=Adds [QSA,NC,L]
# ----------------------------------------------------
#Transfer_stock-----------------------------------------------
RewriteRule ^transfer_stock$ index.php?page=Transfer_stock&page=Transfer_stock [QSA,NC,L]
# ----------------------------------------------------
#Create_transfer_stock-----------------------------------------------
RewriteRule ^create_transfer_stock$ index.php?page=Create_transfer_stock&page=Create_transfer_stock [QSA,NC,L]
# ----------------------------------------------------
#Edit_transfer_stock-----------------------------------------------
RewriteRule ^edit_transfer_stock$ index.php?page=Edit_transfer_stock&page=Edit_transfer_stock [QSA,NC,L]
# ----------------------------------------------------
#Region-----------------------------------------------
RewriteRule ^region$ index.php?page=Region&page=Region [QSA,NC,L]
# ----------------------------------------------------
#Expiry_products-----------------------------------------------
RewriteRule ^expiry_products$ index.php?page=Expiry_products&page=Expiry_products [QSA,NC,L]
# ----------------------------------------------------
#Web_orders-----------------------------------------------
RewriteRule ^web_orders$ index.php?page=Web_orders&page=Web_orders [QSA,NC,L]
# ----------------------------------------------------
#View_web_orders-----------------------------------------------
RewriteRule ^view_web_orders$ index.php?page=View_web_orders&page=View_web_orders [QSA,NC,L]
# ----------------------------------------------------
#Edit_purchase_list-----------------------------------------------
RewriteRule ^edit_purchase_list$ index.php?page=Super_admin_edit_purchase&page=Super_admin_edit_purchase [QSA,NC,L]
# ----------------------------------------------------
#Add_sale_exchange-----------------------------------------------
RewriteRule ^add_sale_exchange$ index.php?page=Add_sale_exchange&page=Add_sale_exchange [QSA,NC,L]
# ----------------------------------------------------
#Website_colors-----------------------------------------------
RewriteRule ^website_colors$ index.php?page=Website_colors&page=Website_colors [QSA,NC,L]
# ----------------------------------------------------
#Website_top_menu-----------------------------------------------
RewriteRule ^website_top_menu$ index.php?page=Website_top_menu&page=Website_top_menu [QSA,NC,L]
# ----------------------------------------------------
#Attributes_products-----------------------------------------------
RewriteRule ^attributes_products$ index.php?page=Attributes_products&page=Attributes_products [QSA,NC,L]
# ----------------------------------------------------
#Edit_brand-----------------------------------------------
RewriteRule ^edit_brand$ index.php?page=Edit_brand&page=Edit_brand [QSA,NC,L]
# ----------------------------------------------------
#System_languages-----------------------------------------------
RewriteRule ^system_languages$ index.php?page=System_languages&page=System_languages [QSA,NC,L]
# ----------------------------------------------------
#Website_banners-----------------------------------------------
RewriteRule ^website_banners$ index.php?page=Website_banners&page=Website_banners [QSA,NC,L]
# ----------------------------------------------------
#Brand_animations-----------------------------------------------
RewriteRule ^brand_animations$ index.php?page=Brand_animations&page=Brand_animations [QSA,NC,L]
# ----------------------------------------------------
#Store_images-----------------------------------------------
RewriteRule ^store_images$ index.php?page=Store_images&page=Store_images [QSA,NC,L]
# ----------------------------------------------------
#Website_footer-----------------------------------------------
RewriteRule ^website_footer$ index.php?page=Website_footer&page=Website_footer [QSA,NC,L]
# ----------------------------------------------------
#Website_about_us-----------------------------------------------
RewriteRule ^website_about_us$ index.php?page=Website_about_us&page=Website_about_us [QSA,NC,L]
# ----------------------------------------------------
#Website_contact-----------------------------------------------
RewriteRule ^website_contact$ index.php?page=Website_contact&page=Website_contact [QSA,NC,L]
# ----------------------------------------------------
#Blogs-----------------------------------------------
RewriteRule ^blogs$ index.php?page=Blogs&page=Blogs [QSA,NC,L]
# ----------------------------------------------------
#Edit_blogs-----------------------------------------------
RewriteRule ^edit_blogs$ index.php?page=Edit_blogs&page=Edit_blogs [QSA,NC,L]
# ----------------------------------------------------
#Ingredients-----------------------------------------------
RewriteRule ^ingredients$ index.php?page=Ingredients&page=Ingredients [QSA,NC,L]
# ----------------------------------------------------
#Create_product-----------------------------------------------
RewriteRule ^create_product$ index.php?page=Create_product&page=Create_product [QSA,NC,L]
# ----------------------------------------------------
#Edit_created_product-----------------------------------------------
RewriteRule ^edit_created_product$ index.php?page=Edit_created_product&page=Edit_created_product [QSA,NC,L]
# ----------------------------------------------------
#Modifiers-----------------------------------------------
RewriteRule ^modifiers$ index.php?page=Modifiers&page=Modifiers [QSA,NC,L]
# ----------------------------------------------------
#Users-----------------------------------------------
RewriteRule ^users$ index.php?page=Users&page=Users [QSA,NC,L]
# ----------------------------------------------------
#Bulk_product_update-----------------------------------------------
RewriteRule ^bulk_product_update$ index.php?page=Bulk_product_update&page=Bulk_product_update [QSA,NC,L]
# ----------------------------------------------------
#Hold_orders_list-----------------------------------------------
RewriteRule ^hold_orders_list$ index.php?page=Hold_orders_list&page=Hold_orders_list [QSA,NC,L]
# ----------------------------------------------------
#Cancel_orders_list-----------------------------------------------
RewriteRule ^cancel_orders_list$ index.php?page=Cancel_orders_list&page=Cancel_orders_list [QSA,NC,L]
# ----------------------------------------------------
#Register_closed_reports-----------------------------------------------
RewriteRule ^register_closed_reports$ index.php?page=Register_closed_reports&page=Register_closed_reports [QSA,NC,L]
# ----------------------------------------------------
#Top_selling_products-----------------------------------------------
RewriteRule ^top_selling_products$ index.php?page=Top_selling_products&page=Top_selling_products [QSA,NC,L]
# ----------------------------------------------------
#Branch_stock-----------------------------------------------
RewriteRule ^branch_stock$ index.php?page=Branch_stock&page=Branch_stock [QSA,NC,L]
# ----------------------------------------------------
#Products_recipe_report-----------------------------------------------
RewriteRule ^products_recipe_report$ index.php?page=Products_recipe_report&page=Products_recipe_report [QSA,NC,L]
# ----------------------------------------------------
#Product_detail_report-----------------------------------------------
RewriteRule ^product_detail_report$ index.php?page=Product_detail_report&page=Product_detail_report [QSA,NC,L]
# ----------------------------------------------------
#  Smtp_settings-----------------------------------------
RewriteRule ^smtp_settings$ index.php?page=Smtp_settings&page=Smtp_settings [QSA,NC,L]
# ----------------------------------------------------
#Stock_count-----------------------------------------------
RewriteRule ^stock_count$ index.php?page=Stock_count&page=Stock_count [QSA,NC,L]
# ----------------------------------------------------
#Stock_adjustment-----------------------------------------------
RewriteRule ^stock_adjustment$ index.php?page=Stock_adjustment&page=Stock_adjustment [QSA,NC,L]
# ----------------------------------------------------
#Stock_adjustment_list-----------------------------------------------
RewriteRule ^stock_adjustment_list$ index.php?page=Stock_adjustment_list&page=Stock_adjustment_list [QSA,NC,L]
# ----------------------------------------------------
#Stock_adjustment_detail-----------------------------------------------
RewriteRule ^stock_adjustment_detail$ index.php?page=Stock_adjustment_detail&page=Stock_adjustment_detail [QSA,NC,L]
# ----------------------------------------------------
#Manual_stock_adjustment-----------------------------------------------
RewriteRule ^manual_stock_adjustment$ index.php?page=Manual_stock_adjustment&page=Manual_stock_adjustment [QSA,NC,L]
# ----------------------------------------------------
#Switch_database-----------------------------------------------
RewriteRule ^switch_database$ index.php?page=Switch_database&page=Switch_database [QSA,NC,L]
# ----------------------------------------------------
#Custom_stock-----------------------------------------------
RewriteRule ^custom_stock$ index.php?page=Custom_stock&page=Custom_stock [QSA,NC,L]
# ----------------------------------------------------
#Update_product_prices-----------------------------------------------
RewriteRule ^update_product_prices$ index.php?page=Update_product_prices&page=Update_product_prices [QSA,NC,L]
# ----------------------------------------------------
#Grand_sale_report-----------------------------------------------
RewriteRule ^grand_sale_report$ index.php?page=Grand_sale_report&page=Grand_sale_report [QSA,NC,L]
# Credit Customer Report -----------------------------------------
RewriteRule ^credit_customer_report$ index.php?page=Credit_customer_report&page=Credit_customer_report [QSA,NC,L]
# ----------------------------------------------------
#Grand_purchase_report-----------------------------------------------
RewriteRule ^grand_purchase_report$ index.php?page=Grand_purchase_report&page=Grand_purchase_report [QSA,NC,L]
# ----------------------------------------------------
#Grand_register_report-----------------------------------------------
RewriteRule ^grand_register_report$ index.php?page=Grand_register_report&page=Grand_register_report [QSA,NC,L]
# ----------------------------------------------------
#Grand_adjustment_report-----------------------------------------------
RewriteRule ^grand_adjustment_report$ index.php?page=Grand_adjustment_report&page=Grand_adjustment_report [QSA,NC,L]
# ----------------------------------------------------
#Grand_product_movement_report-----------------------------------------------
RewriteRule ^grand_product_movement_report$ index.php?page=Grand_product_movement_report&page=Grand_product_movement_report [QSA,NC,L]
# ----------------------------------------------------

#Product_cost_report-----------------------------------------------
RewriteRule ^product_cost_report$ index.php?page=Product_cost_report&page=Product_cost_report [QSA,NC,L]
# ----------------------------------------------------

# Product Ingredient Profitability Report
RewriteRule ^product_ingredient_profitability_report$ index.php?page=Product_ingredient_profitability_report [QSA,NC,L]
# ----------------------------------------------------
RewriteRule ^update_product_prices$ index.php?page=Update_product_prices&page=Update_product_prices [QSA,NC,L]



