onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

Ownerform - Create address and property #541

Closed fredericalpers closed 1 year ago

fredericalpers commented 1 year ago

Discussed in https://github.com/onOffice-Web-Org/oo-wp-plugin/discussions/536

Originally posted by **fredericalpers** May 26, 2023 ### Current state If “Create Address and Property” is disabled in the WordPress backend, the information from the Ownerform will not be sent in the email. Only the data to of the user will be sent. ### Desired state All information from the form should be sent in the email at all times.
yeneastgate commented 1 year ago

@fredericalpers For this issue, it is quite complicated, so I need time to investigate closely, I will let you know tomorrow. Thanks!

yeneastgate commented 1 year ago

@fredericalpers We found solution and will implement it in this cycle. Thanks!

dai-eastgate commented 1 year ago

@fredericalpers I added the estate information from the Owner form to the email when I disabled the "Create address and property" checkbox. I would like to confirm the format of the email sent. Please take a look at the sentence in the red box inside the attached image and let me know if it is right or not. Thanks!

image

onOffice-Web commented 1 year ago

@fredericalpers I added the estate information from the Owner form to the email when I disabled the "Create address and property" checkbox. I would like to confirm the format of the email sent. Please take a look at the sentence in the red box inside the attached image and let me know if it is right or not. Thanks!

image

@dai-eastgate

the content of the mail should be as followed (so its the same as if the checkbox for "create address.." is enabled. First the Data from the form such as where its from and the input to the fields for the property, then the data for the owner and then the message:

Daten zum abgesendeten Formular

Herkunft Webseite: /eigentuemerformular/ Formular-Typ: owner Immobilie: 10 (ImmoNr), 65 (Datensatznr) Vermarktungsart: Kauf Objektart: Haus Wohnfläche: 123,00 PLZ: 52068 Ort: Aachen

Daten zum Benutzer

Name: Alperswer Straße: Charlottenburger Allee 5 Plz: 52068 Ort: Aachen Telefonnummern: 123456 E-Mail: : 1 AGB akzeptiert: Ja

Nachricht des Benutzers

Nachricht: Message from the owner

dai-eastgate commented 1 year ago

@fredericalpers Yes, I will create content in the email format as mentioned above. However, the following information will not be included in the content of the email. Because these information is only generated when the checkbox for "Create Address and Property" is enabled.

"Anfrage zu der Immobilie 162772 Immobilie: 162772 (ImmoNr), 361275 (Datensatznr)"

So, this would be the content I could create:

Daten zum abgesendeten Formular

Herkunft Webseite: /owner-form/ Formular-Typ: owner Vermarktungsart: Miete Objektart: Grundstück Objekttyp: Freizeit Wohnfläche: 23,00 PLZ: 1234 Ort: ha noi

Daten zum Benutzer

Vorname: test Name: test Create Address and Property E-Mail: daitrinhduc@gmail.com

Nachricht des Benutzers

Nachricht: Message from the owner

Please let me know your opinion about this. Thanks!

fredericalpers commented 1 year ago

@dai-eastgate yes! thank you :)