@extends('layouts.master') @section('title', 'Purchases | ') @section('content') @include('partials.header') @include('partials.sidebar') New Purchase Entry Purchases Create Purchase Entry @csrf {{-- ✅ Show Validation Errors --}} @if($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Supplier Name Select Supplier @foreach($suppliers as $supplier) {{ $supplier->name }} @endforeach Date Item Qty Price Discount (%) Amount Batch No. Pack Size Bonus Add Row Select Product @foreach($products as $product) {{ $product->name }} @endforeach Total Submit @endsection @push('js') @endpush