AamAadmiParty / cleansweep

Volunteer & Campaign Management System
Other
40 stars 21 forks source link

Door2door form #153

Closed raghavio closed 8 years ago

raghavio commented 8 years ago

@charanjeetaap had an urgent requirement for a door2door form.

Created a

Screenshots screen shot 2016-01-15 at 05 20 39

screen shot 2016-01-15 at 05 19 25

anandbot commented 8 years ago

this should not be part of core cleansweep app. There should be a separate plugin and repo for that.

Do we need a polling booth or a village there? not everyone knows their polling booth. Having village as a text filed might be better.

On Fri, Jan 15, 2016 at 5:29 AM, Raghav Sharma notifications@github.com wrote:

@charanjeetaap https://github.com/charanjeetaap had an urgent requirement for a door2door form.

Created a

  • Table
  • Form (Head of the family, Phone number, Number of voters in family and Pooling booth)
  • Plugin

Screenshots [image: screen shot 2016-01-15 at 05 20 39] https://cloud.githubusercontent.com/assets/4872139/12341517/43bcf704-bb48-11e5-8a71-f6ecc2ca3162.png

[image: screen shot 2016-01-15 at 05 19 25]

https://cloud.githubusercontent.com/assets/4872139/12341518/43c2c4f4-bb48-11e5-9cfb-ede0418c2860.png

You can view, comment on, or merge this pull request online at:

https://github.com/AamAadmiParty/cleansweep/pull/153 Commit Summary

  • Added a plugin for door2door. We have a urgent requirement to create a form.
  • Added the index template. Defined a view permission. And a subnav entry.
  • Added a table to store door 2 door entries.
  • Added a form for door2door. Contains name, phone, booth and number of voters in family.
  • Added a create entry form template and a view function which handles it.
  • Added a method to get door2door entries for a place.
  • Showing door2door data in a table.
  • Added a find method in Door2DoorEntry.
  • Added a delete button and a function in view to handle deletion of an entry.
  • Added a method to get count of door 2 door entries in that place
  • Showing door2door count in subnav and summary

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/AamAadmiParty/cleansweep/pull/153.

anandology commented 8 years ago

Could you please add that to cleansweep-extras repo?

anandology commented 8 years ago

@RaghavPro I'll take care of moving it to separate repo. Please replace the booth filed with a text field "Village Name / Town Name".

raghavio commented 8 years ago

Sorry, pushed by mistake. Added town field. Still need to remove booth field.