/v/reg/prgWhile the source has not been changed substantially for several months/years there is no guarantee that it will stay constant as various needs may arise until it is redesigned, rewritten and can gladly retire.
As an overview, the registration program keeps track of people who have registered for programs at MMC. Housing, finances, address, phone numbers, confirmation letters, etc.
| FIELD NAME | COMMENT |
|---|---|
| ID | A unique Id - assigned automatically. |
| NAME | Name of the program (short - for searching) |
| DESC | A short description or title for the program |
| RETREAT | Is the program a retreat? |
| SDATE | Date program starts |
| EDATE | Date program ends |
| TUITION | Tuition |
| HOUSING | Housing cost Scheme |
| NUM | A unique number for accounting and general ledger purposes |
| WHOADD | Who added this program? |
| DATE_ADD | Date Added |
| WHO_LAST | Who last edited this program? |
| DATE_LAST | Date last edited |
| RENTAL | Is it a rental? |
| HOUSES | Which houses have been used for this program? |
| CLUSTERS | Which clusters have been used for this program? |
| WEB | Web address for further information |
| NOTE1 | Note 1 |
| NOTE2 | Note 2 Note lines will appear on all confirmation letters sent for this program. |
| PRES1 | Presenter id1 |
| PRES2 | Presenter id2 |
| FULLDESC | Full description |
| FEES | Information about program fees - for the web page. |
| EXTRAWEB | Extra web information |
| SUMMARY | Summary A place to enter various special needs for this program. |
| LOG | Log A place to enter the history of this program. Each entry is stamped with the time and the person's login name. |
| WEBREADY | Is this program ready for the web? |
| IMAGE | Name of image file of presenter |
| HILITE | Is this a highlighted program? |
| AFFIL | The single letter code to to put in the affiliation field of the mailing list entry for this person. |
There is a way to see all programs and at that place you can do these things:
| Next | Move to the next program. |
| Back | Move to the previous program. |
| Search | Prompt for a prefix of the program name and move to the first matching one. |
| Add | Add a new program - you need to supply the critical details of the program like name, description, start and end dates, etc. |
| Edit | Change the attributes of a program. |
| Delete | After confirmation, delete the program and everyone registered for it. |
| Mark | see below under "CONNECTION TO THE MAILING LIST". |
| Clear Housing | Clear the houses and clusters attribute of the program. These fields are filled in automatically and so this is the only way to clear them. |
| Order | Toggle whether the programs are shown ordered
by date or alphabetically by program name.
If by date, the Search command above will prompt for a start date to search for. It will move to the first program that starts after that date. |
| Info | Access the deeper details of the program. See below under "PROGRAM INFO". |
| FIELD NAME | COMMENT |
|---|---|
| ID | A unique id - assigned automatically. |
| LAST | Last name |
| FIRST | First name |
| ADDR1 | address line #1 |
| ADDR2 | address line #2 |
| CITY | City |
| STATE | State |
| ZIP | Zip code |
| HPHONE | Home phone |
| WPHONE | Word phone |
| Email address | |
| FAX | Fax number |
| P_ID | The id of the program this person is registered for. |
| A_ID | The id of the housing assignment. |
| SEX | Male, Female, or part of a Couple |
| REFERRAL | Where did they find out about this program? |
| ADSOURCE | If an advertisement, which one? |
| NKIDS | How many kids have they brought with them? |
| AGEKID1 | How old is the first kid? |
| AGEKID2 | How old is the second kid? |
| AGEKID3 | How old is the third kid? |
| 1COMMENT | 3 Comment lines |
| 2COMMENT | |
| 3COMMENT | |
| 1NOTE | 2 Note lines to appear on confirmation letter. |
| 2NOTE | |
| HTYPE | Type of housing (Single, Double, Triple, Dorm, Tent, etc) |
| HNAME | Name of house/room and/or campsite. |
| PERDAY | Housing cost per day |
| WSTUDY | Are they doing work study (for a discount)? |
| MANUAL | Should the costs be figured manually? |
| CARPOOL | Do they wish to car pool? |
| CAR | Do they have a car? |
| ARRIVED | Have they arrived yet? |
| ROOMFOOD | Total cost of housing |
| TUITION | Total tuition cost |
| ADJ | A financial adjustment |
| PENNIES | Should we display pennies in the finances? |
| TOTAL | Total bill |
| DEPOSIT | Amount of deposit on registration |
| DCASH | Was the deposit in cash or check? |
| RECEIPT | Receipt number for deposit |
| CONFSENT | Date confirmation letter was sent |
| POST | Postmark date on letter with registration form |
| PMT1 | Amount of first payment |
| PMT1DATE | Date of first payment |
| P1REC | Receipt number for first payment |
| P2CASH | Was first payment in cash or check? |
| PMT2 | ditto for second payment |
| PMT2DATE | .. |
| P2CASH | .. |
| P1REC | .. |
| BALANCE | Current balance |
| CAN_DATE | Cancellation date |
| REFUND | Refund amount |
| CREDIT | Credit given |
| WHO_ADD | Who initially added this person? |
| DATE_ADD | Date added. |
| WHO_LAST | Who last modified this person? |
| DATE_LAS | Date last modified |
| PSDATE | Start date of program |
| PEDATE | End date of program These dates are usually the same as the program start and end dates but will be different if the person came or left early/late. |
| HOUSEKPG | Has housekeeping given approval? This applies only to PERSONAL RETREAT programs. |
| STATUS | Are they a sponsoring or life member? This effects the cost of tuition and housing. |
| ORDER | ???? no longer used |
| AS_ID | ???? no longer used |
The field name column is the name of the field in the reg.dbf file. Each name has a "R_" prefix.
There is a way to switch into a past season where you only see programs and people in that season. And there is a way to switch back to the current season.
The details of the people who are registered for this program are shown starting with the alphabetically first one.
There are many things you can do at this point:
| Next | Move to the next person. |
| Back | Move to the previous person. |
| Search | Ask for a prefix of a person's last name and move forward to the first person with that last name. |
| Program | Ask for a prefix of a program name. If there is only one program starting that way move to it and show the first person in that program. If there are more than one matching programs, display the list of such programs and let the user choose one to move to. |
| Add | Add a new person to the current program. Prompt for all the relevant attributes. |
| Edit | Change all or some of the details of the current person. |
| Finance | Modify the finances. |
| Lodging | Modify this person's housing choice. |
| Work Study | Toggle the work study status. |
| Arrived | Toggle the arrived status. |
| Manual | Toggle the manual finance status. |
| Pennies | Toggle showing pennies in the finance section. |
| Cancel | Cancel this person's registration. Enter a refund or a credit. |
| Uncancel | Undo the cancellation - revive the registration. |
| Delete | After confirmation, delete this person from the program. |
| Vacate | Clear out this person's housing assignment. |
| Info | Show various details that are not shown on the main screen - like dates of adding, payments confirmation letter sent, etc. |
| Receipt | Prompt for a receipt number. Search for a person within the current season with this deposit receipt number. This may change the current program. |
| PrintConf | This will reprint the current person's confirmation letter. It can be viewed on the screen, printed to the current printer or sent to an email address (if the person has given theirs). See below for the details of the "CONFIRMATION LETTERS". |
| SameAddr | Register another person (with a different name) who has the same address. All the information will be the same except first and last names, sex, and housing information. |
| Move | |
| Copy | Move or copy this person's registration to another program. Used when you mistakenly entered them into a wrong program or if they are registering in more than one program at the same time. |
| Assuming the person has provided an email address, compose a letter and send it off. | |
| UnLodged | Show the people (in this program or all programs) who have not yet been assigned lodging. Display them in postmark order. |
| Not Sent | Show the people (in all programs) who have as yet unsent email confirmation letters. In both of the above you can choose a person and be immediately moved to their record within their program. |
| Order | Change the order of displaying persons to postmark order. Next and Back will move by postmark date. And Search will ask for a date instead of a prefix of the last name. The alphabetical order is restored when you move to another program. |
| Receipts | Bring up the screen where extra monies are recorded. This is for non registration related expenses - like purchasing of a flashlight or earplugs. You can enter the extra receipts via the registration screen or via the top level main menu. |
On adding a person to a program the program searches mlist for the person and if found, fills in the registration form with the address, phones, fax, and email. If they are not found by matching first and last names it will try to do a match against the Sanskrit name in the mailing list.
If a person is not found in mlist anywhere, a warning is printed and the bell sounded. Perhaps the name was misspelled. At this point one can access (in reg by pressing F5) names in the mailing list that may be close to the one being entered. This will help avoid creating duplicates in mlist.
On initial entry if a person's address has changed from what was brought over from mlist, you can change it on the registration screen and it will be reflected in mlist as well.
In mlist, a record is made of the date and the name of the last program that the person was registered in.
If the person is found in the mailing list, their affiliation is checked. If 'B' is present it means that the person is a Life Member. If 'C' is present they are a sponsoring member. These special statuses effect the COMPUTATION OF FINANCES (see below).
A car pooling list is included if the person expressed interest in car pooling.
If the letter is being emailed rather than printed, a map of how to get to MMC is included drawn in ASCII characters. If it is printed, there is a map is on the back of the pre-printed sheet.
The information in the letter depends on whether the event is a center sponsored retreat, a personal retreat, or a regular program. If the person is camping rather than staying inside, information specific to camping is included.
Optional notes at the bottom come from the registration record and/or the program record.
Full details can be found in pr_conf.prg
Support for these kinds of rentals is minimal. Adding a way of keeping track of rental housing is a critical need.
For each program we enter descriptive information for the web site and brochure. Also included is fee information and link to extra information for the web site (information that would not fit in the brochure but for which the web site has no limit to the space), a URL link to a remote presenter's web site. Which leaders are directing this program.
Leader names and biographies and images are kept in a separate database - so they won't need to be reentered each season. We also keep track of leaders address, phone, fax, email, etc. but these do not appear on the web page.
If the program qualifies for Continuing Education credits (for nurses or MFCC or LSWC) this is indicated by a * after the short description/title.
For the web page generation the tricky part is to get the links from one program to the next or to the next month.
There are commands to initiate the generation of HTML for the web or Quark source files for the brochure. The brochure text is simply dumped to a text file in program date order so that it can be easily imported into Quark for further manipulation. The HTML is ready for direct upload to the web.
Two fancy processings for the HTML: 1) Images are sized and WIDTH, HEIGHT values inserted in the IMG SRC tag. 2) References to "Babaji" or "Baba Hari Dass" within the program description are replaced with a link to the biography of Babaji on the MMC web site. These occur in center sponsored group retreats.
See webgen.prg and brochgen.prg
MMC is a residential retreat center. People come to stay with us overnight for several days - sometimes even weeks at a time. The kinds of places they stay fall into several categories. Here is a list in decreasing cost order:
There is space for approximately 250 people in perhaps 60 different spaces on the land (these numbers are wild guesses).
These 60 spaces fall into perhaps 12 natural 'clusters' depending on the geographic location.
There is an overall 'Daily Picture' - a way of seeing who is where on the land and what program they are attending. There is a way to jump from this picture to a person's individual registration record within the program they are attending. And a way of moving to different days to see how the housing assignments vary from day to day. On the daily picture you also see a 'total' number - the current guest population on the land.
The layout of the daily picture can be changed by the user - by modifying rows, columns in 'housing configuration' records.
Another view is a 'cluster overview' - to see all housing spaces within a cluster for a period of perhaps two weeks at a time. Again one can jump from here to a person's individual record.
When a person is registered, their housing type is determined and then a search is done for available vacant spaces. The genders are not mixed (unless the person is part of a couple). The first spaces that are offered are ones that do not need to be resized. A maximum of 10 (configurable) choices are offered. If a person in the same program has previously been put in a given house/room or cluster, spaces in that house or cluster are given priority in the offerings.
Mixing programs in a single space is avoided. When the listing of available spaces is offered, there is also a way to jump to the 'Cluster Overview' screen where you can manually 'Place' a registrant into a room of your choosing (of course the suitability of that space is checked and warnings given).
To illustrate the complexity:
Seminar House room 2 holds 3 people. It is now empty. A person is registered that wants a Double. No other doubles are free so SH2 is offered to the registrant with an indication that a resizing of the room would be needed. SH2 is accepted and the person assigned. The room is now a double. If another person comes wanting a Triple, SH2 is not available. If you manually 'Place' this person in SH2, the room will be resized back to triple. The first person will still be paying the Double rate. This does not seem right!?? :(
When looking at the Daily Picture or the Cluster Overview you can toggle the screen to show 1) gender and room size OR 2) which program is occupying this room. Sometimes there are people from two programs in one room (not encouraged) ... in this case an indication is made that the room is 'mixed'.
This mechanism for housing reservations does not do an adequate job for Rental Housing. This is a hole that needs filling - that has needed filling for a good while. A challenging task.
These attributes are kept for each housing space:
SH1 is an empty triple.SH1 ... 101 ... CS1 FF..... SH2 F. 102B .. SH3 MM| 103 ...
At MMC there are many campgrounds with multiple numbered camp sites. Currently the only computer assistance with the assigning of these sites is to verify that the campground name is found in a list. The site number is not checked. Computerizing/automating this would also be a boon to the registration office.
This is all. This is enough.