botreeconsultingteam / healersconnnect Goto Github PK
View Code? Open in Web Editor NEWBringing pranic healers together
License: MIT License
Bringing pranic healers together
License: MIT License
Registered attendee will get certified after Workshop completes.
Condition 1: Some of confirmed registrations have not updated with certificate number
- Show popup with message "Following attendees doesn't have certificate number. Please update registration with certificate number.". Also list down Name of tall attendees for which Registration is not updated with certificate number and give edit registration link and open the link in new tab.
- Provide a 'Cancel' button to close the popup
Condition 2: All confirmed registrations have certificate specified
Show Popup with message. "You are about to certify #{number_of_confirmed_registration} attendees for #{workshop name}. Are you sure you want to continue certification process?"
- There will be two buttons 'Continue' and Cancel(to close the popup)
When user press 'Continue'
Condition 1: The registration has not updated with certificate number
- Show popup with Name of the attendee for which Registration is not updated with certificate number with message "#{name} doesn't have certificate number specified. Please update registration with certificate number."
- Provide a 'Edit' button to edit registration.
Condition 2: The registration has certificate specified
Show Popup with message. "You are about to certify #{name} for #{workshop name}. Are you sure you want to continue certification process?"
- There will be two buttons 'Continue' and Cancel(to close the popup)
When user clicks on Continue, the outcome would be same as what is specified in the Scenario 1.
Refer Workflow #51
The Form should ask for details of courses he attempted earlier based on the eligibilities required for the workshop. Refer #43
E.g,
Save these details as JSON/Hash in a column of Registration model.
Registration
Following fields will remain same as before in Registration model all other fields will be moved to other table
:fresher,
:payment_type_id,
:cheque_no,
:bank_name,
:cheque_date,
:registration_date
:workshop_id
UserProfile
t.string :first_name
t.string :middle_name
t.string :last_name
t.date :birth_date
t.string :education
t.string :occupation
t.string :gender
t.boolean :married
t.text :address
t.string :mobile
t.string :telephone
t.string :email
t.string :location
t.float :long
t.float :lat
t.references :registration
t.references :user
Workshop
workshop_place: string
workshop_dated: string
workshop_instructor: string
Validate contact number across the application with following rules
All the admin pages should use 960px layout
seed [Super Admin, Center Admin, Teacher, Healer]
seed [ Healing & Protection, Prosperity & Abundance, Spirituality]
Eligibility dropdown is not sorted on following pages.
Activity is an Event(#69) but it's category always be 'Activity' by default and manged in separate pages.
The Registration should have certificate number and a flag column to mark if the registration has been certified or not. The certificate number input would be available to Center Admin only when he edits the Registration.
The format of certificate number would be [0-9]{2}/[0-9]{2} [0-9]+. e.g, 06/13 136, 12/13 12547
Use Bootstrap 3 Ace Admin theme for front end. Create a simple Home Page.
Suggestion: Use rails_layout gem to create standard layout.
Home page should have following content.
Courses, Activities and Events would be accessed by non logged in users and would have different layout (e.g., #89) than what admin users have. So to avoid conflict we have to refactor routes so that all the admin pages have /admin namespace.
Create a Relation table named UserRole with following relationship
class User < ActiveRecord::Base
has_many :user_roles
has_many :roles, through: :user_roles
end
class Role < ActiveRecord::Base
has_many :user_roles
has_many :users, through: :user_roles
end
class UserRole < ActiveRecord::Base
belongs_to :role
belongs_to :user
belongs_to :center
end
class Center < ActiveRecord::Base
has_many :user_roles
end
name(string)
alias(string)
name(string)
alias(string)
description(text)
eligibility(string)
Ref:CourseCategory
donation(int)
review_donation(int)
Steps to reproduce the issue
i. Create a new event schedule
ii. Add images to this schedule
iii. Delete this event schedule
Create a new staging environment other than pranichealing.herokuapp.com. pranichealing.herokuapp.com would remain as a live site.
Users can have many roles(#29). Here is list of roles
Make a blank page: Dashboard
Center admin should be able to manage schedule for an event(#69) . He need to specify following details
Center Admin should be able to manage Events. If Event has already any EventSchedule associate with it then it can't be deleted.
You may find many details common to Workshop(#31)
Write model specs for all models with covering validations and possible edge cases.
Deploy #21 on heroku. The branch should be master.
Keep backup(https://devcenter.heroku.com/articles/pgbackups) of existing data. The site is live and used as if it is production.
The User might not be using email but they would have mobile. So user should be able to login with mobile as well as email.
User with role Center Admin OR Accountant should be able to manage donation for that center. (Refer #29 for roles)
Capture following details for the donation.
On saving donation record, and email receipt should be sent to the email if specified(OR to the email with with user registered). Later we need to send PDF receipt attached in email.
The logged in user should be able to download the PDF receipt of any donation.
Donation record is editable(need to confirm with Pranic Healing). After saving the record a notification mail with old and new details should be sent to donor and all the authenticated user who has access to donation functionality.
Reports
Add donation types from seed :-
donation_type : string
description : text
center_id : integer
received_by_user_id : integer (The user who has received the donation)
user_id : integer (The user who has donated)
workshop_id : integer
Admin can Delete/Activate/De-Activate registrations
Show list of different types of registrations(Confirmed, Cancelled, All) with navigation pills(http://getbootstrap.com/components/#nav-pills).
Currently center admin doesn't have access on Registrations
.
Center admin should be able to access registrations. But only those registrations which are related to his center.
It shows 'Hinduism Revealed' instead of Basic Pranic Healing. Also it doesn't show date and location of the Workshop as per #59 mockup.
The number of courses is fixed. Also we would need fix id(alias) which should remain fixed always.
Healing and Protection
1.Basic Pranic Healing (BPH)
2.Advanced Pranic Healing (APH)
3.Pranic Psychotherapy (PPT)
4.Pranic Crystal Healing (PCH)
5.Psychic Self-Defense (PSD)
6.Super Brain Yoga (SBY)
7.Pranic Facial Rejuvenation (PFR)
8.Pranic Face Lift and Pranic Body Sculpting (PFL_PBS)
Spirituality
9.Achieving Oneness with the Higher Soul (AOHS)
10.Arhatic Yoga (AYP)
11.Spiritual Essence of Man (SEOM)
12.Spiritual Business Management (SBM)
13.Universal and Kabbalistic Meditation on Lord’s Prayer (UKMLP)
14.Inner Teachings of Buddhism Revealed (ITBR)
15.Inner Teachings of Christianity Revealed (ITCR)
16.Inner Teachings of Hinduism Revealed (ITHR)
17.Om Mani Pad Me Hum (OMPH)
Prosperity & Abundance
18.Kriyashakti (KS)
19.Pranic Feng Shui (PFS)
Original Feature #28
Admin should be able to export list registrations as seen on registration listing page in excel.
Quickest solution : http://railscasts.com/episodes/362-exporting-csv-and-excel?view=asciicast
Should print all the details as per the Hinduism form in single paged PDF
When user clicks on 'Courses' link on home page(#50) user should see course details page with Basic Pranic Healing as default course.
Here first dropdown has list of Course Category and second dropdown contains all the courses falling in that category.
The Main content column has Name of course, an image and description.
The Right hand column shows Eligibility(prerequisite) and all upcoming Workshops of that course.
Center Admin / Foundation admin should be able to manage workshops
Workshop is a active knowledge session on a Course(#28) by some Instructors(#26) on specific day(s) and time
Following details are required to capture
Fresher - attempting the course first time
Review - reviewing
For fresher there are different donation amount: before specific date, after specific date and on the day of workshop(spot)
For reviewer the donation amount would be same for any day registration.
When Center Admin creates workshop, the center is implicitly selected. When Foundation admin creates workshop he has to chose the center.
After workshop competed, no one should be able to change any details
Requires some reporting but will create separate issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.