@extends('admin.layouts.master-soyuz') @section('title',__('Edit Special Offer |')) @section('body') @component('admin.component.breadcumb',['thirdactive' => 'active']) @slot('heading') {{ __('Edit Special Offer') }} @endslot @slot('menu1') {{ __("Special Offer") }} @endslot @slot('menu2') {{ __("Edit Special Offer") }} @endslot @slot('button')
{{ __("Back")}}
@endslot @endcomponent
@if ($errors->any())
@foreach($errors->all() as $error)
{{ $error}}
×
@endforeach
@endif
{{ __('Edit Special Offer') }}
{{csrf_field()}} {{ method_field('PUT') }}
{{ __("Link by:") }}
simple_pro_id != '' ? "selected" : "" }} value="sp"> {{ __("Link with simple product") }}
pro_id != '' ? "selected" : "" }} value="vp"> {{ __("Link with variant product") }}
{{ __('Select Simple Product') }}
*
{{ __('Please Select Product') }}
@foreach($simple_products as $key => $sp)
simple_pro_id == $key ? 'selected="selected"' : '' }} value="{{$key}}">{{$sp}}
@endforeach
{{ __('Select Variant Product') }}
*
{{ __('Please Select Product') }}
@foreach($products as $key => $pro)
pro_id == $key ? 'selected="selected"' : '' }}> {{$pro}}
@endforeach
{{ __('Status') }}
status == 1 ? "checked" : "" }}/>
{{ __("(Please Choose Status)")}}
{{ __("Reset")}}
{{ __("Update")}}
@endsection @push('script') @endpush