Fixes for payment methods

This commit is contained in:
David Bomba 2022-07-30 15:59:08 +10:00
parent 3de6b01e14
commit 18c89239dd

View File

@ -84,7 +84,7 @@
</div>
</div>
@if(($payment_method->gateway_type_id === \App\Models\GatewayType::BANK_TRANSFER && property_exists($payment_method->meta, 'state') && ($payment_method->meta?->state === 'unauthorized' || $payment_method->meta?->state === 'pending')))
@if(($payment_method->gateway_type_id == \App\Models\GatewayType::BANK_TRANSFER && property_exists($payment_method->meta, 'state') && ($payment_method->meta?->state === 'unauthorized' || $payment_method->meta?->state === 'pending')))
<div class="mt-4 mb-4 bg-white shadow sm:rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="sm:flex sm:items-start sm:justify-between">