Many goodies for a better user experience.

1. New NONSHOP constant. 0=no function =>1 is function
2. Moved individual_hours_log back to /
3. Added better view/business logic for storage transactions,
   and new documentation.
4. New users logging in can immediately add a project/comments
5. Added more documentation to populate and a new show_payment field.
This commit is contained in:
Jonathan Rosenbaum
2014-12-30 08:34:49 +00:00
parent f72f022811
commit 2370ccee7b
7 changed files with 142 additions and 48 deletions
+4 -1
View File
@@ -3,6 +3,7 @@ require_once('Connections/YBDB.php');
require_once('Connections/database_functions.php');
$page_shop_log = PAGE_SHOP_LOG;
$nonshop = NONSHOP;
//?shop_id=2
if($_GET['shop_id']>0){
@@ -126,9 +127,11 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
<td><strong>Stats</strong></td>
<td><strong>Edit</strong></td>
</tr>
<?php if ($nonshop != 0) { ?>
<tr>
<td height="30" colspan="6"><a href="http://www.ybdb.austinyellowbike.org/individual_hours_log.php">Log Non-Shop Hours</a> </td>
<td height="30" colspan="6"><a href="individual_hours_log.php">Log Non-Shop Hours</a> </td>
</tr>
<?php } ?>
<form action="<?php echo $editFormAction; ?>" method="post" name="form_new" id="form_new">
<tr>
<td height="30"><span class="yb_heading3red">Start New Shop:</span></td>