1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/views/accounts/payment_term.blade.php

49 lines
1.0 KiB
PHP
Raw Normal View History

2016-01-07 20:39:51 +01:00
@extends('header')
@section('content')
2016-01-07 20:39:51 +01:00
@parent
@include('accounts.nav', ['selected' => ACCOUNT_PAYMENT_TERMS])
{!! Former::open($url)->method($method)
->rules([
'num_days' => 'required'
])
->addClass('warn-on-exit') !!}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! $title !!}</h3>
</div>
<div class="panel-body form-padding-right">
@if ($paymentTerm)
{{ Former::populate($paymentTerm) }}
@endif
{!! Former::text('num_days')
->type('number')
->min(1)
->label('texts.num_days') !!}
2016-01-07 20:39:51 +01:00
</div>
</div>
2017-11-03 12:58:16 +01:00
<center class="buttons">
{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(URL::to('/settings/payment_terms'))->appendIcon(Icon::create('remove-circle')) !!}
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
</center>
2016-01-07 20:39:51 +01:00
{!! Former::close() !!}
<script type="text/javascript">
$(function() {
$('#name').focus();
});
</script>
@stop