refs #5648 create vn-confirm
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
a51481c00e
commit
0b2c91466e
|
@ -481,12 +481,19 @@
|
|||
on-accept="$ctrl.transferSales($ctrl.transfer.ticketId)">
|
||||
</vn-confirm>
|
||||
|
||||
<vn-confirm
|
||||
vn-id="claimSure"
|
||||
message="Do you want to create a claim?"
|
||||
on-accept="$ctrl.onCreateClaimAccepted()">
|
||||
</vn-confirm>
|
||||
|
||||
<vn-confirm
|
||||
vn-id="claimConfirm"
|
||||
question="Do you want to continue?"
|
||||
message="Claim out of time"
|
||||
on-accept="$ctrl.onCreateClaimAccepted()">
|
||||
</vn-confirm>
|
||||
</vn-confirm>¡
|
||||
|
||||
|
||||
<vn-menu vn-id="moreOptions">
|
||||
<vn-item translate
|
||||
|
|
|
@ -193,9 +193,13 @@ class Controller extends Section {
|
|||
});
|
||||
}
|
||||
|
||||
sureClaim() {
|
||||
|
||||
}
|
||||
createClaim() {
|
||||
const timeDifference = new Date().getTime() - new Date(this.ticket.shipped).getTime();
|
||||
const pastDays = Math.floor(timeDifference / 86400000);
|
||||
this.$.claimSure.show();
|
||||
|
||||
if (pastDays >= this.ticketConfig[0].daysForWarningClaim)
|
||||
this.$.claimConfirm.show();
|
||||
|
|
|
@ -42,3 +42,4 @@ Claim mana: Maná reclamación
|
|||
History: Historial
|
||||
Do you want to continue?: ¿Desea continuar?
|
||||
Claim out of time: Reclamación fuera de plazo
|
||||
Do you want to create a claim?: ¿Quieres crear una reclamación?
|
Loading…
Reference in New Issue