@extends('layouts.app') @section('content')

UPC Management

@can('upcs.create')
Create New UPC Upload New UPC
@endcan

Total UPC: {{ $totalRecords }}

New UPC: {{ $newRecords }}

Used UPC: {{ $oldRecords }}

@session('success') @endsession @if (count($errors) > 0)
Whoops! There were some problems with your input.

@endif @foreach ($data as $key => $upc) @endforeach
No Upc Ean Status Action
{{ ++$i }} {{ $upc->upc }} {{ $upc->ean }} @if(!empty($upc->status)) @else @endif {{--@can('upcs.edit')--}} Edit {{--@endcan--}} {{-- @can('upcs.destroy')--}}
@csrf @method('DELETE')
{{--@endcan--}}
{!! $data->links('pagination::bootstrap-5') !!} @endsection