This commit is contained in:
Nweni
2017-06-12 19:35:05 +06:30
parent 3bc3419243
commit c904451110
3 changed files with 12 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ class Origami::PaymentsController < BaseOrigamiController
if spay.payment_method == "cash"
@cash = spay.payment_amount
end
if spay.payment_method == "mpu"
@other = spay.payment_amount
if spay.payment_method == "mpu" || spay.payment_method == "paypar"
@other += spay.payment_amount
end
end
end