@extends('backend.layouts.master') @section('section-title', 'Edit Product') @section('page-title', 'Product Edit') @if (check_permission('product.update')) @section('action-button') All Product @endsection @endif @section('content')
@csrf @method('PUT') {{-- Product name --}}
{{ ($errors->has('name'))?$errors->first('name'):''; }}
{{-- Product barcode --}}
{{ ($errors->has('barcode'))?$errors->first('barcode'):''; }}
{{-- Category --}}
{{ ($errors->has('category_id'))?$errors->first('category_id'):''; }}
{{-- Brand --}}
{{-- Price --}}
{{ ($errors->has('purchase_price'))?$errors->first('purchase_price'):''; }}
{{ ($errors->has('selling_price'))?$errors->first('selling_price'):''; }}
{{-- Description --}}
{{-- Image --}}
@endsection