App-Office-Contacts
view release on metacpan or search on metacpan
lib/App/Office/Contacts.pm view on Meta::CPAN
The form is shipped in docs/add.organization.form.html which I copied from the web page displayed
when the program starts.
=item o check.template.pl
This just prints the output of a HTML template, to help debugging.
=item o copy.config.pl
This copy share/.htapp.office.contactcs.conf to a shared directory, as per the dist_dir() method in
L<File::ShareDir>.
=item o create.tables.pl
This creates the database tables. See L</Creating and populating the database>.
=item o drop.tables.pl
This drops the database tables. See L</Creating and populating the database>.
=item o export.as.csv.pl
This exports just the name and upper-case name from the people table. This is not really useful,
but does provide a template if you wish to expand the code.
It outputs to the file specified by the output_file option.
=item o export.as.html.pl
This exports just the name and upper-case name from the people table. This is not really useful,
but does provide a template if you wish to expand the code.
It has a C<standalone_page> option for using either a web page or just a table as the template.
It outputs a string.
=item o find.config.pl
This tells you where share/.htapp.office.contactcs.conf is installed, after running copy.config.pl.
=item o populate.db.sh
A bash script which runs a set of programs.
Warning: This includes drop.tables.pl.
=item o populate.fake.data.pl
This populates some database tables. See L</Creating and populating the database>.
=item o populate.tables.pl
This populates vital database tables. See L</Creating and populating the database>.
=item o utf8.1.pl
This helps me fight the dread utf8.
=item o utf8.2.pl
This prints singly- and doubly-encoded and decoded string, as a debugging aid.
=back
=head1 TODO
=over 4
=item o report.tx has a hidden field 'report_id'
This will be replaced with a menu when donations are re-implemented in V 2.00 of *::Donations.
=item o Adjust focus after Enter is hit inputting occupations
Currently, the focus goes to the Reset button and not the Add button in these cases (Occupation and Staff).
=item o If Search or Report get an error, the status line turns red (good) but still says OK (bad).
The error message is lost in these cases, and I cannot explain that.
=item o Should basic.table.tx be used instead of incorporating HTML in the source code?
See View::*::format_*().
The 2 enclosing divs in basic.table.tx could be optional, perhaps via a separate template.
=item o Some View::*::report_*() methods do too much
Code could be shifted into Database::*::save_*().
=item o Add date-of-birth
=item o Re-write L<App::Office::Contacts::Donations> for V 2.00
=item o Re-write L<App::Office::Contacts::Import::vCards> for V 2.00
Done.
=item o Write L<App::Office::Contacts::Sites> V 2.00
This provides N sites per person or organization.
The country/state/locality/postcode (zipcode) data will be shipped in SQLite format,
as part of this module.
Data for Australia and America with be included in the distro.
Note: The country/etc data is imported into whatever database you choose to use for
your contacts database, even if that is another SQLite database.
=back
=head1 Support
Email the author, or log a bug on RT:
L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-Office-Contacts>.
=head1 Author
C<App::Office::Contacts> was written by Ron Savage I<E<lt>ron@savage.net.auE<gt>> in 2009.
( run in 0.685 second using v1.01-cache-2.11-cpan-7fcb06a456a )