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

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

{!! FormField::radios('type',['Pengeluaran','Pemasukan'],['label'=> trans('payment.type'),'value' => 1]) !!}
{!! 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