From 1cbea173df9d600b81207cf02c4feeb0df456a9a Mon Sep 17 00:00:00 2001 From: Zin Lin Phyo Date: Mon, 28 Aug 2017 18:17:22 +0630 Subject: [PATCH] product commission transaction in commissioner --- .idea/sxrestaurant.iml | 1 + .idea/workspace.xml | 542 ++++++++---------- Gemfile | 1 + Gemfile.lock | 6 + app/assets/javascripts/application.js | 1 + app/assets/stylesheets/application.scss | 1 + .../settings/commissioners_controller.rb | 54 +- app/models/commission.rb | 11 + app/models/product_commission.rb | 2 - .../settings/commissioners/_form.html.erb | 20 + .../settings/commissioners/index.html.erb | 6 +- .../settings/commissioners/show.html.erb | 151 +++-- app/views/settings/commissions/index.html.erb | 4 +- config/routes.rb | 2 + ...170825034141_create_product_commissions.rb | 2 +- .../20170825090115_create_commissioners.rb | 2 +- .../20170825093252_create_commissions.rb | 4 +- 17 files changed, 460 insertions(+), 350 deletions(-) diff --git a/.idea/sxrestaurant.iml b/.idea/sxrestaurant.iml index 2a0f8404..0413cc5e 100644 --- a/.idea/sxrestaurant.iml +++ b/.idea/sxrestaurant.iml @@ -64,6 +64,7 @@ + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8a05bbbf..9a72e6a3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,13 +2,23 @@ - - - - + - + + + + + + + + + + + + + + @@ -23,7 +33,7 @@ - + @@ -50,91 +60,61 @@ - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -143,8 +123,8 @@ - - + + @@ -173,6 +153,7 @@ origami_commissions_path green reports_dailysale_index_path + mom @@ -185,9 +166,6 @@ @@ -256,9 +237,9 @@