feat: add waitlist module, quick payment/transaction edit, and catering fee deduction from professor share
This commit is contained in:
@@ -24,7 +24,7 @@ const sanitizeNotes = (notes) => {
|
||||
|
||||
const rialsToToman = (value) => Math.floor(toNonNegativeNumber(value) / 10);
|
||||
|
||||
const isCancelledTransaction = (trx = {}) => String(trx.status || '').toLowerCase() === 'cancelled';
|
||||
const isCancelledTransaction = (trx = {}) => ['cancelled', 'reverted'].includes(String(trx.status || '').toLowerCase());
|
||||
|
||||
const isPaidTransaction = (trx = {}) => {
|
||||
if (isCancelledTransaction(trx)) return false;
|
||||
|
||||
Reference in New Issue
Block a user