@extends('layouts.master') @section('jscript') @include('layouts._datemask') @include('payments._js_form') @stop @section('content') @if ($editMode == true) {{ Form::model($payment, array('route' => array('payments.update', $payment->id, $payment->invoice_id), 'class' => 'form-horizontal')) }} @else {{ Form::open(array('route' => 'payments.store', 'class' => 'form-horizontal')) }} @endif {{ Form::hidden('invoice_id') }} {{ Form::close() }} @stop