-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NEW: use Expedition::$date_shipping property in card and list #31701
Conversation
htdocs/expedition/card.php
Outdated
$object->date_delivery = $date_delivery; // Date delivery planned | ||
$object->date_shipping = $date_shipping; // Date delivery planned |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @altairis-noe
Please change the comment to // Sending date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review @sonikf. It’s done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public $delivery_date; // Date expected of shipment (date of start of shipment, not the reception that occurs some days after) |
Can you please change this comment too as it is misleading and makes no sense, planned and expected date has nothing to do with actual date of start
htdocs/expedition/card.php
Outdated
@@ -1030,6 +1033,15 @@ | |||
print '</tr>'; | |||
} | |||
|
|||
// Date sending |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fox UX experience, can you move the date of real move after the expected date (we first fill the expected date and then later we fill the real date)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @eldy,
Hello @eldy, is there still something blocking the merging of that one? |
Debug v21 NEW: use Expedition::$date_shipping property in card and list (Dolibarr#31701) * NEW: use Expedition::$date_shipping property in card and list * FIX: translation * FIX: PHPStan rebutal * FIX: not a great idea to copy and not edit comment * FIX: on create, expected delivery date should precede sending date * Update card.php * Update list.php * Update list.php * Update list.php --------- Co-authored-by: Laurent Destailleur <[email protected]> clean baseline clean baseline clean baseline
* NEW : Add category feature on Fichinter category update * Update viewcat.php * Update categories.lang * Update categorie.class.php * Update categories.lang * Update viewcat.php * Update viewcat.php * test action * test action * test action * test action * test action * test action * test action * test action * test action * test action * test action * clean baseline Debug v21 NEW: use Expedition::$date_shipping property in card and list (#31701) * NEW: use Expedition::$date_shipping property in card and list * FIX: translation * FIX: PHPStan rebutal * FIX: not a great idea to copy and not edit comment * FIX: on create, expected delivery date should precede sending date * Update card.php * Update list.php * Update list.php * Update list.php --------- Co-authored-by: Laurent Destailleur <[email protected]> clean baseline clean baseline clean baseline * clean baseline * clean baseline * merge * fix * fix * fix * fix * fix * fix * fix translations * fix translations * fix translations * fix translations * fix * fix filters * fix filters * fix filters * fix filters * fix --------- Co-authored-by: Charlène Benke <[email protected]>
NEW use Expedition::$date_shipping property in card and list
Currently, Expedition object does have a
$date_shipping
property, stored asdate_expedition
in the database.But there is no way in Dolibarr interface to set or display its value.
If your customer wants to know when he will receive the goods, you might want to know when it is gone from your facilities. Here is my proposition.