LamTechConsult / slbizr

0 stars 1 forks source link

Add New Business #49

Open click2tman opened 7 years ago

developmenticon commented 7 years ago

Hi, As I have been working on add and edit business page, I noticed that there many business type available like("ltc_business","ltc_school" etc). Please suggest which content type should i use at the time of add business page, currently i am using "ltc_business"; Thanks

click2tman commented 7 years ago

Focus on ltc_business and ignore the others

click2tman commented 7 years ago

Just focus on ltc_business

Sent from my iPhone

On Oct 24, 2016, at 2:39 PM, Himanshu Shakhar notifications@github.com wrote:

This message is eligible for Automatic Cleanup! (notifications@github.com) Add cleanup rule | More info Hi, As I have been working on add and edit business page, I noticed that there many business type available like("ltc_business","ltc_school" etc). Please suggest which content type should i use at the time of add business page, currently i am using "ltc_business"; Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

developmenticon commented 7 years ago

Thanks for clarification.

click2tman commented 7 years ago

Please work on this item. It is priority requirement for V1 release.

click2tman commented 7 years ago

The issue I have is you cannot see the values added by the user after you add the value and return to main add view. When you save, the new values are saved. You may not see them right away because the node goes through moderation. The feedback is also missing here. When a user finish adding a business and save successfully, we should give them feedback using a message like "Thanks for adding [business name}. You listing have been queued to be reviewed by our editors. You will be notified once it is accepted." We also need to mark required fields with a red border always or an asterisk

developmenticon commented 7 years ago

Thanks, will add this message, and user will remain on business add page. please confirm

click2tman commented 7 years ago

Confirmed. Let user remain on business add page

developmenticon commented 7 years ago

thanks.

developmenticon commented 7 years ago

Hi, I want to populate the chiefdom section on mobile with hierarchy select, though I am using http://dev.openbiz.slbr.sl/api/v1/slbiz/filter/chiefdoms.json, for chiefdom. but i also want to filter it on the basis of province and district tid. So that instead of static value for province and district it call API, and get the value from backend.

Please see attachment and let me know your suggestion on this. screenshot-localhost 8100 2016-11-05 00-01-06

developmenticon commented 7 years ago

Or a separate API, that gives list of all province and state.

click2tman commented 7 years ago

Return all Provinces http://dev.openbiz.slbr.sl/api/v1/slbiz/province.json

Return Districts for specific province http://dev.openbiz.slbr.sl/api/v1/slbiz/%/district.json

Return Chiefdoms for specific district http://dev.openbiz.slbr.sl/api/v1/slbiz/%/chiefdom.json

Return all Eastern Province districts http://dev.openbiz.slbr.sl/api/v1/slbiz/1/district.json Return all Kailahun district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/2/chiefdom.json Return all Kenema district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/17/chiefdom.json Return all Kono district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/34/chiefdom.json

Return all Northern Province districts http://dev.openbiz.slbr.sl/api/v1/slbiz/49/district.json Return all Bombali district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/50/chiefdom.json Return all Kambia district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/64/chiefdom.json Return all Koinadugu district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/72/chiefdom.json Return all Port Loko district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/84/chiefdom.json Return all Tonkolili district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/96/chiefdom.json

Return all Southern Province districts http://dev.openbiz.slbr.sl/api/v1/slbiz/108/district.json Return all Bo district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/109/chiefdom.json Return all Bonthe district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/125/chiefdom.json Return all Moyamba district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/137/chiefdom.json Return all Pujehun district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/152/chiefdom.json

Return all Western Area districts http://dev.openbiz.slbr.sl/api/v1/slbiz/165/district.json Return all Western Area Rural district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/166/chiefdom.json Return all Western Area Urban district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/196/chiefdom.json

developmenticon commented 7 years ago

Thanks, but Return all Kailahun district Chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/2/chiefdom.json doesn't seems to be working.

Please provide the correct one.

developmenticon commented 7 years ago

Filter chiefdom by tid doesn't seems to be working, please provide me the correct one. Thanks.

click2tman commented 7 years ago

Try this format for chiefdoms http://dev.openbiz.slbr.sl/api/v1/slbiz/chiefdom.json?&district=2 where 2 is the district tid

developmenticon commented 7 years ago

Thanks.

developmenticon commented 7 years ago

Hi, I also need to find the reverse of it, like district of chiefdom and province of district. Thanks.

developmenticon commented 7 years ago

It will help to set the default value for chiefdom field in edit business section.

click2tman commented 7 years ago

I have set a default to Western>Western Area Urban>Freetown.

The other item that is not working correctly here is the Geocode field. This should be the same as the Set Location You worked on. Capture current location and use those values or have the user enter new address and reserve geocode. The other third option I want us is to get the precise location captured display on a map below. For the value display, simply display the longitude and latitude because that is what the backend needs.