@extends('layouts.app') @section('content')
| Branch | Type | Ref. No. | Date | Customer | Total | P & L | P & L % |
|---|---|---|---|---|---|---|---|
| {{ $invoice->branch->branch_name ?? '' }} | @if($invoice->is_estimate == 'yes') Estimate @elseif($invoice->is_estimate == 'no') Invoice @endif | {{ $invoice->reference_no }} | {{ $invoice->invoice_date->format(app_date_format()) }} | {{ $invoice->customer->customer_name ?? '' }} | {{ number_format($invoice->grand_total,2) }} | @if($invoice->profit_amount < 0) {{ number_format($invoice->profit_amount,2) }} @else {{ number_format($invoice->profit_amount,2) }} @endif | {{ $invoice->plpercentage() }} % |
| @lang('general.no_details_found') | |||||||