@extends('admin.layouts.master-soyuz') @section('title',__('Edit Flashdeal | ')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('Edit Flashdeals') }} @endslot @slot('menu1') {{ __('Flashdeals') }} @endslot @slot('button')
{{__("Back")}}
@endslot @endcomponent
@if ($errors->any())
@foreach($errors->all() as $error)
{{ $error}}
×
@endforeach
@endif
{{__("Edit flash deal")}}
@method("PUT") @csrf
{{ __("Title:") }}
*
{{ __("Background image:") }}
*
{{ __('Choose background image') }} (2000x2000)
{{ __("Start date:") }}
*
{{ __("End date:") }}
*
{{ __("Detail:") }}
{!! $deal->detail !!}
Status :
status == 1 ? "checked" : "" }}>
{{ __('Update Products') }}
@forelse($deal->saleitems as $item) @empty @endforelse
{{ __('Product') }}
{{ __('Discount') }}
{{ __("Discount type") }}
#
%
{{ __('Select discount type') }}
discount_type == 'fixed' ? "selected" : "" }} value="fixed">{{ __('Fixed') }}
discount_type == 'upto' ? "selected" : "" }} value="upto">{{ __('Upto') }}
%
{{ __('Select discount type') }}
{{ __('Fixed') }}
{{ __('Upto') }}
{{__("Update")}}
@endsection @section('custom-script') @endsection