@extends("layout.app") @section('styles') @include('partial.infinite_pagination.style') @endsection @section("content") اجهزة مستعملة هل لديك منتج مستعمل للبيع للبيع؟ قم بعرض منتجك هنا تنبيه عند توفر الأجهزة؟ تنبيه عند التوفر تنبيه عند التوفر × {{-- @include("customers.messages")--}} الاسم المحمول الفئة الرئيسيه {{Form::select("main_categories",IHouse::categories(),null,["id"=>"categories",'placeholder'=>'اختر الفئة','class'=>'select-has-placeholder' ,'style'=>'border: 1px solid #ececec!important; height:70%;'])}} الفئة الفرعية {{Form::select("category_id",[],null,["id"=>"sub_categories"])}} × × ارسال {{ Form::select('order_by', [ '' => 'اختر طريقة الترتيب', 'date_oldest' => 'من الاقدم للاحدث', 'date_newest' => 'من الاحدث للاقدم', 'price_low_to_high' => 'من الاقل سعرا الى الاعلى', 'price_high_to_low' => 'من الاعلى سعرا للاقل' ], request()->get('order_by')) }} @foreach($items as $item) @if($item->is_sale==true) @endif @if($item->is_pinned) @endif base_image") : $item->image }}" class="img-fluid"> @if($item->badges()->where("position","bottom")->where("is_active",1)->first()) badges()->where("position","bottom")->latest()->first()->background_color) style="background:{{$item->badges()->where("position","bottom")->latest()->first()->background_color}}" @endif>badges()->where("position","bottom")->latest()->first()->font_color) style="color:{{$item->badges()->where("position","bottom")->latest()->first()->font_color}}" @endif>{{$item->badges()->where("position","bottom")->first()->title}} @endif @if($item->is_from_ihouse) @else @endif{{$item->name}} {!! nl2br($item->details) !!} @if($item->discountState) {{ number_format($item->price) }} شيكل {{ number_format($item->discount) }} شيكل @else {{ number_format($item->price) }} شيكل @endif @if(optional(\App\Models\Settings::where("key", "show-used-items-vat")->first())->value == "yes") غير شامل الضريبة @else @endif @if($item->stock==0 || $item->status=="sold") تم البيع @else id) }}" class="btn btn--primary-1 mt-auto"> التفاصيل @endif @endforeach {{ $items->links("vendor.pagination.default") }} @include('partial.infinite_pagination.spinner') @endsection @section("scripts") @include('admin.partials.get_sub_categories_script',['categoriesURL'=>route("get-categories")]) @include('partial.placeholder_color_script') @include('partial.infinite_pagination.script') @endsection
{!! nl2br($item->details) !!}