Merge pull request #2286 from burakcakirel/fix-not-changing-item-columns
Fix not changing item columns
This commit is contained in:
commit
8da3b2bcf1
@ -782,6 +782,10 @@ abstract class DocumentForm extends Base
|
|||||||
return $textItems;
|
return $textItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (setting($this->getSettingKey($type, 'item_name')) !== null) {
|
||||||
|
return setting($this->getSettingKey($type, 'item_name'));
|
||||||
|
}
|
||||||
|
|
||||||
$translation = $this->getTextFromConfig($type, 'items');
|
$translation = $this->getTextFromConfig($type, 'items');
|
||||||
|
|
||||||
if (!empty($translation)) {
|
if (!empty($translation)) {
|
||||||
@ -806,6 +810,10 @@ abstract class DocumentForm extends Base
|
|||||||
return $textQuantity;
|
return $textQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (setting($this->getSettingKey($type, 'quantity_name')) !== null) {
|
||||||
|
return setting($this->getSettingKey($type, 'quantity_name'));
|
||||||
|
}
|
||||||
|
|
||||||
$translation = $this->getTextFromConfig($type, 'quantity');
|
$translation = $this->getTextFromConfig($type, 'quantity');
|
||||||
|
|
||||||
if (!empty($translation)) {
|
if (!empty($translation)) {
|
||||||
@ -830,6 +838,10 @@ abstract class DocumentForm extends Base
|
|||||||
return $textPrice;
|
return $textPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (setting($this->getSettingKey($type, 'price_name')) !== null) {
|
||||||
|
return setting($this->getSettingKey($type, 'price_name'));
|
||||||
|
}
|
||||||
|
|
||||||
$translation = $this->getTextFromConfig($type, 'price');
|
$translation = $this->getTextFromConfig($type, 'price');
|
||||||
|
|
||||||
if (!empty($translation)) {
|
if (!empty($translation)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user