@extends('vendors.layout') @section('content')
{{ __('Edit Equipment') }}
{{ __('Back') }}
    @php $sliderImages = json_decode($equipment->slider_images); @endphp @if (count($sliderImages) > 0)
    @foreach ($sliderImages as $key => $sliderImage) @endforeach
    slider image
    @endif
    @csrf

    @csrf

    image
    {{ __('Choose Image') }}

    {{ __('Image Size: 370x430') }}

    @php $currencyText = $currencyInfo->base_currency_text; @endphp
    @foreach ($languages as $language) @php $equipmentData = $language->equipmentData; @endphp
    @php $categories = $language->categories; @endphp
    @php $locations = App\Models\Instrument\Location::where([['vendor_id', Auth::guard('vendor')->user()->id], ['language_id', $language->id]]) ->orderBy('id', 'desc') ->get(); $eq_location_ids = App\Models\Instrument\EquipmentLocation::where([['equipment_id', $equipment->id], ['language_id', $language->id]]) ->orderBy('id', 'desc') ->get(); $location_ids = []; foreach ($eq_location_ids as $value) { if (!in_array($value->location_id, $location_ids)) { array_push($location_ids, $value->location_id); } } @endphp

    {{ __('To seperate the features, enter a new line after each feature.') }}

    @endforeach
    @endsection @section('script') @endsection