A free open source IT asset/license management system
Display number of items being accepted
Marcus Moore22fe9a786ea0
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.phpindex b06d6899fd..387f50e9b6 100644--- a/resources/lang/en-US/general.php+++ b/resources/lang/en-US/general.php@@ -351,9 +351,11 @@ return ['audit_overdue' => 'Overdue for Audit','accept' => 'Accept :asset','i_accept' => 'I accept',+ 'i_accept_with_count' => 'I accept :count item|I accept :count items','i_decline_item' => 'Decline this item','i_accept_item' => 'Accept this item','i_decline' => 'I decline',+ 'i_decline_with_count' => 'I decline :count item|I decline :count items','accept_decline' => 'Accept/Decline','sign_tos' => 'Sign below to indicate that you agree to the terms of service:','clear_signature' => 'Clear Signature',diff --git a/resources/views/account/accept/create.blade.php b/resources/views/account/accept/create.blade.phpindex 54a4371f1f..33dfb5f38a 100644--- a/resources/views/account/accept/create.blade.php+++ b/resources/views/account/accept/create.blade.php@@ -38,8 +38,13 @@<div class="panel box box-default"><div class="box-header with-border"><h2 class="box-title">- {{$acceptance->checkoutable->present()->name()}}- {{ (($acceptance->checkoutable) && ($acceptance->checkoutable->serial)) ? ' - '.trans('general.serial_number').': '.$acceptance->checkoutable->serial : '' }}+ <div>+ {{$acceptance->checkoutable->present()->name()}}+ @if ($acceptance->qty > 1)+ <strong>×{{ $acceptance->qty }}</strong>+ @endif+ </div>+ <div>{{ (($acceptance->checkoutable) && ($acceptance->checkoutable->serial)) ? trans('general.serial_number').': '.$acceptance->checkoutable->serial : '' }}</div></h2></div><div class="box-body">@@ -53,11 +58,19 @@<div class="col-md-12"><label class="form-control"><input type="radio" name="asset_acceptance" id="accepted" value="accepted">- {{trans('general.i_accept')}}+ @if ($acceptance->qty)+ {{trans_choice('general.i_accept_with_count', $acceptance->qty)}}+ @else+ {{trans('general.i_accept')}}+ @endif</label><label class="form-control"><input type="radio" name="asset_acceptance" id="declined" value="declined">- {{trans('general.i_decline')}}+ @if ($acceptance->qty)+ {{trans_choice('general.i_decline_with_count', $acceptance->qty)}}+ @else+ {{trans('general.i_decline')}}+ @endif</label></div>