mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for client portal
This commit is contained in:
parent
ed5e9cfd92
commit
99c7adfab4
@ -567,6 +567,10 @@ class DesignController extends BaseController
|
||||
case 'purchase_order':
|
||||
$company->purchase_orders()->update(['design_id' => $design_id]);
|
||||
break;
|
||||
default:
|
||||
case 'recurring_invoice':
|
||||
$company->recurring_invoices()->update(['design_id' => $design_id]);
|
||||
break;
|
||||
default:
|
||||
// code...
|
||||
break;
|
||||
|
@ -32,7 +32,7 @@
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||||
{{ $payment_method->meta?->brand }}
|
||||
{{ $payment_method->meta?->scheme }}
|
||||
{{ property_exists($payment_method->meta, 'scheme') ? $payment_method->meta?->scheme : '' }}
|
||||
</dd>
|
||||
</div>
|
||||
@endif
|
||||
@ -84,7 +84,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(($payment_method->meta?->state === 'unauthorized' || $payment_method->meta?->state === 'pending') && $payment_method->gateway_type_id === \App\Models\GatewayType::BANK_TRANSFER)
|
||||
@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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user