add receipt no report and bug fixing

This commit is contained in:
Yan
2017-06-12 12:04:12 +06:30
parent b6bba9ecd4
commit ca2dc181d6
5 changed files with 29 additions and 16 deletions

View File

@@ -197,12 +197,13 @@ Rails.application.routes.draw do
#--------- Reports Controller Sections ------------#
namespace :reports do
resources :sales, :only => [:index, :show]
resources :orders, :only => [:index, :show]
resources :customers, :only => [:index, :show]
resources :products, :only => [:index, :show]
resources :inventory, :only => [:index, :show]
resources :employees, :only => [:index, :show]
resources :receipt_no, :only => [:index, :show]
# resources :sales, :only => [:index, :show]
# resources :orders, :only => [:index, :show]
# resources :customers, :only => [:index, :show]
# resources :products, :only => [:index, :show]
# resources :inventory, :only => [:index, :show]
# resources :employees, :only => [:index, :show]
end
#mount_compendium at: '/report' #, controller: 'reports'