Revision d735aab3
Von Martin Helmling mh@waldpark.octosoft.eu vor etwa 9 Jahren hinzugefügt
SL/DO.pm | ||
---|---|---|
685 | 685 |
dord.closed, dord.reqdate, dord.department_id, dord.cusordnumber, |
686 | 686 |
d.description AS department, dord.language_id, |
687 | 687 |
dord.shipto_id, |
688 |
dord.itime,dord.mtime, |
|
688 | 689 |
dord.globalproject_id, dord.delivered, dord.transaction_description, |
689 | 690 |
dord.taxzone_id, dord.taxincluded, dord.payment_id, (SELECT cu.name FROM currencies cu WHERE cu.id=dord.currency_id) AS currency, |
690 | 691 |
dord.delivery_term_id, dord.itime::DATE AS insertdate |
... | ... | |
719 | 720 |
} |
720 | 721 |
} |
721 | 722 |
$sth->finish(); |
722 |
|
|
723 |
$form->{mtime} = $form->{itime} if !$form->{mtime}; |
|
724 |
$form->{lastmtime} = $form->{mtime}; |
|
723 | 725 |
$form->{donumber_array} =~ s/\s*$//g; |
724 | 726 |
$form->{ordnumber_array} =~ s/ //; |
725 | 727 |
$form->{ordnumber_array} =~ s/\s*$//g; |
Auch abrufbar als: Unified diff
Prüfen beim Speichern, ob Dokument geändert wurde.
Allgemeine Funktion in Forms zum Lesen und Vergleichen der mtime
überall Form variable lastmtime da mtime mehrfach auftaucht
Conflicts:
templates/webpages/ar/form_header.html
templates/webpages/do/form_header.html