3430-ticket_step-two ticket without negatives #823
|
@ -160,7 +160,7 @@ module.exports = Self => {
|
||||||
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.filter');
|
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.filter');
|
||||||
stmt = new ParameterizedSQL(
|
stmt = new ParameterizedSQL(
|
||||||
`CREATE TEMPORARY TABLE tmp.filter
|
`CREATE TEMPORARY TABLE tmp.filter
|
||||||
(INDEX (id))
|
(PRIMARY KEY (id))
|
||||||
ENGINE = MEMORY
|
ENGINE = MEMORY
|
||||||
SELECT
|
SELECT
|
||||||
t.id,
|
t.id,
|
||||||
|
@ -221,7 +221,7 @@ module.exports = Self => {
|
||||||
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.clientGetDebt');
|
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.clientGetDebt');
|
||||||
stmts.push(`
|
stmts.push(`
|
||||||
CREATE TEMPORARY TABLE tmp.clientGetDebt
|
CREATE TEMPORARY TABLE tmp.clientGetDebt
|
||||||
(INDEX (clientFk))
|
(PRIMARY KEY (clientFk))
|
||||||
ENGINE = MEMORY
|
ENGINE = MEMORY
|
||||||
SELECT DISTINCT clientFk FROM tmp.filter`);
|
SELECT DISTINCT clientFk FROM tmp.filter`);
|
||||||
|
|
||||||
|
@ -232,7 +232,7 @@ module.exports = Self => {
|
||||||
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.tickets');
|
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.tickets');
|
||||||
stmt = new ParameterizedSQL(`
|
stmt = new ParameterizedSQL(`
|
||||||
CREATE TEMPORARY TABLE tmp.tickets
|
CREATE TEMPORARY TABLE tmp.tickets
|
||||||
(INDEX (id))
|
(PRIMARY KEY (id))
|
||||||
ENGINE = MEMORY
|
ENGINE = MEMORY
|
||||||
SELECT f.*, r.risk AS debt
|
SELECT f.*, r.risk AS debt
|
||||||
FROM tmp.filter f
|
FROM tmp.filter f
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
vn-id="model"
|
vn-id="model"
|
||||||
url="SalesMonitors/salesFilter"
|
url="SalesMonitors/salesFilter"
|
||||||
limit="20"
|
limit="20"
|
||||||
order="shippedDate DESC, preparationHour ASC, zoneLanding ASC, id">
|
order="shippedDate DESC, theoreticalhour, id">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
<vn-portal slot="topbar">
|
<vn-portal slot="topbar">
|
||||||
<vn-searchbar
|
<vn-searchbar
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
{{::ticket.state}}
|
{{::ticket.state}}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td name="zone">
|
||||||
<span
|
<span
|
||||||
title="{{::ticket.zoneName}}"
|
title="{{::ticket.zoneName}}"
|
||||||
vn-click-stop="zoneDescriptor.show($event, ticket.zoneFk)"
|
vn-click-stop="zoneDescriptor.show($event, ticket.zoneFk)"
|
||||||
|
|
|
@ -36,4 +36,12 @@ vn-monitor-sales-tickets {
|
||||||
.highRisk i {
|
.highRisk i {
|
||||||
color: $color-alert
|
color: $color-alert
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td[name="nickname"] {
|
||||||
|
max-width: 200px
|
||||||
|
}
|
||||||
|
|
||||||
|
td[name="zone"] {
|
||||||
|
max-width: 150px
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue