-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
41951 Checkbox "Show property status" in unit lists #670
base: master
Are you sure you want to change the base?
41951 Checkbox "Show property status" in unit lists #670
Conversation
Pull Request Test Coverage Report for Build 10607608374Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dai-eastgate I have a question. Please take a look.
@@ -234,4 +235,20 @@ public function getInputModelCustomLabelLanguageSwitch(): InputModelDB | |||
}); | |||
return $pInputModel; | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function already exist in FormModelBuilderDBEstateListSettings
Why would you duplicate it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the confusion. The function was indeed duplicated, and I have updated the code to remove it. Could you please review it again? Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem @dai-eastgate :)
Could you first take a look at the unit tests please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andernath The unit tests have been addressed in the PR at oo-wp-plugin#792. Could you please review it first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dai-eastgate Ops sorry I my fault, missed your comment from yesterday. Of course I will start reviewing fist. :)
Steps to install the approved version:
|
Steps to install the approved version:
|
@dai-eastgate While testing I noticed that the implementation of this feature only applies to the unit lists inside of an master property. As seen in the screenshot below. However, the status is also inherited from the "normal" detail view to the unit detail view. The checkbox must therefore also affect the status banner inherited from the detail view as seen in the second screenshot below. How to setup the unit lists: https://wp-plugin.onoffice.com/en/advanced-features/unit-lists/ Marketing status unit listMarketing status detail view |
@fredericalpers I will check it |
@fredericalpers @andernath I fixed it and during testing, I discovered an issue where the unit detail was not loading the necessary script. I've fixed it in this PR, could you take a look? |
8e6364f
to
02bf0fc
Compare
02bf0fc
to
9982761
Compare
Steps to install the approved version:
|
@fredericalpers ready for testing |
related to #642
changed log:
Update the checkbox to show estate status in unit lists