@extends('layouts.default')
@section('content')
{!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $bill) !!}
{!! Form::model($bill, ['class' => 'form-horizontal','id' => 'update','url' => route('bills.update', $bill->id)]) !!}
    
        
        
            
                 Mandatory fields
            
            
                {!! ExpandedForm::text('name') !!}
                {!! ExpandedForm::tags('match') !!}
                {!! ExpandedForm::amount('amount_min') !!}
                {!! ExpandedForm::amount('amount_max') !!}
                {!! ExpandedForm::date('date',$bill->date->format('Y-m-d')) !!}
                {!! ExpandedForm::select('repeat_freq',$periods) !!}
        
     
 
    
        
        
            
                 Optional fields
            
            
                {!! ExpandedForm::integer('skip') !!}
                {!! ExpandedForm::checkbox('automatch',1) !!}
                {!! ExpandedForm::checkbox('active',1) !!}
            
         
            
                
                     Options
                
                
                    {!! ExpandedForm::optionsList('update','bill') !!}
                
             
     
 
{!! Form::close() !!}
@stop
@section('styles')
    
@stop
@section('scripts')
    
@stop