Revision 3e79972f
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
bin/mozilla/wh.pl | ||
---|---|---|
753 | 753 |
|
754 | 754 |
if ($entry->{assembled}) { |
755 | 755 |
my $insertdate = DateTime->from_kivitendo($entry->{shippingdate}); |
756 |
if (ref $undo_date eq 'DateTime' && ref $insertdate eq 'DateTime') { |
|
757 |
my $undo_assembly = DateTime->compare($insertdate, $undo_date) == 1 ? 1 : 0; |
|
758 |
$row->{ids}->{raw_data} = checkbox_tag("ids[]", value => $entry->{trans_id}, "data-checkall" => 1) if $undo_assembly; |
|
756 |
if (ref $undo_date eq 'DateTime' && ref $insertdate eq 'DateTime' && $insertdate > $undo_date) { |
|
757 |
$row->{ids}->{raw_data} = checkbox_tag("ids[]", value => $entry->{trans_id}, "data-checkall" => 1); |
|
759 | 758 |
} |
760 | 759 |
} |
761 | 760 |
$row->{trans_type}->{raw_data} = $entry->{trans_type}; |
Auch abrufbar als: Unified diff
QS Bernd/Sven: Weniger Code und klarer
zu: c22e188b4d7aabd
und: 8453789b