@extends('admin.layouts.app') @section('title') Edit Purchase @endsection @section('content') Edit Purchase Back @csrf @method('PUT') Exporters Name* Select Exporters @foreach($exporters as $shop) exporter_id == $shop->id ? 'selected' : '' }}>{{ $shop->name }} @endforeach @error('exporter_id') {{ $message }} @enderror Shop* Select Shop @foreach($shops as $shop) shop_id == $shop->id ? 'selected' : '' }}>{{ $shop->name }} @endforeach @error('shop_id') {{ $message }} @enderror Product* Select Product @foreach($products as $product) product_id == $product->id ? 'selected' : '' }}>{{ $product->name }} @endforeach @error('product_id') {{ $message }} @enderror Unit* Select Unit @foreach($units as $unit) unit_id == $unit->id ? 'selected' : '' }}>{{ $unit->name }} @endforeach @error('unit_id') {{ $message }} @enderror Purchase Date @error('purchases_date') {{ $message }} @enderror Quantity @error('qty') {{ $message }} @enderror Buy Price({{ adminCurrency() }}) @error('buy_price') {{ $message }} @enderror VAT({{ adminCurrency() }}) @error('vat') {{ $message }} @enderror Final Price({{ adminCurrency() }}) Per Product Price({{ adminCurrency() }}) @endsection @section('script') @endsection