@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', [trans('payment.out'), trans('payment.in')], ['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'), 'currency' => Option::get('money_sign', 'Rp')]) !!}
{!! 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')) !!} @endsection @section('script') @endsection