@extends('layouts.admin-main') @section('content')
# | {{ __('message.original invoice') }} | {{ __('message.part number') }} | {{ __('message.product category') }} | {{ __('message.product name') }} | {{ __('message.qty') }} | {{ __('message.cost') }} | {{ __('message.original wages') }} | {{__('message.total cost supplier')}} | {{ __('message.weight') }} | {{ __('message.gold weight') }} | {{ __('message.diamond size') }} | {{ __('message.sale wages') }} | {{ __('message.sales price') }} | {{ __('message.image') }} | {{__('message.supplier')}} | {{__('message.supplier rate')}} | {{ __('message.created date') }} | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $index + 1 }} | {{$build_stock->original_invoice??''}} | {{$build_stock->part_number}} | {{$build_stock->productCategory->name??''}} | {{ $build_stock->name ??''}} | {{ $build_stock->qty??0 }} | @if($build_stock->productCategory->fixed_price == true || $build_stock->fixed_price == true) {{ number_format($build_stock->cost($build_stock->weight), 2) }} {{$currency_->currency_symbol}} @else {{ number_format($build_stock->cost($build_stock->weight) - $build_stock->original_wages, 2) }} {{$currency_->currency_symbol}} @endif | {{number_format($build_stock->original_wages??0 , 2)}} {{$currency_->currency_symbol}} | {{ number_format($build_stock->qty * $build_stock->cost($build_stock->weight), 2) }} {{$currency_->currency_symbol}} | {{ number_format($build_stock->weight ,2) }} | {{number_format($build_stock->goldWeight() ,2)}} | {!!$build_stock->diamond_size!!} | {{number_format($build_stock->wages??0 , 2)}} {{$currency_->currency_symbol}} | @if($build_stock->fixed_price){{number_format($build_stock->price,2)}} {{$currency_->currency_symbol}} | @else{{number_format($build_stock->sellingPrice(),2)}} {{$currency_->currency_symbol}} | @endif
@if($build_stock->image)
|
{{$build_stock->supplier->name??''}} | {{number_format($build_stock->supplier_rate??0 , 0)}} | {{ $build_stock->created_at->format('d/m/Y H:i') }} |