@extends('layouts.admin-main') @section('content')
| # | {{ __('message.part number') }} | {{ __('message.name') }} | {{ __('message.price') }} | {{ __('message.qty') }} | {{ __('message.cost') }} | {{ __('message.weight') }} | {{ __('message.gold weight') }} | {{ __('message.diamond size') }} | {{ __('message.is_active') }} | {{ __('message.wages') }} | {{__('message.original wages')}} | {{ __('message.image') }} | {{ __('message.product category') }} | {{ __('message.user') }} | {{ __('message.created date') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{$product->part_number}} | {{ $product->name }} | {{number_format($product->price,2)}} {{$currency_->currency_symbol}} | {{ $product->qty }} | {{ number_format($product->cost, 2) }} {{$currency_->currency_symbol}} | {{ $product->weight }} | {{$product->goldWeight()}} | {!!$product->diamond_size!!} | @if ($product->is_active == 1) @else @endif | {{$product->wages}} {{$currency_->currency_symbol}} | {{$product->original_wages}} {{$currency_->currency_symbol}} |
{{-- {{$product->image}}--}}
@if($product->image)
--}}
|
{{$product->productCategory->name??''}} | {{$product->user->name ?? '-'}} | {{ $product->created_at->format('d/m/Y H:i') }} |