added bank name in upcoming payouts in payouts tab

This commit is contained in:
jouls 2024-04-30 09:04:40 +08:00
parent 2ad0c9e955
commit ca799e9c23
1 changed files with 2 additions and 1 deletions

View File

@ -211,9 +211,10 @@ $vendorPayoutData = json_decode($response, true);
$vendorResponse = getVendorbyId($vendorId);
$vendorInformation = json_decode($vendorResponse, true);
$bankAccountNumber = $vendorInformation['bank_acount_details'][0]['bank_account_number'];
$bankName = $vendorInformation['bank_acount_details'][0]['bank_name'];
$bankNumEnding = substr($bankAccountNumber, -3);
?>
Receipient: Philippine National Bank (PNB) Account ending in <?php echo $bankNumEnding?>
Receipient: <?php echo $bankName; ?> Account ending in <?php echo $bankNumEnding?>
</div>
</div>
</div>