@extends('layouts.admin', [ 'page_header' => 'Edit Package' ]) @section('title','Edit Coupan') @section('content')
{!! Form::model($package, ['method' => 'PATCH', 'action' => ['PackageController@update', $package->id]]) !!}
{!! Form::label('name', 'Plan Name') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! Form::label('trial_period_days', 'Enter Your Plan Trail Period Days') !!} {!! Form::number('trial_period_days', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('trial_period_days') }}
{!! Form::label('screen', 'Screen') !!} {!! Form::select('screen', array('' => '','1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8'), null, ['class' => 'form-control', 'placeholder' => '']) !!} {{ $errors->first('screen') }}
{!! Form::label('status', 'Status') !!} {!! Form::select('status', array('0' => 'Inactive', '1' => 'Active'), null, ['class' => 'form-control', 'placeholde' => '']) !!} {{ $errors->first('status') }}
{!! Form::submit("Update", ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}
@endsection