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

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

{!! FormField::radios('in_out', [__('payment.out'), __('payment.in')], ['label'=> __('payment.in_out'), 'value' => 1]) !!}
{!! FormField::radios('type_id', PaymentType::toArray(), ['label' => __('payment.type'), 'value' => 1, 'list_style' => 'unstyled']) !!}
{!! FormField::text('date', ['label'=> __('app.date')]) !!}
{!! FormField::price('amount', ['label'=> __('payment.amount'), 'currency' => Option::get('money_sign', 'Rp')]) !!}
{!! FormField::select('project_id', $projects, ['label'=> __('payment.project')]) !!}
{!! FormField::select('partner_id', $partners, ['label'=> __('payment.customer')]) !!}
{!! FormField::textarea('description', ['label'=> __('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