Tagihan : @if (isset($name)) Nama: {{ $name }} @endif @if (isset($address)) Alamat: {{ $address }} @endif @if (isset($status)) Status: {{ $status }} @endif @if (isset($month)) Bulan: {{ $month }} @endif @if (isset($year)) Tahun: {{ $year }} @endif
@if (!isset($address)) @endif @foreach ($dataPrint as $billing) @if (!isset($address)) @endif @endforeach
{{ __('billing.table.no') }} {{ __('billing.table.customer-name') }}{{ __('billing.table.address') }}{{ __('billing.table.periode') }} {{ __('billing.table.duedate') }} {{ __('billing.table.bill') }} {{ __('billing.table.bill-state') }} {{ __('Teller') }}
{{$loop->iteration}} {{$billing->customer_name ?? 'no name'}}{{ $billing->customer->address ?? 'no address' }}{{ Carbon\Carbon::parse($billing->billing_periode->name)->format('M Y') }} {{ Carbon\Carbon::parse($billing->due_date)->format('d M Y') }} @if ($billing->paket_price === 0) {{ __('Free') }} @else @moneyIDR($billing->paket_price) @endif @if ($billing->status === 'LS') {{ __('Lunas') }} @elseif ($billing->status === 'PL') {{ __('Mundur') }} {{ Carbon\Carbon::parse($billing->pay_later)->format('d M Y') }} @else {{ __('Belum Lunas') }} @endif @if ($billing->status === 'LS') {{$billing->teller_name }} @else {{ __('') }} @endif