Billing

@if ($canAdd) @endif
@if (session('success'))
Success! {{ session('success') }}
@endif
List of Billing
@if ($billings->count() == 0) @else @foreach ($billings as $billing) @php $locationLabel = App\Models\Billing::LOCATION_LABELS[$billing->location_id]; @endphp @endforeach @endif
Location SGST CGST IGST VAT Created On
No Billing found
{{ $locationLabel }} {{ $billing->sgst != 0 ? $billing->sgst.'%' : '' }} {{ $billing->cgst != 0 ? $billing->cgst.'%' : '' ?? '' }} {{ $billing->igst != 0 ? $billing->igst.'%' : '' }} {{ $billing->vat != 0 ? $billing->vat.'%' : '' }} {{ $billing->created_at }} @if ($canEdit) @endif @if ($canDelete) @endif