@extends('layout.app') @section('content')
ID | C. date | Clients Name | Area | Contact No | OTC | Due OTC |
---|---|---|---|---|---|---|
{{ $r->id }} | {{ $r->client_create_date }} | {{ $r->clients_name }} | {{ $r->area }} | {{ $r->contact_no }} | @php $total += $r->otc @endphp {{ $r->otc }} | @php $dueOtc += $r->otc_due @endphp {{ $r->otc_due }} |
Total: | {{ number_format($total, 2, '.', '') }} | {{ number_format($dueOtc, 2, '.', '') }} |