mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added text-right to presenters for money values
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
6d545ff11b
commit
c49c5f4164
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue