mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on gateway fees
This commit is contained in:
parent
0379bb61fa
commit
be6c9035aa
@ -20,7 +20,7 @@ class AccountGatewayDatatable extends EntityDatatable
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
'name',
|
'gateway',
|
||||||
function ($model) {
|
function ($model) {
|
||||||
if ($model->deleted_at) {
|
if ($model->deleted_at) {
|
||||||
return $model->name;
|
return $model->name;
|
||||||
|
@ -23,6 +23,7 @@ class AccountGatewayRepository extends BaseRepository
|
|||||||
'account_gateways.id',
|
'account_gateways.id',
|
||||||
'account_gateways.public_id',
|
'account_gateways.public_id',
|
||||||
'gateways.name',
|
'gateways.name',
|
||||||
|
'gateways.name as gateway',
|
||||||
'account_gateways.deleted_at',
|
'account_gateways.deleted_at',
|
||||||
'account_gateways.gateway_id',
|
'account_gateways.gateway_id',
|
||||||
'accounts.gateway_fee_location');
|
'accounts.gateway_fee_location');
|
||||||
|
@ -2416,6 +2416,7 @@ $LANG = array(
|
|||||||
'gateway_fees' => 'Gateway Fees',
|
'gateway_fees' => 'Gateway Fees',
|
||||||
'fees_disabled' => 'Fees are disabled',
|
'fees_disabled' => 'Fees are disabled',
|
||||||
'gateway_fees_help' => 'Automatically add an online payment surcharge [partial payments are not supported].',
|
'gateway_fees_help' => 'Automatically add an online payment surcharge [partial payments are not supported].',
|
||||||
|
'gateway' => 'Gateway',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
{!! Datatable::table()
|
{!! Datatable::table()
|
||||||
->addColumn(
|
->addColumn(
|
||||||
trans('texts.name'),
|
trans('texts.gateway'),
|
||||||
trans('texts.limits'),
|
trans('texts.limits'),
|
||||||
trans('texts.fees'),
|
trans('texts.fees'),
|
||||||
trans('texts.action'))
|
trans('texts.action'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user