1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Working on gateway fees

This commit is contained in:
Hillel Coren 2017-03-16 22:56:13 +02:00
parent 0379bb61fa
commit be6c9035aa
4 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class AccountGatewayDatatable extends EntityDatatable
{
return [
[
'name',
'gateway',
function ($model) {
if ($model->deleted_at) {
return $model->name;

View File

@ -23,6 +23,7 @@ class AccountGatewayRepository extends BaseRepository
'account_gateways.id',
'account_gateways.public_id',
'gateways.name',
'gateways.name as gateway',
'account_gateways.deleted_at',
'account_gateways.gateway_id',
'accounts.gateway_fee_location');

View File

@ -2416,6 +2416,7 @@ $LANG = array(
'gateway_fees' => 'Gateway Fees',
'fees_disabled' => 'Fees are disabled',
'gateway_fees_help' => 'Automatically add an online payment surcharge [partial payments are not supported].',
'gateway' => 'Gateway',
);

View File

@ -49,7 +49,7 @@
{!! Datatable::table()
->addColumn(
trans('texts.name'),
trans('texts.gateway'),
trans('texts.limits'),
trans('texts.fees'),
trans('texts.action'))