| | |

@php $price_after = $item->totalPrice; $price_before = $item->price; @endphp

{{IHouse::getSettings('print_title')}}

من خلال الموقع
السيد/ة: @if(auth()->guard("customers")->check()) {{auth()->guard("customers")->user()->full_name}} @else مستخدم iHouse @endif
{{ \Carbon\Carbon::now() }}

@if(request()->filled('item_name')) {{ request()->get('item_name') }} @else {{ $item->name }} @endif - {{ $item_color->color->name }}

{{$item->name}}image_listing")}}"/>
الموديل {{$item_color->code}}
ملاحظات:
- {{ IHouse::getItemStockMessage($item_color, $item->is_special_order || request()->boolean('has-upgrades'),true) }}
{!! IHouse::getSettings('print_notes') !!}
@php $upgradesToTitle = ''; @endphp @foreach($spec_categories as $spec_category) @if($spec_category->is_upgradable) @php $upgrades = \App\Models\Upgrade::where("spec_category_id", $spec_category->id)->where("is_active", 1) ->whereHas('items', function ($query) use ($item) { $query->where('item_id', $item->id); }) ->get(); $selectedUpgradeId = request()->get('spec-cat-'.$spec_category->id); $checkComma = explode(',', $selectedUpgradeId); if(sizeof($checkComma) > 1 ) { $selectedUpgradeId = $checkComma[1]; } $selectedUpgrade = $upgrades->where('id', $selectedUpgradeId)->first(); if(! $selectedUpgrade) { $selectedUpgrade = $upgrades->first(); } @endphp @if($upgrades && $upgrades->count()>0) @php $base_upgrade = $upgrades->where("is_active",1)->where("is_base",1)->first() @endphp @endif @else
{{$spec_category->title}} @if(! $selectedUpgrade) - غير معرف @else {{ $selectedUpgrade->name }} @php $upgradesToTitle .= '- ' . $selectedUpgrade->short_title @endphp
@if($selectedUpgrade->description) {!! \Illuminate\Support\Str::limit($selectedUpgrade->description,300,'... (المواصفات كاملة على الموقع)') !!} @endif @php $price_before += $selectedUpgrade->price; $price_after += $selectedUpgrade->price; @endphp @endif