Skip to content
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

Merged
merged 13 commits into from
Nov 14, 2024

Conversation

altairis-noe
Copy link
Contributor

@altairis-noe altairis-noe commented Nov 5, 2024

NEW use Expedition::$date_shipping property in card and list

Currently, Expedition object does have a $date_shipping property, stored as date_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.

image

image

image

Comment on lines 272 to 273
$object->date_delivery = $date_delivery; // Date delivery planned
$object->date_shipping = $date_shipping; // Date delivery planned
Copy link
Contributor

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

Copy link
Contributor Author

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!

Copy link
Contributor

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

@@ -1030,6 +1033,15 @@
print '</tr>';
}

// Date sending
Copy link
Member

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)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @eldy,

No problems for me, it’s done!
image

@eldy eldy added the PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) label Nov 6, 2024
@altairis-noe
Copy link
Contributor Author

Hello @eldy,

is there still something blocking the merging of that one?

@eldy eldy merged commit ed6bf37 into Dolibarr:develop Nov 14, 2024
7 of 8 checks passed
@altairis-noe altairis-noe deleted the expedition_dateshipping branch November 14, 2024 13:05
frederic34 added a commit to frederic34/dolibarr that referenced this pull request Nov 14, 2024
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
eldy pushed a commit that referenced this pull request Nov 15, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants