mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-28 00:43:58 +00:00
E-Invoice - EXC3000: Exchange Rules of RM10K single INV, update new business logic
This commit is contained in:
@@ -90,7 +90,7 @@ class CanPassMustEInvoiceAmountLimitRule extends AbstractRule
|
||||
// }
|
||||
|
||||
if((($booking->fix_amount >= 17000 && $booking->fix_currency_id === 2) ||
|
||||
($booking->fix_amount >= 4000 && $booking->fix_currency_id === 3))
|
||||
($booking->fix_amount >= 2400 && $booking->fix_currency_id === 3))
|
||||
&& (!$company->e_invoice || !$company->tin) ){
|
||||
throw new CriteriaNotFulfilledException("Booking amount above limit, must opt-in for E-Invoice.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user