mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-26 07:53:58 +00:00
Comments on code
This commit is contained in:
@@ -20,6 +20,7 @@ class PaymentTransactionResource extends JsonResource
|
||||
{
|
||||
$booking = null; //cief todo: 66
|
||||
$bank = null;
|
||||
//Check if Transaction of type PAYMENT has an override for recipient bank - starts
|
||||
if(in_array((int)$this->type, [TransactionType::BILL, TransactionType::REFUND])){
|
||||
$booking = $this->owner->owner;
|
||||
$bank = $this->owner->bank ?? $booking->bank;
|
||||
@@ -28,6 +29,7 @@ class PaymentTransactionResource extends JsonResource
|
||||
$booking = $this->owner;
|
||||
$bank = $this->bank ?? $booking->bank;
|
||||
}
|
||||
//Check if Transaction of type PAYMENT has an override for recipient bank - ends
|
||||
|
||||
$booking_marking = '';
|
||||
switch ($this->owner_type) {
|
||||
|
||||
Reference in New Issue
Block a user