From cb753ed4e44e80f6f8af0e2bdacfcdcdd0a77879 Mon Sep 17 00:00:00 2001 From: Nweni Date: Sat, 1 Jul 2017 15:25:34 +0630 Subject: [PATCH] shift | cash In | cash out --- app/views/origami/cash_ins/new.html.erb | 35 ++++++++++++------------ app/views/origami/cash_outs/new.html.erb | 21 ++++++++------ app/views/origami/payments/show.html.erb | 6 ++-- 3 files changed, 34 insertions(+), 28 deletions(-) diff --git a/app/views/origami/cash_ins/new.html.erb b/app/views/origami/cash_ins/new.html.erb index 1c513895..41330fc5 100644 --- a/app/views/origami/cash_ins/new.html.erb +++ b/app/views/origami/cash_ins/new.html.erb @@ -24,26 +24,24 @@ + + + Reference Number + + + + + Amount + + + -
-
-
Reference Number
-
-
-
-
-
-
Amount
-
-
-

-
-
-
-
+ +
- + +
@@ -76,4 +74,7 @@ $('#cash_in').on('click',function(){ } }); }) +$('#back').on('click',function(){ + window.location.href = '/origami'; +}) diff --git a/app/views/origami/cash_outs/new.html.erb b/app/views/origami/cash_outs/new.html.erb index 17f9bdf8..9d628f24 100644 --- a/app/views/origami/cash_outs/new.html.erb +++ b/app/views/origami/cash_outs/new.html.erb @@ -1,6 +1,8 @@ -

Payment Debit

+ +
-
+
+

Payment Debit

Payment Reference @@ -20,13 +22,12 @@
+
+ + +
+
-
-

-
-
-
-
diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index 4004e9cf..860633a4 100644 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -188,10 +188,10 @@
0.0
<% end %> -
+
-
Balance
-
<%= @sale_data.grand_total %>
+
Balance
+
<%= @sale_data.grand_total %>