sales listing under transacitons

This commit is contained in:
Min Zeya Phyo
2017-05-29 18:55:34 +06:30
parent c7a4adc7cc
commit d7d29e4d16
26 changed files with 731 additions and 0 deletions

View File

@@ -142,7 +142,12 @@ Rails.application.routes.draw do
end
end
#--------- Transactions Sections ------------#
namespace :transactions do
resources :sales
end
#--------- Reports Controller Sections ------------#
namespace :reports do
resources :sales, :only => [:index, :show]
resources :orders, :only => [:index, :show]