@extends('Layouts/dashboard') @section('submenu') @include( 'Plugins/Payment/Views/Elements/Line/submenu' ) @endsection @section('content') {!! Form::open() !!}
{!! Form::label('data[Nominal][code]', __('Code')) !!} {!! Form::text( 'data[Nominal][code]', (isset($data->code) ? $data->code : null), ['required'] ) !!}
{!! Form::label('data[Nominal][name]', __('Name')) !!} {!! Form::text( 'data[Nominal][name]', (isset($data->name) ? $data->name : null), ['required'] ) !!}
{!! Form::label('data[Nominal][tax]', __('Tax %')) !!} {!! Form::number( 'data[Nominal][tax]', (isset($data->tax) ? $data->tax : null), [ 'step' => '0.01' ] ) !!}
{!! Form::label('data[Nominal][nominal_category_id]', __('Category')) !!} {!! Form::select( 'data[Nominal][nominal_category_id]', $categories, (isset($data->nominal_category_id) ? $data->nominal_category_id : null), ['empty' => true] ) !!}
{!! Form::close() !!} @endsection