@php $paymentGateway = \App\Models\PaymentGateway::where('is_active', true)->first(); @endphp @include('partials.show-customer-heading')
@if ($paymentGateway && $paymentGateway->value === 'tripay' && env('TRIPAY_MODE') === 'development') Payment Gateway The payment gateway is in developer mode, so don't conduct real transactions with customers. It's used solely for testing payments through the payment gateway. @endif
{{ __('Create Invoice') }}
@php $userInvoices = $user->invoices()->orderBy('periode')->paginate(10); @endphp @if ($userInvoices->hasPages())
{{ $userInvoices->links() }}
@endif {{ trans('billing.table.no') }} {{ trans('billing.table.periode') }} {{ trans('billing.table.deadline') }} {{ trans('billing.table.bill') }} {{ trans('billing.table.status') }} Note {{ trans('billing.table.action') }} @php $websystem = \App\Models\Websystem::first(); @endphp @forelse ($userInvoices as $key => $invoice) {{ $loop->index + 1 }} {{ \Carbon\Carbon::parse($invoice->periode)->format('M Y') }} {{ $invoice->notes }}
@empty
{{ trans('billing.notfound') }}
@endforelse @php $billingUnpayment = $user->invoices->whereNull('paid_at'); @endphp @if (count($billingUnpayment)) @php $whatsappGatewayDisabled = \App\Models\WhatsappGateway\WhatsappGatewayGeneral::first() ->disabled; @endphp @endif