@extends('layouts.admin-main') @section('content')
# | {{__('message.gia number')}} | {{__('message.supplier rate')}} | {{__('message.supplier')}} | {{ __('message.part number') }} | {{ __('message.product category') }} | {{ __('message.name') }} | @if($for_sale == 1){{ __('message.qty') }} | @endif{{ __('message.cost') }} | {{ __('message.price') }} | {{ __('message.weight') }} | {{ __('message.gold weight') }} | {{ __('message.diamond size') }} | {{ __('message.wages') }} | {{ __('message.original wages') }} | {{ __('message.description') }} | {{ __('message.image') }} | {{ __('message.user') }} | {{ __('message.created date') }} | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $index + 1 }} | {{ $product->gia_number }} | {{ number_format($product->supplier_rate??0 ,2) }} {{$currency_->currency_symbol}} | {{ $product->supplier->name??'' }} | @if($product->for_sale) @endif {{$product->part_number}} | {{$product->productCategory->name??''}} | {{ $product->name??'' }} | @if($for_sale == 1){{ $product->qty??0 }} | @endif{{ number_format($product->sellingCost(), 2) }} {{$currency_->currency_symbol}} | @if($product->fixed_price){{number_format($product->price,2)}} {{$currency_->currency_symbol}} | @else{{number_format($product->sellingPrice(),2)}} {{$currency_->currency_symbol}} | @endif{{ number_format($product->weight , 2) }} | {{number_format($product->goldWeight() , 2)}} | {!!$product->diamond_size!!} | @if($product->productCategory->fixed_price) {{number_format($product->selling_wagesInWeight() , 2)}} {{$currency_->currency_symbol}} @else @if($product->fixed_price) {{number_format($product->selling_wagesInWeight() , 2)}} {{$currency_->currency_symbol}} @else {{number_format($product->wages_in_weight , 2)}} @endif @endif | @if($product->productCategory->fixed_price) {{number_format($product->cost_wagesInWeight() , 2)}} {{$currency_->currency_symbol}} @else @if($product->fixed_price) {{number_format($product->cost_wagesInWeight() , 2)}} {{$currency_->currency_symbol}} @else {{number_format($product->original_wages_in_weight , 2)}} @endif @endif | {!! $product->description !!} |
{{-- {{$product->image}}--}}
@if($product->image)
![]() |
{{$product->user->name ?? '-'}} | {{ $product->created_at->format('d/m/Y H:i') }} |