@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('in_out',['Pengeluaran','Pemasukan'],['label'=> trans('payment.in_out'),'value' => 1]) !!}
{!! FormField::radios('type_id', PaymentType::toArray(), ['label'=> trans('payment.type'),'value' => 1,'list_style' => 'unstyled']) !!}
{!! 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('partner_id', $partners, ['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