Added select2 libs, started transactions, added additiona fields to vendor, new DB dump removed balance on invoices list

This commit is contained in:
root
2019-04-27 12:10:12 -04:00
parent 095def07a1
commit ee7a7f0ad7
259 changed files with 51996 additions and 56 deletions

View File

@@ -1,5 +1,5 @@
<div class="modal" id="editVendorModal<?php echo $vendor_id; ?>" tabindex="-1">
<div class="modal-dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><i class="fa fa-edit"></i> Edit Vendor</h5>
@@ -18,6 +18,43 @@
<label>Description</label>
<input type="text" class="form-control" name="description" value="<?php echo $vendor_description; ?>">
</div>
<div class="form-group">
<label>Address</label>
<input type="text" class="form-control" name="address" value="<?php echo $vendor_address; ?>">
</div>
<div class="form-row">
<div class="form-group col">
<label>City</label>
<input type="text" class="form-control" name="city" value="<?php echo $vendor_city; ?>">
</div>
<div class="form-group col">
<label>State</label>
<select class="form-control" name="state">
<?php foreach($states_array as $state_abbr => $state_name) { ?>
<option <?php if($vendor_state == $state_abbr){ echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
<?php } ?>
</select>
</div>
<div class="form-group col">
<label>Zip</label>
<input type="text" class="form-control" name="zip" value="<?php echo $vendor_zip; ?>">
</div>
</div>
<div class="form-row">
<div class="form-group col">
<label>Phone</label>
<input type="text" class="form-control" name="phone" value="<?php echo $vendor_phone; ?>">
</div>
<div class="form-group col">
<label>Email</label>
<input type="email" class="form-control" name="email" value="<?php echo $vendor_email; ?>">
</div>
<div class="form-group col">
<label>Website</label>
<input type="text" class="form-control" name="website" value="<?php echo $vendor_website; ?>">
</div>
</div>
<div class="form-group">
<label>Account Number</label>
<input type="text" class="form-control" name="account_number" value="<?php echo $vendor_account_number; ?>">