update credit

This commit is contained in:
Aung Myo
2017-06-26 19:02:36 +06:30
parent f3417a61c0
commit 376af85c64
5 changed files with 91 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ class Sale < ApplicationRecord
"monthly" => 1,
"yearly" => 2
}
SALE_STATUS_OUTSTANDING = "outstanding"
SALE_STATUS_COMPLETED = "completed"
def generate_invoice_from_booking(booking_id, requested_by)