* FIX Product/service creation in a dialog popup from the add-line block (marked '@FIXME Not working yet')
product/card.php is now popup-aware: it reads dol_openinpopup (added to
the URL by dolButtonToOpenUrlInDialogPopup), propagates it into the
creation form, closes properly on Cancel (buttonsSaveCancel), and after a
successful creation reloads the parent page on backtopage (with the new
id substituted) instead of navigating inside the iframe.
In the add-line block, the popup buttons (MAIN_FEATURES_LEVEL >= 2) no
more pass the callback 'jsRefreshProductCombo' (a function that was never
defined, and passed in the jsonopen slot instead of jsonclose, see the
phan suppress) : the child page now drives the parent reload itself. The
backtopage now includes the object id, so combined with the 'idprod_ID'
preselection fix, the created product can be autoselected in the combo.
Tested end-to-end on a real 23.0.3 database.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Add copyright
* FIX phpcs: indentation of hidden field
* chore: retrigger CI (lock check setup canceled by GitHub infra)
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>