@if($this->bill_group->isNotEmpty())
@php $totalAmount = 0; foreach($selected_bill_items as $bill_item) { $totalAmount += $bill_item['amount']; } @endphp
@endif

@if($this->bill_group_data->isNotEmpty()) @foreach($bill_group_data as $data) @endforeach @endif
Bill Item Amount Action
{{$data->name}} {{number_format($data->amount, 2, '.', ',')}}
@if($this->selected_bill_items != null)

Preview

@foreach($this->selected_bill_items as $bill_item) @endforeach
{{ $bill_item['item'] }} ({{$bill_item['item_code']}}) 0.00
@endif
@script @endscript