Skip to content

Commit

Permalink
Set invoice date to today when copying an invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Mar 2, 2015
1 parent 6e3bdab commit 1c63bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/invoices/views/modal_copy_invoice.php
Expand Up @@ -63,7 +63,7 @@ class="form-control"
<div class="input-group">
<input name="invoice_date_created" id="invoice_date_created"
class="form-control datepicker"
value="<?php echo date_from_mysql($invoice->invoice_date_created, TRUE) ?>">
value="<?php echo date_from_mysql(date('Y-m-d', time()), TRUE) ?>">
<span class="input-group-addon">
<i class="fa fa-calendar fa-fw"></i>
</span>
Expand Down

0 comments on commit 1c63bb5

Please sign in to comment.