Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe
2025-06-23 20:51:24 +01:00
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class AssetsTransformer
'checkout_counter' => (int) $asset->checkout_counter,
'requests_counter' => (int) $asset->requests_counter,
'user_can_checkout' => (bool) $asset->availableForCheckout(),
'book_value' => Helper::formatCurrencyOutput($asset->getLinearDepreciatedValue()),
'book_value' => Helper::formatCurrencyOutput($asset->getDepreciatedValue()),
];
@@ -4,6 +4,7 @@
'button_label',
'disabled_select' => false,
'options' => [],
'id' => 'submit_button',
])
<div class="box-footer">
@@ -26,7 +27,7 @@
</select>
@endif
<button type="submit" class="btn btn-primary pull-right{{ ($disabled_select ? ' disabled' : '') }}" style="margin-left:5px; border-radius: 3px;"{!! ($disabled_select ? ' data-tooltip="true" title="'.trans('admin/hardware/general.edit').'" disabled' : '') !!}>
<button type="submit" id="{{ $id }}" class="btn btn-primary pull-right{{ ($disabled_select ? ' disabled' : '') }}" style="margin-left:5px; border-radius: 3px;"{!! ($disabled_select ? ' data-tooltip="true" title="'.trans('admin/hardware/general.edit').'" disabled' : '') !!}>
<x-icon type="checkmark" />
{{ $button_label }}
</button>