@extends('layouts.app') @section('link') @endsection @section('content')

{{__('texte.promotions_arr.create.add_promotion')}}

{{ csrf_field() }}
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('descirption')) {{ $errors->first('description') }} @endif
@foreach ($storages as $storage)
@endforeach
@if ($errors->has('promotion_validity')) {{ $errors->first('promotion_validity') }} @endif
@if ($errors->has('date_from')) {{ $errors->first('date_from') }} @endif
@if ($errors->has('date_to')) {{ $errors->first('date_to') }} @endif
@if ($errors->has('repeatability_from')) {{ $errors->first('repeatability_from') }} @endif @if ($errors->has('date_to')) {{ $errors->first('repeatability_to') }} @endif
@foreach (__('texte.weekdays_arr') as $key => $val)
@endforeach @if ($errors->has('validity')) {{ $errors->first('weekdays') }} @endif
@if ($errors->has('max_count')) {{ $errors->first('max_count') }} @endif
@if ($errors->has('promotion_type')) {{ $errors->first('promotion_type') }} @endif
@if ($errors->has('type')) {{ $errors->first('condition_type') }} @endif
@if ($errors->has('type')) {{ $errors->first('condition_package') }} @endif
@if ($errors->has('condition_category')) {{ $errors->first('condition_category') }} @endif
@if ($errors->has('condition_supplier')) {{ $errors->first('condition_supplier') }} @endif
@if ($errors->has('type')) {{ $errors->first('bonus_type') }} @endif
@if ($errors->has('bonus_package')) {{ $errors->first('bonus_package') }} @endif
@if ($errors->has('bonus_category')) {{ $errors->first('bonus_category') }} @endif
@if ($errors->has('bonus_supplier')) {{ $errors->first('bonus_supplier') }} @endif
@if ($errors->has('bonus_discount')) {{ $errors->first('bonus_discount') }} @endif
@if ($errors->has('category')) {{ $errors->first('category_id') }} @endif
@if ($errors->has('supplier')) {{ $errors->first('supplier_id') }} @endif
@if ($errors->has('price')) {{ $errors->first('price') }} @endif
@if ($errors->has('discount')) {{ $errors->first('discount') }} @endif
@if ($errors->has('condition')) {{ $errors->first('condition') }} @endif
@if ($errors->has('cond_period')) {{ $errors->first('cond_period') }} @endif
@if ($errors->has('cond_discount')) {{ $errors->first('cond_discount') }} @endif
@endsection