@extends('layouts.app') @section('title', trans('payment.create')) @section('content')
{!! Form::open(['route'=>'payments.store']) !!}

{{ trans('payment.create') }}

{!! FormField::radios('in_out',['Pengeluaran', 'Pemasukan'],['label' => trans('payment.in_out'),'value' => 1]) !!}
{!! FormField::radios('type_id', paymentTypes(), ['label'=> trans('payment.type'),'value' => 1,'list_style' => 'unstyled']) !!}
{!! FormField::text('date',['label'=> trans('payment.date')]) !!}
{!! FormField::price('amount', ['label'=> trans('payment.amount')]) !!}
{!! FormField::select('project_id', $projects, ['label'=> trans('payment.project'),'value' => Request::get('project_id')]) !!}
{!! FormField::select('customer_id', $customers, ['label'=> trans('payment.customer'),'value' => Request::get('customer_id')]) !!}
{!! FormField::textarea('description',['label'=> trans('payment.description'),'rows' => 3]) !!}
{!! Form::close() !!}
@endsection @section('ext_css') {!! Html::style(url('assets/css/plugins/jquery.datetimepicker.css')) !!} @endsection @section('ext_js') {!! Html::script(url('assets/js/plugins/jquery.datetimepicker.js')) !!} @endsection @section('script') @endsection