<?php require('../../finance/finance_functions.php')?>

<div class="form-group row">
<div class="col-md-2"><label for="service">Service</label></div>
<div class="col-md-4">
<select id="service" name="service" class="form-control autocomplete" data-placeholder="Select">
<option value="">Select</option>
<option value="">None</option>
<?= serviceOptions()?>
</select>
</div>
</div>

<div class="form-group row">
<div class="col-md-2"><label for="notes">Notes</label></div>
<div class="col-md-9">
<textarea id="notes" name="notes" class="form-control"></textarea>
</div>
</div>

<div class="form-group row">
<div class="col-md-2"><label for="rate">Fee</label></div>
<div class="col-md-6"><input type="text" id="rate" name="rate" class="form-control" placeholder="0.00"/></div>
</div>

<div class="form-group row">
<div class="col-md-2"><label for="rate">Apply Commission</label></div>
<div class="col-md-6"><input class="form-control" type="checkbox" id="rcom"  type="checkbox" name="rcom" value="1"></div>
</div>

<div class="form-group row">
<div class="col-md-2"><label for="quantity">Quantity</label></div>
<div class="col-md-3">
<select id="quantity" name="quantity" class="form-control">
<option value="1">Select</option>
<?php foreach(range(1,10) as $num){?><option value="<?= $num?>"><?= $num?></option><?php };?>
</select>
</div>
</div>
<div class="spacer"></div>
<div class="text-center"><a href="javascript:void(0)" class="btn btn-info" onClick="addtoInvoice()">Add to invoice</a></div>
