@extends('layouts.admin-main') @section('content')
{{-- @if($product_category_id)--}} {{-- @if($productCategory->name == $platinume_Category->name || $productCategory->parent?->name == $platinume_Category->name)--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endif--}} {{-- @endif--}} {{ __('message.print') }}
@foreach($productQtyHistories as $index => $productQtyHistory) @endforeach
# {{__('message.grn')}} {{__('message.part number')}} {{__('message.product category')}} {{ __('message.product name') }} {{__('message.sales price')}} {{__('message.qty')}} {{__('message.gold weight')}} {{__('message.date')}}
@if($productQtyHistory->product->image??'') @else @endif

{{__('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.original invoice')}}

: {{$productQtyHistory->product?->original_invoice??''}}
{!!$productQtyHistory->product->diamond_size??''!!}
@if($productQtyHistories->hasPages())
{{ $productQtyHistories->appends($_GET)->links() }}
@endif
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{__('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) }}
@endsection @section('scripts') @include('app.datepicker-js-config') @endsection @section('meta') {{ __('message.adjustment report') }} - {{$settings_->shop_name}} @endsection