@extends('layouts.master') @section('header') @include('layouts.partials.header') @endsection @section('navbar') @include('layouts.partials.nav') @endsection @section('sidebar') @include('layouts.partials.sidebar') @endsection @section('content')

{{__("Edit Product")}}

@include('layouts.partials.flash-message')
{{ method_field('PATCH') }}
@foreach($product_countries as $country)
{{__("Price")}}
 
{{$country->currency}}
{{__("Product Design")}}
{{__("Cities")}}
@foreach($country->cities as $city)
id,$city_ids[$country->id])) checked @endif name="cities[{{$country->id}}][]" type="checkbox" id="city_{{$city->id}}" class="custom-control-input product-checkbox repeatable-checkbox cities-checkbox validate[minCheckbox[1]]" >
@endforeach
{{__("Regions")}}
@foreach($country->regions()->whereIn("city_id",$city_ids[$country->id])->get(['id','name']) as $region)
id,$region_ids[$country->id])) checked @endif name="regions[{{$country->id}}][]" type="checkbox" id="group_{{$region->id}}" class="custom-control-input country-regions-checkbox validate[minCheckbox[1]]" >
@endforeach
@endforeach
status==1) checked @endif class="custom-control-input pl-2 radio validate[groupRequired[status]]" id="active" value="1" name="status">
status==0) checked @endif class="custom-control-input radio validate[groupRequired[status]]" id="inactive" value="0" name="status">
{{__("Back")}}
@endsection @section('footer') @include('layouts.partials.footer') @endsection @section('scripts') @include('layouts.partials.scripts') @endsection