@extends('admin.layout.master') @section('title','SELLS QUOTATION MANAGEMENT') @section('custom_style') @endsection @section ('content')

SELLS QUOTATION

{{--
--}}
{{-- Search --}} {{--
--}} {{--
--}}
{{-- end --}}
@php $statusArray=[0=>'PENDING',1=>'ACCEPT']; @endphp @forelse ($quotations as $i=>$quotation) @empty @endforelse
# Quotation No Date Ref. Party Total Amount Charge Net Amount Status Action
{{ ($i+1) }}
{{$quotation->quotation_no}}
{{date('d-m-Y',strtotime($quotation->created_at))}}
{{$quotation->reference}}
{{$quotation->party->name_eng}}
{{$quotation->net_amount}}
{{$quotation->invoice_charge}}
{{($quotation->net_amount-$quotation->invoice_charge)}}
{{$statusArray[$quotation->status]}} {{-- --}} {{-- @if($quotation->status>0 && $quotation->requisition_id) Comparative Statement @else --}} {{-- --}} {{-- @endif --}} @if($quotation->status==0) @if(checkAuthPermission('pre_sells.quotation_edit')) @endif {{-- @if($quotation->approved_status==1) --}} {{-- @if($action_step_id=checkApproval($quotation->approvals,$action_id)) @endif --}} {{-- @else --}} {{-- --}} {{-- @endif --}} @elseif($quotation->status==1) {{-- --}} Make WO @endif @if(checkAuthPermission('pre_sells.quotation_print')) PI CS @endif @if(checkAuthPermission('pre_sells.quotation_mail')) PI Mail CS Mail @endif @if($quotation->status==0) {{-- --}} {{-- @if($quotation->status==1) --}} {!! getApprovalInputField($quotation->id,$action_id) !!} {{-- @endif --}} @endif

@include('inventory.prepurchase.quotation.quotation_details_modal') @endsection @section('script') @stop