Resell Pricing

@foreach($item_brands->whereNotIn('id', [10,11,12,13]) as $brand)

{{ $brand->brand_name }}

@if(in_array($brand->id, [18, 25])) @endif @if($brand->id != $brand_LD) @endif @forelse($brand->item_brand_to_item_carat as $key => $carat) item_carat->carat_text == '24K (99,99%)') style="display: none;" @endif> @empty @endforelse
Base Price
Carat Percentage Additional Price Price
{{ $carat->item_carat->carat_text }} @php $array_input = [ "resell_is_using_lei_price" => $carat->resell_is_using_lei_price, "margin_percentage" => $carat->resell_margin_percentage, "additional_price" => $carat->resell_additional_price, "weight" => 1 ]; if($carat->resell_is_using_lei_price != '1') $array_input["carat"] = $carat->item_carat->carat; if($brand->id == $brand_LD) { $price = (new Butik_item_lib)->resell_calculation_LD($array_input); } else { $price = (new Butik_item_lib)->resell_calculation($array_input); } @endphp {{ number_format($price, 2) }} {{-- --}}
No Data
@endforeach
{{--

LM PRICE


{!! csrf_field() !!} @foreach($item_brands->whereIn('id', [10,11,12,13]) as $brand)

{{ $brand->brand_name }}

@forelse($brand->item_brand_to_item_carat as $list) @empty @endforelse
ID Carat Percentage Additional Price Price
{{ $list->id }} {{ $list->item_carat->carat }} @php $array_input = [ "resell_is_using_lei_price" => $list->resell_is_using_lei_price, "margin_percentage" => $list->resell_margin_percentage, "additional_price" => $list->resell_additional_price, "weight" => 1 ]; if($list->resell_is_using_lei_price != '1') $array_input["carat"] = $list->item_carat->carat; $price = (new Butik_item_lib)->resell_calculation($array_input); @endphp
No Data
@endforeach @if(count($item_brands->whereIn('id', [10,11,12,13])) > 0)
@endif
--}}