Laravel Vapor - Fix a front end display inaccurate on user UI when editing recipient bank details

This commit is contained in:
Dillon Ngo
2024-10-28 16:34:21 +08:00
parent 4784c704c2
commit bb0bc7a04e
@@ -21,6 +21,7 @@ class TransactionResource extends JsonResource
{
$booking = null; //cief todo: 66
$bank = null;
//Check if Transaction of type PAYMENT has an override for recipient bank - starts
$isEditedBankRecipient = false;
if(in_array((int)$this->type, [TransactionType::BILL, TransactionType::REFUND, TransactionType::SUPPLIER_REFUND])){