2
0
forked from Wavyzz/dolibarr

Fix: Duplicate test on "shipping", replaced duplicate with delivery_note

# Fix: Duplicate test on "shipping", replaced duplicate with delivery_note

The second test on "shipping" was without effect but as the module was set to
"expedition_bon", I modified the test to delivery_note and put it closer to
the test on "shipping"
This commit is contained in:
MDW
2024-03-12 19:05:15 +01:00
parent 0e209ea702
commit 29b8d0db84

View File

@@ -12169,16 +12169,16 @@ function getElementProperties($elementType)
$classname = 'Expedition';
$module = 'expedition';
$table_element = 'expedition';
} elseif ($elementType == 'delivery_note') {
$classpath = 'expedition/class';
$subelement = 'expedition';
$module = 'expedition_bon';
} elseif ($elementType == 'supplier_proposal') {
$classpath = 'supplier_proposal/class';
$module = 'supplier_proposal';
$element = 'supplierproposal';
$classfile = 'supplier_proposal';
$subelement = 'supplierproposal';
} elseif ($elementType == 'shipping') {
$classpath = 'expedition/class';
$subelement = 'expedition';
$module = 'expedition_bon';
} elseif ($elementType == 'delivery') {
$classpath = 'delivery/class';
$subelement = 'delivery';