@if (!isset($data->id) || !$data->id)
{!! Form::label('data[Order][coupon]', t('Coupon Code')) !!}
{!! Form::text( 'data[Order][coupon]', null, [ 'placeholder' => __('Coupon Code'), 'class' => 'form-control coupon enterless', 'data-url'=>action( 'Payment/CouponsController@secure_apply.json', [ $venue->id, 'query' => ['date' => $date] ] ) ] ) !!}

{!! Form::label('data[Order][discount]', t('Discount')) !!} {!! Form::number( 'data[Order][discount]', null, [ 'placeholder' => __('Amount of the discount'), 'class' => 'form-control text-right discount', 'step' => '0.01' ] ) !!}

@if ( isset($settings->content->allow_percentage_deposit) && $settings->content->allow_percentage_deposit )
{!! Form::label('data[Order][extra][deposit_percentage]', t('Deposit %')) !!} {!! Form::number( 'data[Order][extra][deposit_percentage]', null, [ 'placeholder' => __('Deposit as % of total amount'), 'class' => 'form-control text-right deposit-percentage', 'min' => 0, 'max' => 100 ] ) !!}

@endif @endif

@t('Deposit:') ...

@if (isset($fees->services) && $fees->services) @foreach ($fees->services as $key => $row) @if ($row->enabled) @endif @endforeach @endif @if (isset($fees->tax->fee) && $fees->tax->fee) @endif

@t('Total:') ...

@if (isset($fees->services) && $fees->services) @foreach ($fees->services as $key => $row) @if ($row->enabled) @endif @endforeach @endif @if (isset($fees->tax->fee) && $fees->tax->fee) @endif