|
|
@@ -1,6 +1,6 @@
|
|
|
<div class="col card--ui" id="card--dashboard">
|
|
|
|
|
|
-
|
|
|
+ <div style="z-index:999; position:absolute;left:0px, right:0px;bottom:0px; width:100%; height:100%;background-color:#0C6197; opacity:0.5; display:none" id="loadingDiv"><span style="margin: auto;width: 50%;color:white; font-size:20px;">Loading...</span></div>
|
|
|
|
|
|
<header id="title--section" style="display:none !important" class="d-flex align-items-center justify-content-between">
|
|
|
<div class="title--section_name d-flex align-items-center justify-content-between">
|
|
|
@@ -206,7 +206,7 @@
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
<span class="title-form d-block w-100">Utente</span>
|
|
|
- <select name="member_id" class="form-select memberClass @error('member_id') is-invalid @enderror" aria-label="Seleziona una persona" wire:model="member_id" {{$this->dataId > 0 && !$isDuplicate ? 'disabled' : ''}}>
|
|
|
+ <select name="member_id" class="form-select memberClass @error('member_id') is-invalid @enderror" aria-label="Seleziona una persona" wire:model="member_id" {{$this->dataId > 0 && !$isDuplicate ? 'disabled' : ''}} onchange="loadDiv()">
|
|
|
<option value="">--Seleziona--
|
|
|
@foreach($members as $member)
|
|
|
<option value="{{$member->id}}">{{$member->last_name}} {{$member->first_name}} ({{$member->fiscal_code}})
|
|
|
@@ -321,7 +321,7 @@
|
|
|
|
|
|
<div class="col-md-6" >
|
|
|
|
|
|
- <select name="payment_method_id" class="form-select paymentClass @error('payment_method_id') is-invalid @enderror" aria-label="Seleziona un metodo di pagamento" wire:model="payment_method_id" style="width:100%" {{$this->dataId > 0 && $deleted ? 'disabled' : ''}}>
|
|
|
+ <select name="payment_method_id" class="form-select paymentClass @error('payment_method_id') is-invalid @enderror" aria-label="Seleziona un metodo di pagamento" wire:model="payment_method_id" style="width:100%" {{$this->dataId > 0 && $deleted ? 'disabled' : ''}} onchange="loadDiv()">
|
|
|
<option value="">--Seleziona--
|
|
|
@foreach($payments as $payment)
|
|
|
<option value="{{$payment->id}}">{{$payment->name}}
|
|
|
@@ -1012,6 +1012,7 @@
|
|
|
}
|
|
|
|
|
|
function setChangedAmount() {
|
|
|
+ loadDiv();
|
|
|
@if(!$isDuplicate)
|
|
|
@this.setAmount();
|
|
|
@endif
|
|
|
@@ -1403,6 +1404,11 @@
|
|
|
@this.setYear(idx, xxx);
|
|
|
}
|
|
|
|
|
|
+ function loadDiv()
|
|
|
+ {
|
|
|
+ $("#loadingDiv").show();
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
</script>
|
|
|
|