qual: phpstan
htdocs/comm/propal/card.php 440 Property Propal::$availability_id (int) does not accept array|string. htdocs/comm/propal/card.php 441 Property Propal::$demand_reason_id (int) does not accept array|string. htdocs/comm/propal/card.php 442 Property CommonObject::$fk_delivery_address (int) does not accept array|string. htdocs/comm/propal/card.php 443 Property CommonObject::$shipping_method_id (int) does not accept array|string. htdocs/comm/propal/card.php 444 Property Propal::$warehouse_id (int) does not accept array|string. htdocs/comm/propal/card.php 446 Property CommonObject::$cond_reglement_id (int) does not accept array|string. htdocs/comm/propal/card.php 448 Property CommonObject::$mode_reglement_id (int) does not accept array|string. htdocs/comm/propal/card.php 449 Property CommonObject::$fk_account (int) does not accept array|string. htdocs/comm/propal/card.php 450 Property Propal::$socid (int) does not accept array|string. htdocs/comm/propal/card.php 451 Property CommonObject::$contact_id (int) does not accept array|string. htdocs/comm/propal/card.php 452 Property CommonObject::$fk_project (int) does not accept array|string. htdocs/comm/propal/card.php 460 Property Propal::$fk_incoterms (int) does not accept array|string. htdocs/comm/propal/card.php 471 Property Propal::$availability_id (int) does not accept array|string. htdocs/comm/propal/card.php 472 Property Propal::$demand_reason_id (int) does not accept array|string. htdocs/comm/propal/card.php 473 Property CommonObject::$fk_delivery_address (int) does not accept array|string. htdocs/comm/propal/card.php 474 Property CommonObject::$shipping_method_id (int) does not accept array|string. htdocs/comm/propal/card.php 475 Property Propal::$warehouse_id (int) does not accept array|string. htdocs/comm/propal/card.php 477 Property CommonObject::$cond_reglement_id (int) does not accept array|string. htdocs/comm/propal/card.php 479 Property CommonObject::$mode_reglement_id (int) does not accept array|string. htdocs/comm/propal/card.php 480 Property CommonObject::$fk_account (int) does not accept array|string. htdocs/comm/propal/card.php 481 Property CommonObject::$contact_id (int) does not accept array|string. htdocs/comm/propal/card.php 482 Property CommonObject::$fk_project (int) does not accept array|string. htdocs/comm/propal/card.php 487 Property Propal::$fk_incoterms (int) does not accept array|string. htdocs/comm/propal/card.php 491 Property CommonObject::$origin_id (int) does not accept array|string.
This commit is contained in:
parent
f3d97a8a13
commit
287b5d2220
1 changed files with 24 additions and 24 deletions
|
|
@ -437,19 +437,19 @@ if (empty($reshook)) {
|
|||
$object->datep = $datep;
|
||||
$object->date = $datep;
|
||||
$object->delivery_date = $date_delivery;
|
||||
$object->availability_id = GETPOST('availability_id');
|
||||
$object->demand_reason_id = GETPOST('demand_reason_id');
|
||||
$object->fk_delivery_address = GETPOST('fk_address', 'int');
|
||||
$object->shipping_method_id = GETPOST('shipping_method_id', 'int');
|
||||
$object->warehouse_id = GETPOST('warehouse_id', 'int');
|
||||
$object->availability_id = GETPOSTINT('availability_id');
|
||||
$object->demand_reason_id = GETPOSTINT('demand_reason_id');
|
||||
$object->fk_delivery_address = GETPOSTINT('fk_address');
|
||||
$object->shipping_method_id = GETPOSTINT('shipping_method_id');
|
||||
$object->warehouse_id = GETPOSTINT('warehouse_id');
|
||||
$object->duree_validite = $duration;
|
||||
$object->cond_reglement_id = GETPOST('cond_reglement_id');
|
||||
$object->cond_reglement_id = GETPOSTINT('cond_reglement_id');
|
||||
$object->deposit_percent = GETPOST('cond_reglement_id_deposit_percent', 'alpha');
|
||||
$object->mode_reglement_id = GETPOST('mode_reglement_id', 'int');
|
||||
$object->fk_account = GETPOST('fk_account', 'int');
|
||||
$object->socid = GETPOST('socid', 'int');
|
||||
$object->contact_id = GETPOST('contactid', 'int');
|
||||
$object->fk_project = GETPOST('projectid', 'int');
|
||||
$object->mode_reglement_id = GETPOSTINT('mode_reglement_id');
|
||||
$object->fk_account = GETPOSTINT('fk_account');
|
||||
$object->socid = GETPOSTINT('socid');
|
||||
$object->contact_id = GETPOSTINT('contactid');
|
||||
$object->fk_project = GETPOSTINT('projectid');
|
||||
$object->model_pdf = GETPOST('model', 'alphanohtml');
|
||||
$object->author = $user->id; // deprecated
|
||||
$object->user_author_id = $user->id;
|
||||
|
|
@ -457,7 +457,7 @@ if (empty($reshook)) {
|
|||
$object->note_public = GETPOST('note_public', 'restricthtml');
|
||||
$object->statut = Propal::STATUS_DRAFT;
|
||||
$object->status = Propal::STATUS_DRAFT;
|
||||
$object->fk_incoterms = GETPOST('incoterm_id', 'int');
|
||||
$object->fk_incoterms = GETPOSTINT('incoterm_id');
|
||||
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
|
||||
} else {
|
||||
setEventMessages($langs->trans("ErrorFailedToCopyProposal", GETPOST('copie_propal')), null, 'errors');
|
||||
|
|
@ -468,27 +468,27 @@ if (empty($reshook)) {
|
|||
$object->datep = $datep;
|
||||
$object->date = $datep;
|
||||
$object->delivery_date = $date_delivery;
|
||||
$object->availability_id = GETPOST('availability_id', 'int');
|
||||
$object->demand_reason_id = GETPOST('demand_reason_id', 'int');
|
||||
$object->fk_delivery_address = GETPOST('fk_address', 'int');
|
||||
$object->shipping_method_id = GETPOST('shipping_method_id', 'int');
|
||||
$object->warehouse_id = GETPOST('warehouse_id', 'int');
|
||||
$object->availability_id = GETPOSTINT('availability_id');
|
||||
$object->demand_reason_id = GETPOSTINT('demand_reason_id');
|
||||
$object->fk_delivery_address = GETPOSTINT('fk_address');
|
||||
$object->shipping_method_id = GETPOSTINT('shipping_method_id');
|
||||
$object->warehouse_id = GETPOSTINT('warehouse_id');
|
||||
$object->duree_validite = price2num(GETPOST('duree_validite', 'alpha'));
|
||||
$object->cond_reglement_id = GETPOST('cond_reglement_id', 'int');
|
||||
$object->cond_reglement_id = GETPOSTINT('cond_reglement_id');
|
||||
$object->deposit_percent = GETPOST('cond_reglement_id_deposit_percent', 'alpha');
|
||||
$object->mode_reglement_id = GETPOST('mode_reglement_id', 'int');
|
||||
$object->fk_account = GETPOST('fk_account', 'int');
|
||||
$object->contact_id = GETPOST('contactid', 'int');
|
||||
$object->fk_project = GETPOST('projectid', 'int');
|
||||
$object->mode_reglement_id = GETPOSTINT('mode_reglement_id');
|
||||
$object->fk_account = GETPOSTINT('fk_account');
|
||||
$object->contact_id = GETPOSTINT('contactid');
|
||||
$object->fk_project = GETPOSTINT('projectid');
|
||||
$object->model_pdf = GETPOST('model');
|
||||
$object->author = $user->id; // deprecated
|
||||
$object->note_private = GETPOST('note_private', 'restricthtml');
|
||||
$object->note_public = GETPOST('note_public', 'restricthtml');
|
||||
$object->fk_incoterms = GETPOST('incoterm_id', 'int');
|
||||
$object->fk_incoterms = GETPOSTINT('incoterm_id');
|
||||
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
|
||||
|
||||
$object->origin = GETPOST('origin');
|
||||
$object->origin_id = GETPOST('originid');
|
||||
$object->origin_id = GETPOSTINT('originid');
|
||||
|
||||
// Multicurrency
|
||||
if (isModEnabled("multicurrency")) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue