Skip to content

A free open source IT asset/license management system

Added purchase order and order number to user > licenses view

snipe4882b01787f3
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php
index bb78164748..a7394eb6c4 100755
--- a/resources/views/users/view.blade.php
+++ b/resources/views/users/view.blade.php
@@ -423,8 +423,10 @@
<thead>
<tr>
<th class="col-md-5">{{ trans('general.name') }}</th>
- <th class="col-md-6">{{ trans('admin/hardware/form.serial') }}</th>
- <th class="col-md-6" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">{{ trans('general.purchase_cost') }}</th>
+ <th>{{ trans('admin/hardware/form.serial') }}</th>
+ <th data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">{{ trans('general.purchase_cost') }}</th>
+ <th>{{ trans('admin/licenses/form.purchase_order') }}</th>
+ <th>{{ trans('general.order_number') }}</th>
<th class="col-md-1 hidden-print">{{ trans('general.action') }}</th>
</tr>
</thead>
@@ -442,7 +444,13 @@
@endcan
</td>
<td class="col-md-2">
- {!! $license->purchase_cost !!}
+ {{ $license->purchase_cost }}
+ </td>
+ <td>
+ {{ $license->purchase_order }}
+ </td>
+ <td>
+ {{ $license->order_number }}
</td>
<td class="hidden-print col-md-2">
@can('update', $license)