mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
parent
cbe39f9aaf
commit
ae78a177b0
@ -372,7 +372,7 @@ class ClientPortalController extends BaseController
|
|||||||
|
|
||||||
return Datatable::query($payments)
|
return Datatable::query($payments)
|
||||||
->addColumn('invoice_number', function ($model) { return $model->invitation_key ? link_to('/view/'.$model->invitation_key, $model->invoice_number)->toHtml() : $model->invoice_number; })
|
->addColumn('invoice_number', function ($model) { return $model->invitation_key ? link_to('/view/'.$model->invitation_key, $model->invoice_number)->toHtml() : $model->invoice_number; })
|
||||||
->addColumn('transaction_reference', function ($model) { return $model->transaction_reference ? $model->transaction_reference : '<i>Manual entry</i>'; })
|
->addColumn('transaction_reference', function ($model) { return $model->transaction_reference ? $model->transaction_reference : '<i>'.trans('manual_entry').'</i>'; })
|
||||||
->addColumn('payment_type', function ($model) { return ($model->payment_type && !$model->last4) ? $model->payment_type : ($model->account_gateway_id ? '<i>Online payment</i>' : ''); })
|
->addColumn('payment_type', function ($model) { return ($model->payment_type && !$model->last4) ? $model->payment_type : ($model->account_gateway_id ? '<i>Online payment</i>' : ''); })
|
||||||
->addColumn('amount', function ($model) { return Utils::formatMoney($model->amount, $model->currency_id, $model->country_id); })
|
->addColumn('amount', function ($model) { return Utils::formatMoney($model->amount, $model->currency_id, $model->country_id); })
|
||||||
->addColumn('payment_date', function ($model) { return Utils::dateToString($model->payment_date); })
|
->addColumn('payment_date', function ($model) { return Utils::dateToString($model->payment_date); })
|
||||||
|
@ -43,7 +43,7 @@ class PaymentDatatable extends EntityDatatable
|
|||||||
[
|
[
|
||||||
'transaction_reference',
|
'transaction_reference',
|
||||||
function ($model) {
|
function ($model) {
|
||||||
return $model->transaction_reference ? $model->transaction_reference : '<i>Manual entry</i>';
|
return $model->transaction_reference ? $model->transaction_reference : '<i>'.trans('manual_entry').'</i>';
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -25,6 +25,7 @@ return array(
|
|||||||
'size_id' => 'Firmengröße',
|
'size_id' => 'Firmengröße',
|
||||||
'industry_id' => 'Kategorie',
|
'industry_id' => 'Kategorie',
|
||||||
'private_notes' => 'Notizen',
|
'private_notes' => 'Notizen',
|
||||||
|
'manual_entry' => 'Manuelle Eingabe',
|
||||||
|
|
||||||
// invoice
|
// invoice
|
||||||
'invoice' => 'Rechnung',
|
'invoice' => 'Rechnung',
|
||||||
|
@ -1360,6 +1360,7 @@ $LANG = array(
|
|||||||
'added_on' => 'Added :date',
|
'added_on' => 'Added :date',
|
||||||
'failed_remove_payment_method' => 'Failed to remove the payment method',
|
'failed_remove_payment_method' => 'Failed to remove the payment method',
|
||||||
'gateway_exists' => 'This gateway already exists',
|
'gateway_exists' => 'This gateway already exists',
|
||||||
|
'manual_entry' => 'Manual entry',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -558,7 +558,7 @@ return array(
|
|||||||
'converted' => 'Modificada',
|
'converted' => 'Modificada',
|
||||||
|
|
||||||
//------Texto extraido -----------------------------------------------------------------------------------------
|
//------Texto extraido -----------------------------------------------------------------------------------------
|
||||||
'<i>Manual entry</i>' => '<i>Entrada Manual</i>',
|
'manual_entry' => 'Entrada Manual',
|
||||||
|
|
||||||
// Error
|
// Error
|
||||||
'Whoops, looks like something went wrong.' => 'Vaya, parece que algo salió mal',
|
'Whoops, looks like something went wrong.' => 'Vaya, parece que algo salió mal',
|
||||||
|
@ -25,6 +25,7 @@ return array(
|
|||||||
'size_id' => 'Taille',
|
'size_id' => 'Taille',
|
||||||
'industry_id' => 'Secteur',
|
'industry_id' => 'Secteur',
|
||||||
'private_notes' => 'Note personnelle',
|
'private_notes' => 'Note personnelle',
|
||||||
|
'manual_entry' => 'Entrée manuel',
|
||||||
|
|
||||||
// invoice
|
// invoice
|
||||||
'invoice' => 'Facture',
|
'invoice' => 'Facture',
|
||||||
|
Loading…
Reference in New Issue
Block a user