mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added notes field to view blades
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
94dded3785
commit
5266b2c71f
|
@ -35,6 +35,8 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@include ('partials.forms.edit.notes')
|
||||||
|
|
||||||
@include ('partials.forms.edit.image-upload')
|
@include ('partials.forms.edit.image-upload')
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
|
|
@ -102,6 +102,20 @@
|
||||||
<a href="{{ route('checkout/accessory', $accessory->id) }}" style="margin-right:5px;" class="btn btn-primary btn-sm" {{ (($accessory->numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }}</a>
|
<a href="{{ route('checkout/accessory', $accessory->id) }}" style="margin-right:5px;" class="btn btn-primary btn-sm" {{ (($accessory->numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }}</a>
|
||||||
@endcan
|
@endcan
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if ($accessory->notes)
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
|
<strong>
|
||||||
|
{{ trans('general.notes') }}
|
||||||
|
</strong>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12">
|
||||||
|
{!! nl2br(e($accessory->notes)) !!}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@stop
|
@stop
|
||||||
|
|
|
@ -33,6 +33,8 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@include ('partials.forms.edit.notes')
|
||||||
|
|
||||||
@include ('partials.forms.edit.image-upload')
|
@include ('partials.forms.edit.image-upload')
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
|
|
@ -135,6 +135,20 @@
|
||||||
<div class="col-md-12" style="padding-bottom: 5px;"><strong>{{ trans('general.order_number') }}:</strong>
|
<div class="col-md-12" style="padding-bottom: 5px;"><strong>{{ trans('general.order_number') }}:</strong>
|
||||||
{{ $component->order_number }} </div>
|
{{ $component->order_number }} </div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if ($component->notes)
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
|
<strong>
|
||||||
|
{{ trans('general.notes') }}
|
||||||
|
</strong>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12">
|
||||||
|
{!! nl2br(e($component->notes)) !!}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div> <!-- .row-->
|
</div> <!-- .row-->
|
||||||
|
|
||||||
|
|
|
@ -33,5 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@include ('partials.forms.edit.notes')
|
||||||
|
|
||||||
@include ('partials.forms.edit.image-upload')
|
@include ('partials.forms.edit.image-upload')
|
||||||
@stop
|
@stop
|
||||||
|
|
|
@ -117,11 +117,26 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@can('checkout', \App\Models\Accessory::class)
|
@can('checkout', \App\Models\Consumable::class)
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<a href="{{ route('checkout/consumable', $consumable->id) }}" style="padding-bottom:5px;" class="btn btn-primary btn-sm" {{ (($consumable->numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }}</a>
|
<a href="{{ route('checkout/consumable', $consumable->id) }}" style="padding-bottom:5px;" class="btn btn-primary btn-sm" {{ (($consumable->numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }}</a>
|
||||||
</div>
|
</div>
|
||||||
@endcan
|
@endcan
|
||||||
|
|
||||||
|
@if ($consumable->notes)
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
|
<strong>
|
||||||
|
{{ trans('general.notes') }}
|
||||||
|
</strong>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12">
|
||||||
|
{!! nl2br(e($consumable->notes)) !!}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /.col-md-3-->
|
</div> <!-- /.col-md-3-->
|
||||||
</div> <!-- /.row-->
|
</div> <!-- /.row-->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue