@extends('_version_02.commons.layouts.admin') @section('content') @include('_version_02.commons.layouts.partials._alert') @include('_version_02.opencarts.products.partials.save_by_url') @include('_version_02.opencarts.products.partials.search_bar')
@if(count($model) > 0)
@php $priority_counter = 1 ; @endphp @foreach($cols as $col) @if($col == 'id') @elseif($col == 'product_url' || $col == 'status') @else @endif @php $priority_counter ++ ; @endphp @endforeach @php $priority_counter = 1 ; @endphp @foreach($model as $index => $row) @foreach($cols as $col) @if($col == 'date_started' || $col == 'date_started') @elseif($col == 'cost' || $col == 'price' || $col == 'selling_price') @elseif($col != 'id' && $col != 'model' && $col != 'product_url' && $col != 'status') @endif @endforeach @endforeach
# {{App\Language::trans('Image')}}{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}}{{App\Language::trans('Action')}}

{{$index+1}}

{{App\Language::trans($row->model)}}{{$row[$col]}} {!! Form::number($col, null, ['id'=>$col.'_'.$row->id, 'rows'=>'10' , 'cols'=>'80','class'=>'form-control width-100','placeholder'=>$row->setDouble($row[$col])]) !!} {{$row[$col]}} {{App\Language::trans('Edit')}} | {{App\Language::trans('Update')}} @if($page_key != 'is_verified') | {{App\Language::trans('Verified')}} @endif @if($page_key != 'is_removed') | {{App\Language::trans('Removed')}} @endif
@endif @endsection @section('script') @endsection