Clean code
This commit is contained in:
parent
c87fdc96ce
commit
9ae174d8b4
@ -150,6 +150,12 @@ class DolibarrApi
|
|||||||
unset($object->context);
|
unset($object->context);
|
||||||
unset($object->next_prev_filter);
|
unset($object->next_prev_filter);
|
||||||
|
|
||||||
|
unset($object->region);
|
||||||
|
unset($object->region_code);
|
||||||
|
|
||||||
|
unset($object->libelle_statut);
|
||||||
|
unset($object->libelle_paiement);
|
||||||
|
|
||||||
if ($object->table_element != 'ticket') {
|
if ($object->table_element != 'ticket') {
|
||||||
unset($object->comments);
|
unset($object->comments);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -501,6 +501,9 @@ class ExpenseReports extends DolibarrApi
|
|||||||
// phpcs:enable
|
// phpcs:enable
|
||||||
$object = parent::_cleanObjectDatas($object);
|
$object = parent::_cleanObjectDatas($object);
|
||||||
|
|
||||||
|
unset($object->cond_reglement);
|
||||||
|
unset($object->shipping_method_id);
|
||||||
|
|
||||||
unset($object->barcode_type);
|
unset($object->barcode_type);
|
||||||
unset($object->barcode_type_code);
|
unset($object->barcode_type_code);
|
||||||
unset($object->barcode_type_label);
|
unset($object->barcode_type_label);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user