@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), route('admin.payment.coupons')=>__lang('coupons'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
@csrf
{{formLabel($form->get('name'))}}
{{formElement($form->get('name'))}}
{{formLabel($form->get('code'))}}
{{formElement($form->get('code'))}}

{{ __lang('coupon-code-help') }}

{{formLabel($form->get('type'))}}
{{formElement($form->get('type'))}}

{{ __lang('coupon-type-help') }}

{{formLabel($form->get('discount'))}}
{{formElement($form->get('discount'))}}
{{formLabel($form->get('date_start'))}}
{{formElement($form->get('date_start'))}}
{{formLabel($form->get('expires'))}}
{{formElement($form->get('expires'))}}
{{formLabel($form->get('total'))}}
{{formElement($form->get('total'))}}

{{ __lang('coupon-total-help') }}

{{formLabel($form->get('uses_total'))}}
{{formElement($form->get('uses_total'))}}

{{ __lang('coupon-uses-total-help') }}

@php if(false): @endphp
{{formLabel($form->get('uses_customer'))}}
{{formElement($form->get('uses_customer'))}}

{{ __lang('coupon-uses-customer-help') }}

@php endif; @endphp
{{formLabel($form->get('sessions[]'))}}
{{formElement($form->get('sessions[]'))}}

{{ __lang('coupon-sessions-help') }}

{{formLabel($form->get('categories[]'))}}
{{formElement($form->get('categories[]'))}}

{{ __lang('coupon-categories-help') }}

{{formLabel($form->get('enabled'))}}
{{formElement($form->get('enabled'))}}
@endsection @section('header') @endsection @section('footer') @endsection