@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content')
{{ $data['p_heading'] }}
@if(sizeof($data['products']) > 0) {!! Form::open(array('route' => ['admin.mis-products.index'], 'method' => 'POST', 'files' => true)) !!} @method('PATCH') @csrf
@foreach($data['products'] as $product) @php $image = $product->image; $path = '/up_data/mis-products/'.$image; if(trim($image) == null && !file_exists($path)) $path = '/up_data/na.jpg'; @endphp @endforeach
ID Image Name Category SKU SKU GC Price
{{ $product->productid }} {{ $product->product }} @foreach($product->categories as $category) • {{ $category->category }}
@endforeach
{{ $product->productcode }} {!! Form::text('productcode_gc', empty($product->productcode_gc) ? '' : $product->productcode_gc, ['class'=>'form-control', 'name' => 'productcode_gc[]']) !!} {!! Form::hidden('id[]', $product->productid) !!} ${{ number_format($product->list_price, 2) }}


{!! Form::close() !!}
@else Sorry!, no products found. @endif
@stop