Skip to content
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

Feat: Added feature to add client image through camera or gallery while creating a client. #1164

Merged

Conversation

moksh-mahajan
Copy link
Collaborator

The workflow is like this: After the creation of a new
client, in the response clientId is provided, and this using this clientId a new HTTP request is made to upload client picture either from
camera or through the gallery.

Please Add Screenshots If there are any UI changes.
photo6057526681079490819
photo6057526681079490818
photo6057526681079490817

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@@ -106,7 +128,9 @@
CreateNewClientPresenter createNewClientPresenter;

View rootView;
private boolean createClientWithImage = false;
Copy link
Member

Choose a reason for hiding this comment

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

Provide some better name which clarifies its use. It seems like a flag to save the state. Alternatively, (though less preferred) add a comment here about the variable usage so that future developers may get idea about why it was used.

@moksh-mahajan moksh-mahajan force-pushed the CreateClientImageUploadOption branch from 198e27d to 7849eee Compare June 15, 2019 13:22
@moksh-mahajan
Copy link
Collaborator Author

@tarun0 I have made the requested changes. Please review.

@tarun0
Copy link
Member

tarun0 commented Aug 27, 2019

@moksh-mahajan Please resolve merge conflicts

@moksh-mahajan moksh-mahajan force-pushed the CreateClientImageUploadOption branch from 7849eee to fa70982 Compare September 13, 2019 07:33
@elirehema
Copy link

@moksh-mahajan can you review this task

@tarun0
Copy link
Member

tarun0 commented Mar 6, 2020

@moksh-mahajan Please fix conflicts.

…ating a client. The workflow is like this: After the creation of a new

client, in the response clientId is provided, and this using this clientId a new http request is made to upload client picture either from
camera or through gallery.
@moksh-mahajan moksh-mahajan force-pushed the CreateClientImageUploadOption branch from 1e595d9 to 2f9557a Compare March 8, 2020 08:34
@AbhilashG97 AbhilashG97 merged commit 133478a into openMF:master May 22, 2020
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.

4 participants