Skip to content

Task #141211 chore: Order View for Vendor in frontend#30

Open
amit4106udale wants to merge 1 commit intotechjoomla:release-1.4.4from
amit4106udale:rel-1.3.3
Open

Task #141211 chore: Order View for Vendor in frontend#30
amit4106udale wants to merge 1 commit intotechjoomla:release-1.4.4from
amit4106udale:rel-1.3.3

Conversation

@amit4106udale
Copy link
Copy Markdown
Contributor

No description provided.

@scrutinizer-notifier
Copy link
Copy Markdown

The inspection completed: 7 new issues, 2 updated code elements

*
* @since __DEPLOY_VERSION__
*/
public function validateVendor($userId, $client)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amit4106udale the function name needs to be updated as per the functionality of the method.

The function seems to be checking if a user is already a vendor and if he is not then adding him as a vendor.

What exactly we are validating in this function?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ankush-maherwal - We are checking the user is a vendor or not. If the user is not a vendor then make him. if he is a vendor the returning the id as it is. Discussed this with @twsvaishali @thite-amol

Copy link
Copy Markdown
Contributor

@ankush-maherwal ankush-maherwal Apr 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thite-amol @twsvaishali @amit4106udale Seems the function is wrongly named....validateVendor sounds as if we are performing some kind of validation for the vendor (Creating the vendor should not be the part of this function). To check if a user is a vendor for some client we already have a function named "checkVendor"

@manojLondhe manojLondhe changed the base branch from release-1.3.3 to release-1.3.5 October 22, 2019 10:18
@manojLondhe manojLondhe changed the base branch from release-1.3.5 to release-1.3.6 January 20, 2020 12:15
@manojLondhe manojLondhe changed the base branch from release-1.3.6 to release-1.4.2 August 25, 2020 05:02
@manojLondhe manojLondhe changed the base branch from release-1.4.2 to release-1.4.3 November 3, 2020 10:10
@manojLondhe manojLondhe changed the base branch from release-1.4.3 to release-1.4.4 July 26, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants