Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 823a7624 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: contact person missing in billing address

related: pcsg/buero#416
Übergeordneter 09df5ad8
No related branches found
Tags 1.6.5
2 Merge Requests!140Update 'next-4.x' with latest changes from 'main',!119fix: rename Prozess to Vorgang
Pipeline #9070 mit Warnungen bestanden mit Phase
in 10 Sekunden
......@@ -42,9 +42,9 @@
<tr class="quiqqer-erp-userdata-row-contactPerson">
<td>
<label class="field-container">
<span class="field-container-item" title="{{labelContactPerson}}">
{{labelContactPerson}}
</span>
<span class="field-container-item" title="{{labelContactPerson}}">
{{labelContactPerson}}
</span>
<input type="text"
class="field-container-field"
name="contact_person"
......
......@@ -452,7 +452,11 @@ define('package/quiqqer/erp/bin/backend/controls/userData/UserData', [
return;
}
this.setAttribute('isCommercial', parseInt(User.getAttribute('quiqqer.erp.isNettoUser')) === 1);
this.setAttribute('isCommercial', 0);
if (parseInt(User.getAttribute('quiqqer.erp.isNettoUser')) === 1 || this.getAttribute('company')) {
this.setAttribute('isCommercial', 1);
}
return this.getAddressList(User).then((addresses) => {
return [User, addresses];
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren