mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Private note in a payment #1478
This commit is contained in:
parent
7d466f5569
commit
a99065f70b
@ -189,6 +189,9 @@ class PaymentRepository extends BaseRepository
|
||||
if (isset($input['transaction_reference'])) {
|
||||
$payment->transaction_reference = trim($input['transaction_reference']);
|
||||
}
|
||||
if (isset($input['private_notes'])) {
|
||||
$payment->private_notes = trim($input['private_notes']);
|
||||
}
|
||||
|
||||
if (! $publicId) {
|
||||
$clientId = $input['client_id'];
|
||||
|
@ -15,6 +15,8 @@
|
||||
<td>{{ trans('texts.vat_number') }}</td>
|
||||
<td>{{ trans('texts.website') }}</td>
|
||||
<td>{{ trans('texts.phone') }}</td>
|
||||
<td>{{ trans('texts.public_notes') }}</td>
|
||||
<td>{{ trans('texts.private_notes') }}</td>
|
||||
@if ($account->custom_client_label1)
|
||||
<td>{{ $account->custom_client_label1 }}</td>
|
||||
@endif
|
||||
@ -41,6 +43,8 @@
|
||||
<td>{{ $client->vat_number }}</td>
|
||||
<td>{{ $client->website }}</td>
|
||||
<td>{{ $client->work_phone }}</td>
|
||||
<td>{{ $client->public_notes }}</td>
|
||||
<td>{{ $client->private_notes }}</td>
|
||||
@if ($account->custom_client_label1)
|
||||
<td>{{ $client->custom_value1 }}</td>
|
||||
@endif
|
||||
|
@ -11,6 +11,8 @@
|
||||
<td>{{ trans('texts.status') }}</td>
|
||||
<td>{{ trans(isset($entityType) && $entityType == ENTITY_QUOTE ? 'texts.quote_date' : 'texts.invoice_date') }}</td>
|
||||
<td>{{ trans('texts.due_date') }}</td>
|
||||
<td>{{ trans('texts.public_notes') }}</td>
|
||||
<td>{{ trans('texts.private_notes') }}</td>
|
||||
@if ($account->custom_invoice_label1)
|
||||
<td>{{ $account->custom_invoice_label1 }}</td>
|
||||
@endif
|
||||
@ -40,6 +42,8 @@
|
||||
<td>{{ $invoice->present()->status }}</td>
|
||||
<td>{{ $invoice->present()->invoice_date }}</td>
|
||||
<td>{{ $invoice->present()->due_date }}</td>
|
||||
<td>{{ $invoice->public_notes }}</td>
|
||||
<td>{{ $invoice->private_notes }}</td>
|
||||
@if ($account->custom_invoice_label1)
|
||||
<td>{{ $invoice->custom_value1 }}</td>
|
||||
@endif
|
||||
|
@ -8,6 +8,7 @@
|
||||
<td>{{ trans('texts.payment_date') }}</td>
|
||||
<td>{{ trans('texts.method') }}</td>
|
||||
<td>{{ trans('texts.transaction_reference') }}</td>
|
||||
<td>{{ trans('texts.private_notes') }}</td>
|
||||
</tr>
|
||||
|
||||
@foreach ($payments as $payment)
|
||||
@ -22,6 +23,7 @@
|
||||
<td>{{ $payment->present()->payment_date }}</td>
|
||||
<td>{{ $payment->present()->method }}</td>
|
||||
<td>{{ $payment->transaction_reference }}</td>
|
||||
<td>{{ $payment->private_notes }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
@ -69,6 +69,7 @@
|
||||
->addGroupClass('payment_date')
|
||||
->append('<i class="glyphicon glyphicon-calendar"></i>') !!}
|
||||
{!! Former::text('transaction_reference') !!}
|
||||
{!! Former::textarea('private_notes') !!}
|
||||
|
||||
@if (!$payment)
|
||||
{!! Former::checkbox('email_receipt')
|
||||
|
Loading…
Reference in New Issue
Block a user