@extends('billings.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('billings.layouts.partials._alert')

{{App\Language::trans('Detail Form')}}

{!! Form::label('name', App\Language::trans('Payment Item'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('name',App\Product::leaf_all_payable_item_combobox(), null, ['class'=>'form-control','required']) !!} {!!$errors->first('name', ' ')!!}
{!! Form::label('deposit_to_account', App\Language::trans('Deposit To'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('deposit_to_account', App\Setting::bank_or_cash_combobox(), null, ['class'=>'form-control','autofocus','required']) !!} {!!$errors->first('deposit_to_account', ' ')!!}
{!! Form::label('payment_term_id', App\Language::trans('Payment Term'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('payment_term_id', App\PaymentTerm::get_common_combobox(), null, ['class'=>'form-control']) !!} {!!$errors->first('payment_term_id', '')!!}
{!! Form::label('name', App\Language::trans('Tax'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('name',App\Tax::combobox(), null, ['class'=>'form-control','required']) !!} {!!$errors->first('name', ' ')!!}
{!! Form::label('status', App\Language::trans('Status'), ['class'=>'control-label col-md-4']) !!}
{!!$errors->first('status', ' ')!!}
{!! Form::close() !!} @endsection @section('script') @endsection