{{ Form::open(['url' => action('CollectController@post_store_promo', ['business'=>$business->business, 'ajax'=> 1]),'autocomplete' => 'off','files' => true, 'id'=>'form_create_promotion_blade']) }}
{{ Form::hidden('edit_url', action('CollectController@edit_promotion', ['business' => $business, 'promo' => 'XXX', 'ajax'=> 1]), ['id' => 'edit_url']) }} {{ Form::hidden('update_url', action('CollectController@post_update_promo', ['business' => $business, 'promo' => 'XXX', 'ajax'=> 1]), ['id' => 'update_url']) }} {{ Form::page_header("Create a Collect Promotion", "cellphone_envolope") }}
{{ Form::radio_ex("expire_type", \App\Models\Promo::EXPIRE_TYPE_DAYS, null, 'Expires in', null, 'on_change_expire_type(this.value)') }} {{ Form::text_suffix('expire_days', null, null, 'days') }}
{{ Form::radio_ex("expire_type", \App\Models\Promo::EXPIRE_TYPE_DOES_NOT, null, 'Does Not Expire', 12, 'on_change_expire_type(this.value)') }}
{{ Form::label_title("Offer", \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::text_ex('offer', null) }}
{{ Form::label_title("Terms & Conditions", \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::textarea_ex('terms_and_conditions', null) }}
{{ Form::label_title("Follow On Communication", \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{!! Form::tinymce('follow_on_communication') !!}
{{ Form::close() }}