mirror of https://github.com/itflow-org/itflow
User client Rate for price by default for Invoice Ticket
This commit is contained in:
parent
32c9a933ea
commit
8085f7cd90
|
|
@ -40,6 +40,8 @@ if (isset($_GET['ticket_id'])) {
|
||||||
$client_net_terms = $config_default_net_terms;
|
$client_net_terms = $config_default_net_terms;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$client_rate = floatval($row['client_rate']);
|
||||||
|
|
||||||
$ticket_prefix = nullable_htmlentities($row['ticket_prefix']);
|
$ticket_prefix = nullable_htmlentities($row['ticket_prefix']);
|
||||||
$ticket_number = intval($row['ticket_number']);
|
$ticket_number = intval($row['ticket_number']);
|
||||||
$ticket_category = nullable_htmlentities($row['ticket_category']);
|
$ticket_category = nullable_htmlentities($row['ticket_category']);
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-dollar-sign"></i></span>
|
<span class="input-group-text"><i class="fa fa-fw fa-dollar-sign"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="number" class="form-control" step="0.01" min="0" name="price" value="0.00" required>
|
<input type="number" class="form-control" step="0.01" min="0" name="price" value="<?php echo $client_rate; ?>" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue