@if($CrDr == 'D') @endif @foreach($data as $result) @if($CrDr == 'D') @if($result->BillDate=='0000-00-00' || $result->BillDate=='') @else @endif @endif @if($result->CrDr == 'C') @else @endif @endforeach
Vendor Name IOL Company Namer IOL Name IOL Type PowerSr No Bill No Bill Date Expiry DateQuantity Amount CrDr Date Action
{{$result->VedName}} {{$result->IolCompName}} {{$result->Cname}} {{$result->Model}} {{$result->Power}}{{$result->SrNo}} {{$result->BillNo}}{{date("d/m/Y", strtotime(str_replace('-', '/',$result->BillDate)))}}{{$result->ExpMonth}}/{{$result->ExpYear}}{{$result->Quantity}} ₹{{number_format($result->Amount,2)}}CreditDebit{{date("d/m/Y", strtotime(str_replace('-', '/',$result->StockDate)))}}