@extends('layouts.master') @section('title', $title) @section('content') @include($view . '.suppliermodal')
{{ $title }}
@csrf
date ? $purchase->date : now()->format('Y-m-d')) }} readonly class="form-control input" name="date" id="date" required>
@php $total_cost = 0; @endphp @if (!empty($purchase) && count($purchase?->det)) @foreach ($purchase?->det as $pro_det) @php $total_cost += $pro_det?->quantity * $pro_det?->unit_price; @endphp @endforeach @else @endif
# Product UOM Quantity U.cost Expire Date
1
1

Total: 0

@endsection @section('page_js') {{-- --}} @endsection