@include('layouts.header')
@include('layouts.sidebar')
{{-- Permission Php --}} @php $choosePermission = []; if (auth()->user()->permission) { $decodedPermissions = json_decode(auth()->user()->permission, true); if (json_last_error() === JSON_ERROR_NONE) { $choosePermission = $decodedPermissions; } } @endphp {{-- End Php --}}

Quotation Report

@if (auth()->user()->is_admin == '1')
@else
@endif

Quotation Report

@php $no = '1'; @endphp @if (!empty($search_quotations)) @foreach ($search_quotations as $quotation) @endforeach @else @foreach ($quotations as $quotation) @endforeach @endif @php $no++; @endphp
No. Quotaiton No. Location Customer Name Phone Number Customer Type Address Total Amount
{{ $no }} {{ $quotation->quote_no }} @foreach ($branchs as $branch) @if ($branch->id == $quotation->branch) {{ $branch->name }} @endif @endforeach {{ $quotation->customer_name }} {{ $quotation->phno }} {{ $quotation->type }} {{ $quotation->address }} {{ number_format($quotation->total ?? 0, 2) }}
{{ $no }} {{ $quotation->quote_no }} @foreach ($branchs as $branch) @if ($branch->id == $quotation->branch) {{ $branch->name }} @endif @endforeach {{ $quotation->customer_name }} {{ $quotation->phno }} {{ $quotation->type }} {{ $quotation->address }} {{ number_format($quotation->total ?? 0, 2) }}
Total @if (!empty($search_quotations)) {{ number_format($search_total ?? 0, 2) }}@else{{ number_format($total ?? 0, 2) }} @endif