1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Truncate subscription target

This commit is contained in:
Hillel Coren 2018-01-08 16:31:51 +02:00
parent 3804e3daa1
commit d686b97ad8

View File

@ -20,7 +20,7 @@ class SubscriptionDatatable extends EntityDatatable
[
'target',
function ($model) {
return $model->target;
return e(substr($model->target, 0, 40) . (strlen($model->target) > 40 ? '...' : ''));
},
],
];