@include('deal::deal.partial.header')
@include('deal::deal.partial.aside')
{{$deal->title}}

{!! $deal['id'] !!}

{!! $deal['product_id'] !!}

{!! $deal['category_id'] !!}

{!! $deal['title'] !!}

{!! $deal['subtitle'] !!}

{!! $deal['start_date'] !!}

{!! $deal['end_date'] !!}

{!! $deal['type'] !!}

{!! $deal['value'] !!}

{!! $deal['image'] !!}

{!! $deal['created_at'] !!}

{!! $deal['updated_at'] !!}

{!! $deal['deleted_at'] !!}
{!! Form::numeric('product_id') -> label(trans('deal::deal.label.product_id')) -> placeholder(trans('deal::deal.placeholder.product_id'))!!}
{!! Form::numeric('category_id') -> label(trans('deal::deal.label.category_id')) -> placeholder(trans('deal::deal.placeholder.category_id'))!!}
{!! Form::text('title') -> label(trans('deal::deal.label.title')) -> placeholder(trans('deal::deal.placeholder.title'))!!}
{!! Form::text('subtitle') -> label(trans('deal::deal.label.subtitle')) -> placeholder(trans('deal::deal.placeholder.subtitle'))!!}
{!! Form::text('start_date') -> placeholder(trans('deal::deal.placeholder.start_date')) -> addClass('pickdatetime') ->raw()!!}
{!! Form::text('end_date') -> placeholder(trans('deal::deal.placeholder.end_date')) -> addClass('pickdatetime') ->raw()!!}
{!! Form::select('type') -> options(trans('deal::deal.options.type')) -> label(trans('deal::deal.label.type')) -> placeholder(trans('deal::deal.placeholder.type'))!!}
{!! Form::decimal('value') -> label(trans('deal::deal.label.value')) -> placeholder(trans('deal::deal.placeholder.value'))!!}
{!! $deal->files('images', 10) ->mime(config('filer.image_extensions')) ->url($deal->getUploadUrl('images')) ->dropzone()!!}
{!! $deal->files('images') ->editor()!!}