Minor fixes to get charging working
This commit is contained in:
parent
db0ded44e0
commit
e9ada2468e
@ -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',
|
||||
|
@ -89,10 +89,10 @@
|
||||
|
||||
<span class="invalid-feedback" role="alert">
|
||||
@error('account_id')
|
||||
{{ $message }}
|
||||
{{ $message }}
|
||||
@else
|
||||
Account is required.
|
||||
@enderror
|
||||
@enderror
|
||||
</span>
|
||||
</div>
|
||||
<span class="input-helper">Account to add charge to.</span>
|
||||
@ -114,10 +114,10 @@
|
||||
</select>
|
||||
<span class="invalid-feedback" role="alert">
|
||||
@error('sweep_type')
|
||||
{{ $message }}
|
||||
{{ $message }}
|
||||
@else
|
||||
Sweep Type is required.
|
||||
@enderror
|
||||
@enderror
|
||||
</span>
|
||||
</div>
|
||||
<span class="input-helper">When to add the charge to an invoice.</span>
|
||||
@ -171,13 +171,16 @@
|
||||
|
||||
<span class="invalid-feedback" role="alert">
|
||||
@error('service_id')
|
||||
{{ $message }}
|
||||
{{ $message }}
|
||||
@else
|
||||
Service is required.
|
||||
@enderror
|
||||
@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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user