@extends('backend.admin-master') @section('site-title') {{ __('Dashboard') }} @endsection @section('content')

AIFs / @if (isset($edit_product->id)) Edit a Product @else Upload a new Product @endif

@if (isset($edit_product->id))
@method('PUT') @else @endif @csrf
Preview Section
{{-- default image --}}
user-avatar

Allowed JPG, GIF or PNG. Max size of 800K


{{-- --}}
*
*
*
*
*
@if (isset($edit_product->product_code))
@endif
*
Details Section

*
*
*
AIF Details

* {{-- --}}
*
*
*
Description Section

*
@if (isset($edit_product->id) && $edit_product->upload_docu != null) {{ $edit_product->upload_docu }} Delete @endif
{{-- for error msg --}} {{-- @if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif --}}
Cancel
{{-- --}}
{{-- for dynamic img path --}} @php $img_path = isset($edit_product->product_img) ? $edit_product->product_img : '../assets/dashboard/assets/img/elements/product-image.png'; $product_id = isset($edit_product->id) ? $edit_product->id : ''; @endphp @endsection