Got rid of the due date and used client_net_terms if not used use the system default net terms

This commit is contained in:
root
2019-05-18 20:49:30 -04:00
parent 857a298588
commit 65c961986c
13 changed files with 41 additions and 38 deletions

View File

@@ -8,6 +8,7 @@
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="client_net_terms" value="<?php echo $client_net_terms; ?>">
<div class="modal-body bg-white">
<div class="form-group">
<label>Client</label>
@@ -42,16 +43,6 @@
<input type="date" class="form-control" name="date" value="<?php echo date("Y-m-d"); ?>" required>
</div>
</div>
<div class="form-group">
<label>Payment Due</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-calendar-alt"></i></span>
</div>
<input type="date" class="form-control" name="due" required>
</div>
</div>
<div class="form-group">
<label>Category</label>