mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Turned error check into a function.
1). This allows "close" to produce errors, although not actually prevent them. 2). This provides a return code for "save" so that the transaction history can be saved.
This commit is contained in:
+2
-2
@@ -387,12 +387,12 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
|
||||
<td></td><td></td>
|
||||
<td>
|
||||
<input id="save_transaction" type="submit" name="EditSubmit" value="Save" align="right">
|
||||
<input type="submit" name="EditSubmit" value="Close">
|
||||
<input id="close_transaction" type="submit" name="EditSubmit" value="Close">
|
||||
<input type="submit" name="EditSubmit" value="Delete">
|
||||
<span id="transaction_start_error"></span>
|
||||
<!-- Save before using paypal ->> -->
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
|
||||
<?php if ($show_shop_id) { ?>
|
||||
<tr><td> </td>
|
||||
|
||||
Reference in New Issue
Block a user