Added text-right to presenters for money values

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-11-18 15:09:17 -08:00
parent 6d545ff11b
commit c49c5f4164
8 changed files with 10 additions and 0 deletions

View file

@ -103,6 +103,7 @@ class AccessoryPresenter extends Presenter
'sortable' => true, 'sortable' => true,
'title' => trans('general.purchase_cost'), 'title' => trans('general.purchase_cost'),
'footerFormatter' => 'sumFormatter', 'footerFormatter' => 'sumFormatter',
'class' => 'text-right',
], [ ], [
'field' => 'order_number', 'field' => 'order_number',
'searchable' => true, 'searchable' => true,

View file

@ -130,6 +130,7 @@ class AssetAuditPresenter extends Presenter
'visible' => false, 'visible' => false,
'title' => trans('general.purchase_cost'), 'title' => trans('general.purchase_cost'),
'footerFormatter' => 'sumFormatter', 'footerFormatter' => 'sumFormatter',
'class' => 'text-right',
], [ ], [
'field' => 'order_number', 'field' => 'order_number',
'searchable' => true, 'searchable' => true,

View file

@ -100,6 +100,7 @@ class AssetMaintenancesPresenter extends Presenter
'searchable' => true, 'searchable' => true,
'sortable' => true, 'sortable' => true,
'title' => trans('admin/asset_maintenances/form.cost'), 'title' => trans('admin/asset_maintenances/form.cost'),
'class' => 'text-right',
], [ ], [
'field' => 'user_id', 'field' => 'user_id',
'searchable' => true, 'searchable' => true,

View file

@ -146,6 +146,7 @@ class AssetPresenter extends Presenter
'sortable' => true, 'sortable' => true,
'title' => trans('general.purchase_cost'), 'title' => trans('general.purchase_cost'),
'footerFormatter' => 'sumFormatter', 'footerFormatter' => 'sumFormatter',
'class' => 'text-right',
], [ ], [
'field' => 'order_number', 'field' => 'order_number',
'searchable' => true, 'searchable' => true,

View file

@ -102,6 +102,7 @@ class ComponentPresenter extends Presenter
'title' => trans('general.purchase_cost'), 'title' => trans('general.purchase_cost'),
'visible' => true, 'visible' => true,
'footerFormatter' => 'sumFormatter', 'footerFormatter' => 'sumFormatter',
'class' => 'text-right',
], ],
]; ];

View file

@ -114,6 +114,7 @@ class ConsumablePresenter extends Presenter
'title' => trans('general.purchase_cost'), 'title' => trans('general.purchase_cost'),
'visible' => true, 'visible' => true,
'footerFormatter' => 'sumFormatter', 'footerFormatter' => 'sumFormatter',
'class' => 'text-right',
], [ ], [
'field' => 'change', 'field' => 'change',
'searchable' => false, 'searchable' => false,

View file

@ -128,6 +128,7 @@ class DepreciationReportPresenter extends Presenter
"visible" => true, "visible" => true,
"title" => trans('general.purchase_cost'), "title" => trans('general.purchase_cost'),
"footerFormatter" => 'sumFormatter', "footerFormatter" => 'sumFormatter',
"class" => "text-right",
], [ ], [
"field" => "order_number", "field" => "order_number",
"searchable" => true, "searchable" => true,
@ -148,6 +149,7 @@ class DepreciationReportPresenter extends Presenter
"visible" => true, "visible" => true,
"title" => trans('admin/hardware/table.book_value'), "title" => trans('admin/hardware/table.book_value'),
"footerFormatter" => 'sumFormatter', "footerFormatter" => 'sumFormatter',
"class" => "text-right",
], [ ], [
"field" => "monthly_depreciation", "field" => "monthly_depreciation",
"searchable" => true, "searchable" => true,
@ -161,6 +163,7 @@ class DepreciationReportPresenter extends Presenter
"visible" => true, "visible" => true,
"title" => trans('admin/hardware/table.diff'), "title" => trans('admin/hardware/table.diff'),
"footerFormatter" => 'sumFormatter', "footerFormatter" => 'sumFormatter',
"class" => "text-right",
],[ ],[
"field" => "warranty_expires", "field" => "warranty_expires",
"searchable" => false, "searchable" => false,

View file

@ -137,6 +137,7 @@ class LicensePresenter extends Presenter
'visible' => false, 'visible' => false,
'title' => trans('general.purchase_cost'), 'title' => trans('general.purchase_cost'),
'footerFormatter' => 'sumFormatter', 'footerFormatter' => 'sumFormatter',
'class' => 'text-right',
], [ ], [
'field' => 'purchase_order', 'field' => 'purchase_order',
'searchable' => true, 'searchable' => true,