@extends('admin.layouts.list_pdf') @section('pdf-title') {{ __(':x List', ['x' => __('Product')]) }} @endsection @section('header-info')

{{ __(':x Lists', ['x' => __('Product')]) }}

{{ __('Print Date') }}: {{ formatDate(date('d-m-Y')) }}

@endsection @section('list-table') @foreach ($products as $key => $product) @endforeach
{{ __('Name') }} {{ __('Category') }} {{ __('Brand') }} {{ __('Vendor') }} {{ __('Product Code') }} {{ __('SKU') }} {{ __('Price') }} {{ __('Created At') }}
{!! wrapIt($product->name, 10, ['columns' => 6]) !!} {!! wrapIt(optional($product->productCategory->category)->name, 10, ['columns' => 6]) !!} {!! wrapIt(optional($product->brand)->name , 10, ['columns' => 6]) !!} {!! wrapIt(optional($product->vendor)->name, 10, ['columns' => 6]) !!} {!! wrapIt($product->code, 10, ['columns' => 6]) !!} {!! wrapIt($product->sku, 10, ['columns' => 6]) !!} {{ $product->price }} {{ timeZoneFormatDate($product->created_at) }} {{ timeZoneGetTime($product->created_at) }}
@endsection