Skip to content

Commit 0722788

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 13d3b10 + ec47ee3 commit 0722788

File tree

12 files changed

+13
-12
lines changed

12 files changed

+13
-12
lines changed

app/Presenters/AccessoryPresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static function dataTableLayout()
120120
'field' => 'purchase_cost',
121121
'searchable' => true,
122122
'sortable' => true,
123-
'title' => trans('general.purchase_cost'),
123+
'title' => trans('general.unit_cost'),
124124
'footerFormatter' => 'sumFormatterQuantity',
125125
'class' => 'text-right text-padding-number-cell',
126126
], [

app/Presenters/ComponentPresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static function dataTableLayout()
126126
'field' => 'purchase_cost',
127127
'searchable' => true,
128128
'sortable' => true,
129-
'title' => trans('general.purchase_cost'),
129+
'title' => trans('general.unit_cost'),
130130
'visible' => true,
131131
'footerFormatter' => 'sumFormatterQuantity',
132132
'class' => 'text-right',

app/Presenters/ConsumablePresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static function dataTableLayout()
126126
'field' => 'purchase_cost',
127127
'searchable' => true,
128128
'sortable' => true,
129-
'title' => trans('general.purchase_cost'),
129+
'title' => trans('general.unit_cost'),
130130
'visible' => true,
131131
'footerFormatter' => 'sumFormatterQuantity',
132132
'class' => 'text-right text-padding-number-cell',

resources/lang/en-US/general.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@
313313
'undeployable' => 'Un-deployable',
314314
'unknown_admin' => 'Unknown Admin',
315315
'unknown_user' => 'Unknown User',
316+
'unit_cost' => 'Unit Cost',
316317
'username' => 'Username',
317318
'update' => 'Update',
318319
'updating_item' => 'Updating :item',

resources/views/accessories/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@include ('partials.forms.edit.model_number')
2525
@include ('partials.forms.edit.order_number')
2626
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date'])
27-
@include ('partials.forms.edit.purchase_cost', ['currency_type' => $item->location->currency ?? null])
27+
@include ('partials.forms.edit.purchase_cost', ['currency_type' => $item->location->currency ?? null, 'unit_cost' => trans('general.unit_cost')])
2828
@include ('partials.forms.edit.quantity')
2929
@include ('partials.forms.edit.minimum_quantity')
3030
@include ('partials.forms.edit.notes')

resources/views/accessories/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class="table table-striped snipe-table"
236236
<div class="row">
237237
<div class="col-md-3" style="padding-bottom: 10px;">
238238
<strong>
239-
{{ trans('general.purchase_cost') }}
239+
{{ trans('general.unit_cost') }}
240240
</strong>
241241
</div>
242242
<div class="col-md-9" style="word-wrap: break-word;">

resources/views/components/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id'])
2929
@include ('partials.forms.edit.order_number')
3030
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date'])
31-
@include ('partials.forms.edit.purchase_cost')
31+
@include ('partials.forms.edit.purchase_cost', ['unit_cost' => trans('general.unit_cost')])
3232
@include ('partials.forms.edit.notes')
3333
@include ('partials.forms.edit.image-upload', ['image_path' => app('components_upload_path')])
3434

resources/views/components/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class="table table-striped snipe-table"
201201
@endif
202202

203203
@if ($component->purchase_cost)
204-
<div class="col-md-12" style="padding-bottom: 5px;"><strong>{{ trans('admin/components/general.cost') }}:</strong>
204+
<div class="col-md-12" style="padding-bottom: 5px;"><strong>{{ trans('general.unit_cost') }}:</strong>
205205
{{ $snipeSettings->default_currency }}
206206

207207
{{ Helper::formatCurrencyOutput($component->purchase_cost) }} </div>

resources/views/consumables/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@include ('partials.forms.edit.item_number')
2525
@include ('partials.forms.edit.order_number')
2626
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date'])
27-
@include ('partials.forms.edit.purchase_cost')
27+
@include ('partials.forms.edit.purchase_cost', [ 'unit_cost' => trans('general.unit_cost')])
2828
@include ('partials.forms.edit.quantity')
2929
@include ('partials.forms.edit.minimum_quantity')
3030
@include ('partials.forms.edit.notes')

resources/views/consumables/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
@if ($consumable->purchase_cost)
273273
<div class="row">
274274
<div class="col-md-3">
275-
{{ trans('general.purchase_cost') }}
275+
{{ trans('general.unit_cost') }}
276276
</div>
277277
<div class="col-md-9">
278278
{{ $snipeSettings->default_currency }}

0 commit comments

Comments
 (0)