@extends('layouts.app') @section('title', trans('payment.edit')) @section('content') @include('payments.partials.breadcrumb',['title' => trans('payment.edit')])
{!! Form::model($payment, ['route'=>['payments.update', $payment->id], 'method' => 'patch']) !!}

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

{!! FormField::radios('type', ['Pengeluaran','Pemasukan'], ['label'=> trans('payment.type')]) !!}
{!! FormField::text('date',['label'=> trans('app.date')]) !!}
{!! FormField::price('amount',['label'=> trans('payment.amount')]) !!}
{!! FormField::select('project_id', $projects, ['label'=> trans('payment.project')]) !!}
{!! FormField::select('customer_id', $customers, ['label'=> trans('payment.customer')]) !!}
{!! FormField::textarea('description',['label'=> trans('payment.description')]) !!}
{!! 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')) !!} {!! Html::script(url('assets/js/plugins/autoNumeric.min.js')) !!} @endsection @section('script') @endsection