@extends('layouts.admin-main') @section('content') {{-- --}}
# | {{__('message.original invoice')}} | {{ __('message.part number') }} | {{ __('message.product name') }} | {{ __('message.qty') }} | @if($category->name == 'មាស' || $category->name == 'Gold' || $category->name == 'ทอง') @else{{ __('message.weight') }} | @endif @if($category->fixed_price) @else @if($category->name == 'ផលិតផលបន្ថែម' || $category->name == 'Other Stock' || $category->name == 'Extra Stock') @else{{ __('message.gold weight') }} | @endif @endif{{ __('message.diamond size') }} | {{ __('message.cost of sale') }} | {{ __('message.original wages') }} | {{--{{ __('message.gain lose amount') }} | --}}{{ __('message.sale wages') }} | {{ __('message.sales price') }} | {{ __('message.purity upgrade to') }} | {{ __('message.selling purity') }} | {{ __('message.image') }} | {{__('message.supplier')}} | {{__('message.supplier rate')}} | {{ __('message.created date') }} | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $index + 1 }} | {{$product->original_invoice??''}} | {{$product->part_number}} | {{ $product->name ??''}} | {{ $product->qty??0 }} | @if($category->name == 'មាស' || $category->name == 'Gold' || $category->name == 'ทอง') @else{{ number_format($product->weight ,2) }} | @endif @if($category->fixed_price) @else @if($category->name == 'ផលិតផលបន្ថែម' || $category->name == 'Other Stock' || $category->name == 'Extra Stock') @else{{number_format($product->goldWeight() ,2)}} | @endif @endif{!!$product->diamond_size!!} | {{ number_format($product->cost(), 2) }} {{$currency_->currency_symbol}} | {{number_format($product->cost_wagesInWeight()??0 , 2)}} {{$currency_->currency_symbol}} | {{----}} {{-- {{number_format(($product->weight*$product->productCategory->price())-$product->cost($product->weight))}} {{$currency_->currency_symbol??''}}--}} {{-- | --}}{{number_format($product->selling_wagesInWeight()??0 , 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@if($product->purity_upgrade_to) {{$product->purity_upgrade_to??''}} @endif | @if($product->selling_purity) {{$product->selling_purity??''}} @endif |
@if($product->image)
|
{{$product->supplier->name??''}} | {{number_format($product->supplier_rate??0 , 0)}} | {{ $product->created_at->format('d/m/Y H:i') }} |