@extends('layouts.partials.master') @section('title', 'Criar Promoção') @push('styles') @endpush @section('content')
@include('layouts.components.section-title', ['title' => 'Criar Promoção']) Voltar
@csrf @method('POST')
@if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif

Data inicial*

@if ($errors->has('start_date'))
{{ $errors->first('start_date') }}
@endif

Data final*

@if ($errors->has('end_date'))
{{ $errors->first('end_date') }}
@endif
@if ($errors->has('promo_code'))
{{ $errors->first('promo_code') }}
@endif
@if ($errors->has('discount_type'))
{{ $errors->first('discount_type') }}
@endif
@if ($errors->has('discount_value'))
{{ $errors->first('discount_value') }}
@endif
@if ($errors->has('minimum_order_value'))
{{ $errors->first('minimum_order_value') }}
@endif
@if ($errors->has('maximum_discount_amount'))
{{ $errors->first('maximum_discount_amount') }}
@endif
@if ($errors->has('usage_limit_per_customer'))
{{ $errors->first('usage_limit_per_customer') }}
@endif
Status será definido como Inativo.
@if ($errors->has('status'))
{{ $errors->first('status') }}
@endif
@if ($errors->has('total_usage_limit'))
{{ $errors->first('total_usage_limit') }}
@endif
@if ($errors->has('status'))
{{ $errors->first('status') }}
@endif
@if ($errors->has('validation'))
{{ $errors->first('validation') }}
@endif
@include('layouts.components.translation-create')
@endsection