@extends('backend.layouts_backend.master2') @section('title') Add Product @endsection @section('content') {{-- header --}}

Add Product

@if (Auth::user()->can('product-list')) @endif

{{-- end header --}}
@csrf

{{-- validation --}} @if ($errors->has('product_name')) @endif

{{-- validation --}} @if ($errors->has('parent_product_category_id')) @endif

{{-- validation --}} @if ($errors->has('product_category_id')) @endif

{{-- validation --}} @if ($errors->has('brand_id')) @endif

{{-- validation --}} @if ($errors->has('supplier_id')) @endif

{{-- validation --}} @if ($errors->has('unit_id')) @endif

{{-- validation --}} @if ($errors->has('branch_id')) @endif

{{-- validation --}} @if ($errors->has('product_created_date')) @endif
@if (is_array($product_create_form_fields_values)) @if (in_array(1, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_expiry_date')) @endif
@endif @endif
{{-- validation --}} @if ($errors->has('product_status')) @endif
@if (is_array($product_create_form_fields_values)) @if (in_array(2, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_stock_quantity')) @endif
@endif @endif @if (is_array($product_create_form_fields_values)) @if (in_array(3, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_cost_price')) @endif
@endif @endif

{{-- validation --}} @if ($errors->has('product_selling_price')) @endif
@if (is_array($product_create_form_fields_values)) @if (in_array(4, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_image')) @endif
@endif @endif @if (is_array($product_create_form_fields_values)) @if (in_array(5, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_image_gallery')) @endif
@endif @endif @if (is_array($product_create_form_fields_values)) @if (in_array(6, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_stock_alert')) @endif
@endif @endif

@if (is_array($product_create_form_fields_values)) @if (in_array(7, $product_create_form_fields_values ?? ''))

{{-- validation --}} @if ($errors->has('product_description')) @endif

@endif @endif {{-- --}}
@endsection @section('extra_scripts') {{-- handline select2 --}} @endsection