@extends('admin.layout.master') @section('title','COSTING OF PRODUCT MANAGEMENT') @section('custom_style') @endsection @section ('content')

{{__('obs.costing')}} {{__('obs.of')}} {{__('obs.product')}}

 
{!!getDateInput('date_from','date_from',Request()->date_from)!!} {!!getDateInput('date_to','date_to',Request()->date_to)!!} {{-- --}}
{{--
{{__('obs.search')}}
--}} {{--
--}}
{{-- end --}}
@php $statusArray=[0=>'PENDING',1=>'ACCEPT']; $action_id=701; @endphp @forelse ($costings as $i=>$costing) @empty @endforelse
# {{__('obs.date')}} {{__('obs.product')}} {{__('obs.name')}} {{__('obs.note')}} {{__('obs.other's')}} {{__('obs.charge')}} {{__('obs.commission')}} {{__('obs.(%)')}} {{__('obs.status')}}
{{ ($i+1) }}
{{date('d-m-Y',strtotime($costing->effect_date))}}
{{$costing->product->name_eng}} {{-- {{$costing->product->primaryUnit? $costing->product->primaryUnit->name:''}} --}}
{{$costing->note}}
{{$costing->other_cost}}
{{($costing->purchase_commission*100)}}%
{{$statusArray[$costing->status]}} {{-- --}} @if($costing->status==0) {{-- --}} {{-- @if($costing->status!=1) --}} {!! getApprovalInputField($costing->id,$action_id) !!} {{-- @endif --}} @endif

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