@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 invoice')}}

@foreach ($products as $index => $product) is_active) class="inactive" @endif> @if($product->fixed_price) @else @endif @endforeach
# {{__('message.gia number')}} {{__('message.supplier rate')}} {{__('message.supplier')}} {{ __('message.part number') }} {{ __('message.product category') }} {{ __('message.name') }} {{ __('message.qty') }} {{ __('message.cost') }} {{ __('message.price') }} {{ __('message.fixed price') }} {{ __('message.weight') }} {{ __('message.gold weight') }} {{ __('message.diamond size') }} {{ __('message.is_active') }} {{ __('message.wages') }} {{ __('message.original wages') }} {{ __('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??'' }} {{ $product->tempQty??0 }} {{ number_format($product->sellingCost(), 2) }} {{$currency_->currency_symbol}} {{number_format($product->price,2)}} {{$currency_->currency_symbol}} {{number_format($product->sellingPrice(),2)}} {{$currency_->currency_symbol}} @if ($product->fixed_price) @else @endif {{ number_format($product->weight , 2) }} {{number_format($product->goldWeight() , 2)}} {!!$product->diamond_size!!} @if ($product->is_active == 1) @else @endif @if($product->productCategory->fixed_price) {{number_format($product->wages??0 , 2)}} {{$currency_->currency_symbol}} @else @if($product->fixed_price) {{number_format($product->wages??0 , 2)}} {{$currency_->currency_symbol}} @else {{number_format($product->wages_in_weight??0 , 2)}} @endif @endif @if($product->productCategory->fixed_price) {{number_format($product->original_wages??0 , 2)}} {{$currency_->currency_symbol}} @else @if($product->fixed_price) {{number_format($product->original_wages??0 , 2)}} {{$currency_->currency_symbol}} @else {{number_format($product->original_wages_in_weight??0 , 2)}} @endif @endif {{-- {{$product->image}}--}}
@if($product->image) @else {{-- {{ __('message.no image') }}--}} @endif {{-- image--}}
{{$product->user->name ?? '-'}} {{ $product->created_at->format('d/m/Y H:i') }}
Print
@endsection @section('scripts') @endsection