@extends('layouts.admin-main') @section('content')
Back
{{--
--}} {{--
--}} {{-- GRN Number--}} {{--
--}} {{--
--}}

{{$settings_->shop_name}}

{{__('message.cashier')}} : {{Auth::user()->name}}
{{__('message.invoice date')}} : {{now()->toDateTimeString()}}
{{__('message.location')}} : {{$settings_->address}}
{{__('message.phone number')}} : {{$settings_->phone}}
{{__('message.product category')}} : {{$category->name}}
{{-- {{__('message.phone number')}} : {{$settings_->phone}}--}}

{{__('message.product reports')}}

{{-- @if($category->fixed_price)--}} {{-- --}} {{-- @endif--}} {{-- --}} @if($category->name == 'មាស' || $category->name == 'Gold' || $category->name == 'ทอง') @else @endif @if($category->fixed_price) @else @endif {{-- --}} {{-- --}} {{-- --}} @foreach ($build_stocks as $index => $build_stock) is_active) class="inactive" @endif> {{-- @if($category->fixed_price)--}} {{-- --}} {{-- @endif--}} {{-- --}} @if($category->name == 'មាស' || $category->name == 'Gold' || $category->name == 'ทอง') @else @endif @if($category->fixed_price) @else @endif {{-- --}} @if($build_stock->fixed_price) @else @endif {{-- --}} {{-- --}} @endforeach @if(!$category->fixed_price) @if($category->name=='Platinum'|| $category->name=='ផ្លាកទីន'||$category->name=='แพลตตินัม' || $category->name == 'ផលិតផលបន្ថែម' || $category->name == 'Other Stock' || $category->name == 'Extra Stock') @endif {{-- Old--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @else {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endif
#{{__('message.gia number')}}{{ __('message.part number') }}{{ __('message.product category') }}{{ __('message.product name') }} {{ __('message.qty') }}{{ __('message.weight') }}{{ __('message.gold weight') }}{{ __('message.diamond size') }} {{ __('message.cost of sale') }}{{ __('message.selling cost') }}{{ __('message.original wages') }} {{ __('message.sale wages') }} {{ __('message.sales price') }} {{ __('message.image') }} {{__('message.supplier')}} {{__('message.supplier rate')}}{{ __('message.fixed price') }}{{ __('message.user') }}{{ __('message.created date') }}
{{ $index + 1 }}{{ $build_stock->gia_number??'' }}{{$build_stock->part_number}}--}} {{-- {{$build_stock->product-categories->name??''}}--}} {{-- {{ $build_stock->name ??''}} {{ $build_stock->qty??0 }} {{ number_format($build_stock->weight ,2) }} {{number_format($build_stock->goldWeight() ,2)}} {!!$build_stock->diamond_size!!} {{ number_format($build_stock->cost, 2) }} {{$currency_->currency_symbol}} {{ number_format($build_stock->sellingCost(), 2) }} {{$currency_->currency_symbol}} {{number_format($build_stock->original_wages , 2)}} {{$currency_->currency_symbol}} {{number_format($build_stock->wages , 2)}} {{$currency_->currency_symbol}} {{number_format($build_stock->price,2)}} {{$currency_->currency_symbol}} {{number_format($build_stock->sellingPrice(),2)}} {{$currency_->currency_symbol}} {{-- {{$build_stock->image}}--}}
@if($build_stock->image) @else {{-- {{ __('message.no image') }}--}} @endif {{-- image--}}
{{$build_stock->supplier->name??''}} {{number_format($build_stock->supplier_rate??0 , 0)}}--}} {{-- @if ($build_stock->fixed_price)--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{-- --}} {{-- {{$build_stock->user->name ?? '-'}}--}} {{-- {{ $build_stock->created_at->format('d/m/Y H:i') }}
{{__('message.total')}} : {{number_format($totalQty,0)}} {{number_format($totalWeight ,2)}} {{number_format($totalGoldWeight,2)}} {{number_format($totalCost,2)}} {{$currency_->currency_symbol??''}} {{number_format($totalOriginalWage,2)}} {{$currency_->currency_symbol??''}} {{number_format($totalWage,2)}} {{$currency_->currency_symbol??''}} {{number_format($totalPrice,2)}} {{$currency_->currency_symbol??''}}
--}} {{-- {{__('message.total')}} :--}} {{-- --}} {{-- {{number_format($totalPrice,2)}} {{$currency_->currency_symbol??''}}--}} {{-- --}} {{-- {{number_format($totalQty,0)}}--}} {{-- --}} {{-- {{number_format($totalGoldWeight,2)}}--}} {{--
--}} {{-- {{__('message.total cost')}} :--}} {{-- --}} {{-- {{number_format($totalCost,2)}} {{$currency_->currency_symbol??''}}--}} {{--
--}} {{-- {{__('message.total original wages')}} :--}} {{-- --}} {{-- {{number_format($totalOriginalWage,2)}} {{$currency_->currency_symbol??''}}--}} {{--
--}} {{-- {{__('message.total wages')}} :--}} {{-- --}} {{-- {{number_format($totalWage,2)}} {{$currency_->currency_symbol??''}}--}} {{--
{{__('message.total')}} : {{number_format($totalQty,0)}} {{number_format($totalWeight ,2)}} {{number_format($totalCost,2)}} {{$currency_->currency_symbol??''}} {{number_format($totalOriginalWage,2)}} {{$currency_->currency_symbol??''}} {{number_format($totalWage,2)}} {{$currency_->currency_symbol??''}} {{number_format($totalPrice,2)}} {{$currency_->currency_symbol??''}}
--}} {{-- {{__('message.total cost')}} :--}} {{-- --}} {{-- {{number_format($totalCost,2)}} {{$currency_->currency_symbol??''}}--}} {{--
--}} {{-- {{__('message.total original wages')}} :--}} {{-- --}} {{-- {{number_format($totalOriginalWage,2)}} {{$currency_->currency_symbol??''}}--}} {{--
--}} {{-- {{__('message.total wages')}} :--}} {{-- --}} {{-- {{number_format($totalWage,2)}} {{$currency_->currency_symbol??''}}--}} {{--
Print
@endsection @section('scripts') @endsection @section('meta') {{ __('message.building stock') }} - {{$settings_->shop_name}} @endsection