@extends('layouts.main') @section('content')
@csrf {{method_field('DELETE')}} Print @if(Auth::user()->canDo(['create_quotations'])) @endif

@include("mainsale._address")

@if(!empty($quote->customer))

TO:

{{$quote->customer->name}}
{{$quote->customer->phone_number}}
{{$quote->customer->address}}
@endif

PROFORMA INVOICE

No. {{$quote->id}}
{{Carbon\Carbon::parse($quote->created_at )->format("d M Y")}}

@foreach($quote->details as $detail) @endforeach
Item Quantity Unit price Amount
{!! $detail->stock->name($detail->stock) !!} {{$detail->quantity}} {{$detail->stock->category->unit}} {{number_format($detail->unit_price)}} {{number_format($calculated_amount)}}
Total {{number_format($total)}}

TOTAL UGX: {{number_format($total)}}

@include('mainsale._payment_method')

Thank you.

@endsection @section('styles') @endsection @push('scripts') @endpush