mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
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:
+4
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user