@extends('backend.layouts.master') @section('section-title', 'Product') @section('page-title', 'Add Product') @if (check_permission('product.update')) @section('action-button') All Product @endsection @endif @section('content')
@csrf {{-- 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 --}}
{{-- --}}
{{-- Unit --}}
{{-- Unit --}}
{{-- Unit --}}
{{-- variation --}} @if(env('APP_SC') == 'yes')
{{ $errors->has('size') ? $errors->first('size') : '' }}
{{-- --}} {{-- --}}
{{ $errors->has('color') ? $errors->first('color') : '' }}
@endif {{-- Price --}}
{{ $errors->has('purchase_price') ? $errors->first('purchase_price') : '' }}
{{ $errors->has('selling_price') ? $errors->first('selling_price') : '' }}
{{-- has serial --}} @if (env('APP_IMEI') == 'yes')
{{-- --}}
@endif {{-- status --}}
{{ $errors->has('status') ? $errors->first('status') : '' }}
{{-- Image --}}
{{-- Add Category Modal --}}
@csrf
{{-- Add Brand Modal --}}
@csrf
{{-- Add size Modal --}}
@csrf
@endsection @push('js') {{-- --}} @endpush