Kim Keown [Sun, 16 Oct 2016 21:42:38 +0000 (15:42 -0600)]
Expense Item description - Follow-up to pull request #22 (#23)
* mysql.sql suggested revision Line 330
Follow-up for pull request #22: $cl_item_name for expenses.php and expense_edit.php was changed to textarea to allow a larger expense description input area. However, database input size had been overlooked and was fortunately noticed upon review.
Updated revision of mysql.sql to replace varchar(255) with a text property to allow a detailed description of the expense.
Line 330
`name` text NOT NULL, # expense item name (what is an expense for)
* dbinstall.php revision Line 612
Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer description of the expense.
However, database character allowance had been overlooked and was fortunately noticed upon review.
- Update mysql.sql to replace varchar(255) with the 'text' property to increase allowable entry length.
Limit character input via expenses.php and expense_edit.php $cl_item_name textarea 'maxlength'.
- Update dbinstall.php with an identical revision.
Line 612
Original: `name` varchar(255) NOT NULL,
`name` text NOT NULL,
* mysql.sql revision Line 330
Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer description of the expense. However, database character allowance had been overlooked and was fortunately noticed upon review.
- Update mysql.sql to replace tt_expense_items 'name' property varchar(255) with the text property to increase allowable entry length.
Limit character input via expenses.php and expense_edit.php $cl_item_name textarea 'maxlength'. Update dbinstall.php with an identical revision.
Line 330
(Original: `name` varchar(255) NOT NULL,)
`name` text NOT NULL,
* expense_edit.php revision Line 122
Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer expense description. However, database character allowance had been overlooked and was fortunately noticed upon review. Accordingly, the textarea maxlength revision was removed.
- Update mysql.sql to replace tt_expense_items 'name' property varchar(255) with the text property to increase allowable entry length.
- Update dbinstall.php with an identical revision.
- Update expenses.php and expense_edit.php $cl_item_name textarea to include a maxlength property of 800 characters.
The expense record is useful for recording any added debit or fixed-rate charge, and a generous character limit will allow a detailed description that can be easily understood in billing logs and reports.
Line 122
Original:
$form->addInput(array('type'=>'textarea', 'name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name));
Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer expense description. However, database character allowance had been overlooked and was fortunately noticed upon review. Accordingly, the textarea maxlength revision was removed.
- Update mysql.sql to replace tt_expense_items 'name' property varchar(255) with the text property to increase allowable entry length.
- Update dbinstall.php with an identical revision.
- Update expenses.php and expense_edit.php $cl_item_name textarea to include a maxlength property of 800 characters.
The expense record is useful for recording any added debit or fixed-rate charge, and a generous character limit will allow for a detailed description that can be easily understood within billing logs and reports.
Line 130
Original:
$form->addInput(array('type'=>'textarea', 'name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name));
Taylor Hurt [Fri, 26 Aug 2016 16:28:42 +0000 (12:28 -0400)]
expands mobile page access (#9)
* expands mobile page access
add mobile .tpl files;
modify mobile/header.tpl to accomodate;
add mobile php files;
fix template paths to mobile/ and path to initialize.php;
add mobile-table CSS class;
change main mobile/ pages to use mobile-table class;
fix path to subm_bg.gif;
remove Top Menu (the one with black backgroud);
remove Charts, Reports, Invoices, Export from submenu;
remove fixed width for many input elements;
remove nowrap attribute in header.tpl submenu;
add inline style for background-repeat in header.tpl submenu;
prevent textarea's from being resizable horizontally, allow them to be resizable vertically;
remove fixed width from textarea cols attribute;
add mobile-textarea CSS class;
fix bug in project_edit.php -- onload event referring to wrong property name;
change expenses date input to be like that of time date input;
* remove fixed width attribute in header table
* add mobile-table-details CSS for main pages
* remove Delete column from pages
* add redundant word-wrap rule for browser compatibility
* for expense_edit: fix template paths to mobile/ and path to initialize.php