@extends('layouts.admin-main') @section('content')
# | {{__('message.grn')}} | {{__('message.part number')}} | {{__('message.product category')}} | {{ __('message.product name') }} | {{__('message.sales price')}} | {{__('message.qty')}} | {{__('message.gold weight')}} | {{__('message.date')}} | ||
---|---|---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{$productQtyHistory->grn??''}} | {{$productQtyHistory->product->part_number??''}} | {{$productQtyHistory->product->productCategory->name??''}} | {{$productQtyHistory->product->name??''}} | {{number_format($productQtyHistory->product?->sellingPrice($productQtyHistory->goldWeight())??0 , 2)}} {{$currency_->currency_symbol}} | {{$productQtyHistory->qty}} | @if($productQtyHistory->weight) {{number_format($productQtyHistory->goldWeight()??0 ,2)}} @else {{number_format($productQtyHistory->product?->goldWeight()??0 ,2)}} @endif | {{$productQtyHistory->created_at->format('d-m-Y H:i')}} | ||
@if($productQtyHistory->product->image??'')
![]() {{__('message.cost')}} :
@if($productQtyHistory->for_sale == 0 && $productQtyHistory->product_cost)
{{number_format($productQtyHistory->product_cost??0 , 2)}} {{$currency_->currency_symbol}}
@else
{{number_format($productQtyHistory->product?->sellingCost()??0 , 2)}} {{$currency_->currency_symbol}}
@endif
{{__('message.wages')}} {{$productQtyHistory->product?->productCategory?->fixed_price??''||$productQtyHistory->product?->fixed_price?'':'(គិតជាលី)'}} :
{{number_format($productQtyHistory->product?->selling_wagesInWeight()??0 , 2)}} {{$currency_->currency_symbol}}
{{__('message.original wages')}} {{$productQtyHistory->product?->productCategory?->fixed_price??''||$productQtyHistory->product?->fixed_price??''?'':'(គិតជាលី)'}} :
{{number_format($productQtyHistory->product?->cost_wagesInWeight()??0 , 2)}} {{$currency_->currency_symbol}}
{{__('message.weight')}} :
@if($productQtyHistory->weight)
{{number_format($productQtyHistory->weight??0 ,2)}}
@else
{{number_format($productQtyHistory->product?->weight??0 ,2)}}
@endif
{{__('message.note')}} :
{{$productQtyHistory->note??''}}
{{__('message.user')}} {{__('message.original invoice')}} :
{{$productQtyHistory->product?->original_invoice??''}}
{!!$productQtyHistory->product->diamond_size??''!!}
|
{{__('message.total sale price')}} | --}} {{--{{__('message.total cost')}} | --}} {{--{{__('message.total cost of sale')}} | --}} {{--{{__('message.total wages sale')}} | --}} {{--{{__('message.total original wage')}} | --}} {{--{{__('message.total discount')}} | --}} {{--{{__('message.total price')}} | --}} {{--{{__('message.total sale product')}} | --}} {{--{{__('message.total profit')}} | --}} {{--
---|---|---|---|---|---|---|---|---|
--}} {{-- {{$currency_->currency_symbol}} {{number_format($total_sale_price+$total_sale_discount , 2)}}--}} {{-- | --}} {{--{{$currency_->currency_symbol}} {{number_format($total_sale_cost,2)}} | --}} {{--{{$currency_->currency_symbol}} {{number_format($total_cost_of_sale,2)}} | --}} {{--{{$currency_->currency_symbol}} {{number_format($total_sale_wage,2)}} | --}} {{--{{$currency_->currency_symbol}} {{number_format($total_sale_original_wage,2)}} | --}} {{--{{$currency_->currency_symbol}} {{number_format($total_sale_discount, 2)}} | --}} {{----}} {{-- {{$currency_->currency_symbol}} {{number_format($total_sale_price, 2)}}--}} {{-- | --}} {{----}} {{-- {{$currency_->currency_symbol}} {{number_format(($total_sale_price+$total_sale_discount)-$total_sale_wage , 2)}}--}} {{-- | --}} {{--{{$currency_->currency_symbol}} {{ number_format($total_sale_profit, 2) }} | --}} {{--