Skip to content

Commit 9c1c93a

Browse files
authored
Merge pull request #15774 from marcusmoore/feature/sc-27350
Added Checkout ID column to user accessory table
2 parents b96a312 + ad99b8b commit 9c1c93a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

resources/lang/en-US/admin/accessories/table.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
'id' => 'ID',
77
'require_acceptance' => 'Acceptance',
88
'title' => 'Accessory Name',
9-
10-
119
);

resources/views/users/view.blade.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,8 @@ class="table table-striped snipe-table table-hover"
896896
}'>
897897
<thead>
898898
<tr>
899-
<th class="col-md-5">{{ trans('general.name') }}</th>
899+
<th class="col-md-1">{{ trans('general.id') }}</th>
900+
<th class="col-md-4">{{ trans('general.name') }}</th>
900901
<th class-="col-md-5" data-fieldname="note">{{ trans('general.notes') }}</th>
901902
<th class="col-md-1" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">{{ trans('general.purchase_cost') }}</th>
902903
<th class="col-md-1 hidden-print">{{ trans('general.action') }}</th>
@@ -905,7 +906,8 @@ class="table table-striped snipe-table table-hover"
905906
<tbody>
906907
@foreach ($user->accessories as $accessory)
907908
<tr>
908-
<td>{!!$accessory->present()->nameUrl()!!}</td>
909+
<td>{{ $accessory->pivot->id }}</td>
910+
<td>{!!$accessory->present()->nameUrl()!!}</td>
909911
<td>{!! $accessory->pivot->note !!}</td>
910912
<td>
911913
{!! Helper::formatCurrencyOutput($accessory->purchase_cost) !!}
@@ -1210,4 +1212,4 @@ class="table table-striped snipe-table"
12101212
</script>
12111213

12121214

1213-
@stop
1215+
@stop

0 commit comments

Comments
 (0)