Skip to content

Commit

Permalink
Merge pull request #28 from NicolasBarbey/main
Browse files Browse the repository at this point in the history
show label creation date instead of order creation date in label list
  • Loading branch information
zawaze authored Feb 23, 2024
2 parents 7fc0b1f + b47f918 commit 6020345
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>2.0.5</version>
<version>2.0.6</version>
<authors>
<author>
<name>Gilles Bourgeat</name>
Expand Down
1 change: 1 addition & 0 deletions Loop/ColissimoLabelInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function parseResults(LoopResult $loopResult): LoopResult
->set('CLEAR_LABEL_URL', URL::getInstance()->absoluteUrl('/admin/module/ColissimoLabel/label/delete/'.$result->getTrackingNumber().'?order='.$result->getOrderId()))
->set('CAN_BE_NOT_SIGNED', ColissimoLabel::canOrderBeNotSigned($result->getOrder()))
->set('ORDER_DATE', $result->getOrder()->getCreatedAt())
->set('CREATED_AT', $result->getCreatedAt())
;

$loopResult->addRow($loopResultRow);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{$WEIGHT} / Kg
</td>
<td>
{format_date date=$ORDER_DATE}
{format_date date=$CREATED_AT}
</td>
<td>
<a href="{intl l="https://www.laposte.fr/particulier/outils/suivre-vos-envois?code=%track" track={$TRACKING_NUMBER}}" target="_blank">{intl l="https://www.laposte.fr/particulier/outils/suivre-vos-envois?code=%track" track={$TRACKING_NUMBER}}</a>
Expand Down

0 comments on commit 6020345

Please sign in to comment.