Merge branch 'master' of github.com:johnnyq/itflow
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Price <strong class="text-danger">*</strong></label>
|
<label>Price <strong class="text-danger">*</strong></label>
|
||||||
<input type="number" step="0.01" min="0" class="form-control" name="price" placeholder="Price" required>
|
<input type="number" step="0.01" min="0" class="form-control" name="price" placeholder="Price (<?php echo get_currency_symbol($session_company_currency); ?>)" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ if(isset($_GET['invoice_id'])){
|
|||||||
<td><input type="text" class="form-control" id="name" name="name" placeholder="Item" required></td>
|
<td><input type="text" class="form-control" id="name" name="name" placeholder="Item" required></td>
|
||||||
<td><textarea class="form-control" rows="2" id="desc" name="description" placeholder="Description"></textarea></td>
|
<td><textarea class="form-control" rows="2" id="desc" name="description" placeholder="Description"></textarea></td>
|
||||||
<td><input type="number" step="0.01" min="0" class="form-control" style="text-align: center;" id="qty" name="qty" placeholder="QTY"></td>
|
<td><input type="number" step="0.01" min="0" class="form-control" style="text-align: center;" id="qty" name="qty" placeholder="QTY"></td>
|
||||||
<td><input type="number" step="0.01" class="form-control" style="text-align: right;" id="price" name="price" placeholder="Price"></td>
|
<td><input type="number" step="0.01" class="form-control" style="text-align: right;" id="price" name="price" placeholder="Price (<?php echo $client_currency_symbol; ?>)"></td>
|
||||||
<td>
|
<td>
|
||||||
<select class="form-control select2" name="tax_id" required>
|
<select class="form-control select2" name="tax_id" required>
|
||||||
<option value="0">None</option>
|
<option value="0">None</option>
|
||||||
|
|||||||
4
post.php
4
post.php
@@ -3031,7 +3031,7 @@ if(isset($_GET['email_quote'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "Quote has been sent";
|
$_SESSION['alert_message'] = "Quote has been sent";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: quotes.php");
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
@@ -3716,7 +3716,7 @@ if(isset($_GET['email_invoice'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "Invoice has been sent";
|
$_SESSION['alert_message'] = "Invoice has been sent";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: invoices.php");
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user