@extends('layouts.tabler') @section('content')

{{ __('Quotation Details') }}

@foreach ($quotation->quotationDetails as $item) @endforeach {{-- created by --}}
No. Photo Product Name Product Code Current Stock Quantity Price Sub Total
{{ $loop->iteration }}
{{ $item->product->name }} {{ $item->product->code }} {{ $item->product->quantity }} {{ $item->quantity }} {{ number_format($item->unitcost, 2) }} {{ number_format($item->total, 2) }}
Created By {{ $quotation->user->name }}
Total {{ number_format($quotation->total_amount, 2) }}
Tax {{ number_format($quotation->tax_amount, 2) }}
Shipping {{ number_format($quotation->shipping_amount, 2) }}
Discount {{ number_format($quotation->discount_amount, 2) }}
Status @if ($quotation->status->value == 1) Completed @elseif ($quotation->status->value == 0) Pending @else Cancel @endif
{{-- complete quotation button --}} @if ($quotation->status->value == 0)
@csrf
@endif
@endsection