@extends('printinvoice') @section('contentnew') @foreach($items as $item) @endforeach
SI.# Desc. Unit Qty. Rate Vat% Vat Amt. Total
{{$i}} {{$item->item_name}} {{$item->unit_name}} {{$item->quantity}} {{number_format($item->unit_price,2)}} {{$item->vat.'%'}} {{number_format($item->vat_amount,2)}} {{number_format($item->total_price,2)}}
Gross Total: {{number_format($gross_total,2)}}
Discount: {{number_format($details->discount,2)}}
Vat Amount: {{number_format($details->vat_amount,2)}}
Net Total: {{number_format($details->net_amount,2)}}
@stop