#2458 - Removed states from pending tickets
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
69e2597b91
commit
f1d36df558
|
@ -161,8 +161,13 @@ module.exports = Self => {
|
|||
if (value) {
|
||||
return {and: [
|
||||
{'st.alertLevel': 0},
|
||||
{'st.code': {neq: 'OK'}},
|
||||
{'st.code': {neq: 'BOARDING'}}
|
||||
{'st.code': {nin: [
|
||||
'OK',
|
||||
'BOARDING',
|
||||
'PRINTED',
|
||||
'PRINTED_AUTO',
|
||||
'PICKER_DESIGNED'
|
||||
]}}
|
||||
]};
|
||||
} else {
|
||||
return {and: [
|
||||
|
|
|
@ -161,7 +161,8 @@
|
|||
</div>
|
||||
<vn-popup vn-id="summary">
|
||||
<vn-ticket-summary
|
||||
ticket="$ctrl.selectedTicket">
|
||||
ticket="$ctrl.selectedTicket"
|
||||
model="model">
|
||||
</vn-ticket-summary>
|
||||
</vn-popup>
|
||||
<vn-client-descriptor-popover
|
||||
|
|
|
@ -57,8 +57,12 @@ class Controller extends Section {
|
|||
this.vnApp.showSuccess(this.$t('Data saved!'));
|
||||
if (this.card)
|
||||
this.card.reload();
|
||||
else
|
||||
else {
|
||||
this.getSummary();
|
||||
// Refresh index model
|
||||
if (this.model)
|
||||
this.model.refresh();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -78,7 +82,8 @@ ngModule.vnComponent('vnTicketSummary', {
|
|||
template: require('./index.html'),
|
||||
controller: Controller,
|
||||
bindings: {
|
||||
ticket: '<'
|
||||
ticket: '<',
|
||||
model: '<?'
|
||||
},
|
||||
require: {
|
||||
card: '?^vnTicketCard'
|
||||
|
|
Loading…
Reference in New Issue