Move records per page as a config option per company DB Structure has updated

This commit is contained in:
johnny@pittpc.com
2021-01-15 20:10:53 -05:00
parent 7b4618c16f
commit 9aa978c920
5 changed files with 25 additions and 6 deletions

View File

@@ -181,7 +181,7 @@
</div>
</div>
<div class="form-group mb-5">
<div class="form-group">
<label>Net Terms</label>
<div class="input-group">
<div class="input-group-prepend">
@@ -195,6 +195,20 @@
</div>
</div>
<div class="form-group mb-5">
<label>Records per Page</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-sort"></i></span>
</div>
<select class="form-control select2" name="config_records_per_page">
<?php foreach($records_per_page_array as $records_per_page) { ?>
<option <?php if($config_records_per_page == $records_per_page){ echo "selected"; } ?> ><?php echo $records_per_page; ?></option>
<?php } ?>
</select>
</div>
</div>
<hr>
<button type="submit" name="edit_default_settings" class="btn btn-primary">Save</button>