Minor fixes to get charging working

This commit is contained in:
Deon George 2022-02-02 16:01:12 +11:00
parent db0ded44e0
commit e9ada2468e
2 changed files with 13 additions and 8 deletions

View File

@ -52,8 +52,6 @@ class Service extends Model implements IDs
'billing_price',
'name_short',
'next_invoice',
'product_category',
'product_name',
'service_id',
'service_id_url',
'status',

View File

@ -177,7 +177,10 @@
@enderror
</span>
</div>
{{--
<!-- @todo -->
<span class="input-helper"><sup>**</sup>Service inactive.</span>
--}}
</div>
</div>
@ -332,6 +335,10 @@
$('#service_id').select2();
$('#sweep_type').select2();
$('#type').select2();
if ($('#quantity').val() && $('#amount').val()) {
total();
}