feat: refs#8087 Redadas en travel #3177
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#3177
Loading…
Reference in New Issue
No description provided.
Delete Branch "8087-nuevosCamposTravel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
posa si cal restriccio per a que no puguen posar dies si no es redada..seria incongruent
@ -15,3 +15,3 @@
WHERE i.supplyResponseFk = NEW.ID
AND am.name = 'LOGIFLORA'
AND tr.daysInForward
AND tr.isRaid
aci no seria NOT?
en producció està aixina
@ -38,3 +38,3 @@
util.VN_CURDATE() + INTERVAL daysInForward DAY newLanded
FROM travel
WHERE daysInForward;
WHERE isRaid
NOT ¿?
Vols moure els de que ron isRaid
@ -0,0 +1,4 @@
ALTER TABLE vn.travel ADD isRaid tinyint(1) DEFAULT 0 NOT NULL COMMENT 'Redada';
ALTER TABLE vn.travel MODIFY COLUMN daysInForward int(10) unsigned DEFAULT NULL
COMMENT 'Cuando es una redada, indica el número de días que se añadirán a la fecha de hoy para establecer el landed';
posa null si no es redada per exemple