Removed some unused files
This commit is contained in:
@@ -1,76 +0,0 @@
|
|||||||
<div class="modal" id="editClientModal<?php echo $client_id; ?>" tabindex="-1">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content bg-dark">
|
|
||||||
<div class="modal-header">
|
|
||||||
<h5 class="modal-title text-white"><i class="fa fa-fw fa-user-edit mr-2"></i>Edit <?php echo $client_name; ?></h5>
|
|
||||||
<button type="button" class="close text-white" data-dismiss="modal">
|
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
|
||||||
<div class="modal-body bg-white">
|
|
||||||
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>" >
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">Name</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="text" class="form-control" name="name" value="<?php echo $client_name; ?>" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">Phone</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="text" class="form-control" name="phone" data-inputmask="'mask': '999-999-9999'" value="<?php echo $client_phone; ?>" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">Email</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="email" class="form-control" name="email" value="<?php echo $client_email; ?>" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">Website</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="text" class="form-control" name="website" value="<?php echo $client_website; ?>">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">Address</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="text" class="form-control" name="address" value="<?php echo $client_address; ?>" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">City</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="text" class="form-control" name="city" value="<?php echo $client_city; ?>" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">State</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<select class="form-control" name="state" required>
|
|
||||||
<option value="">- State -</option>
|
|
||||||
<?php
|
|
||||||
foreach($states_array as $state_abbr => $state_name){
|
|
||||||
?>
|
|
||||||
<option <?php if($client_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
|
||||||
<?php } ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">Zip</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input type="text" class="form-control" name="zip" value="<?php echo $client_zip; ?>" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer bg-white">
|
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
||||||
<button type="submit" name="edit_client" class="btn btn-primary">Save</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
<div class="modal" id="addClientModal" tabindex="-1">
|
|
||||||
<div class="modal-dialog modal-lg">
|
|
||||||
<div class="modal-content bg-dark">
|
|
||||||
<div class="modal-header text-white">
|
|
||||||
<h5 class="modal-title"><i class="fa fa-fw fa-user-plus mr-2"></i>New Client</h5>
|
|
||||||
<button type="button" class="close text-white" data-dismiss="modal">
|
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
|
||||||
<div class="modal-body bg-white">
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Name</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-user"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text" class="form-control" name="name" placeholder="Name or Company" required autofocus>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Address</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-map-marker-alt"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text" class="form-control" name="address" placeholder="Address">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-row">
|
|
||||||
<div class="form-group col-md-5">
|
|
||||||
<label>City</label>
|
|
||||||
<input type="text" class="form-control" name="city" placeholder="City" required>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-md-4">
|
|
||||||
<label>State</label>
|
|
||||||
<select class="form-control" name="state">
|
|
||||||
<option value="">- State -</option>
|
|
||||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
|
||||||
<option value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
|
||||||
<?php } ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label>Zip</label>
|
|
||||||
<input type="text" class="form-control" name="zip" placeholder="Zip">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-row">
|
|
||||||
<div class="form-group col-sm">
|
|
||||||
<label>Phone</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text" class="form-control" name="phone" placeholder="Phone Number" data-inputmask="'mask': '999-999-9999'">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-sm">
|
|
||||||
<label>Email</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-envelope"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="email" class="form-control" name="email" placeholder="Email Address">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-row">
|
|
||||||
<div class="form-group col">
|
|
||||||
<label>Website</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-globe"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text" class="form-control" name="website" placeholder="Web Address">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col">
|
|
||||||
<label>Invoice Net Terms</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-clock"></i></span>
|
|
||||||
</div>
|
|
||||||
<select class="form-control" name="net_terms">
|
|
||||||
<option value="7">Default (7 Days)</option>
|
|
||||||
<option value="1">Upon Reciept</option>
|
|
||||||
<option value="14">14 Day</option>
|
|
||||||
<option value="30">30 Day</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer bg-white">
|
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
||||||
<button type="submit" name="add_client" class="btn btn-primary">Save</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
<div class="modal" id="editVendorModal<?php echo $vendor_id; ?>" tabindex="-1">
|
|
||||||
<div class="modal-dialog modal-lg">
|
|
||||||
<div class="modal-content bg-dark">
|
|
||||||
<div class="modal-header">
|
|
||||||
<h5 class="modal-title text-white"><i class="fa fa-fw fa-building mr-2"></i><?php echo $vendor_name; ?></h5>
|
|
||||||
<button type="button" class="close text-white" data-dismiss="modal">
|
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
|
||||||
<input type="hidden" name="vendor_id" value="<?php echo $vendor_id; ?>">
|
|
||||||
<div class="modal-body bg-white">
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Name</label>
|
|
||||||
<input type="text" class="form-control" name="name" value="<?php echo "$vendor_name"; ?>" required>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<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; ?>">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer bg-white">
|
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
||||||
<button type="submit" name="edit_vendor" class="btn btn-primary">Save</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
|
||||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
|
||||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
|
||||||
|
|
||||||
// Area Chart Example
|
|
||||||
var ctx = document.getElementById("myAreaChart");
|
|
||||||
var myLineChart = new Chart(ctx, {
|
|
||||||
type: 'line',
|
|
||||||
data: {
|
|
||||||
labels: ["Mar 1", "Mar 2", "Mar 3", "Mar 4", "Mar 5", "Mar 6", "Mar 7", "Mar 8", "Mar 9", "Mar 10", "Mar 11", "Mar 12", "Mar 13"],
|
|
||||||
datasets: [{
|
|
||||||
label: "Sessions",
|
|
||||||
lineTension: 0.3,
|
|
||||||
backgroundColor: "rgba(2,117,216,0.2)",
|
|
||||||
borderColor: "rgba(2,117,216,1)",
|
|
||||||
pointRadius: 5,
|
|
||||||
pointBackgroundColor: "rgba(2,117,216,1)",
|
|
||||||
pointBorderColor: "rgba(255,255,255,0.8)",
|
|
||||||
pointHoverRadius: 5,
|
|
||||||
pointHoverBackgroundColor: "rgba(2,117,216,1)",
|
|
||||||
pointHitRadius: 50,
|
|
||||||
pointBorderWidth: 2,
|
|
||||||
data: [10000, 30162, 26263, 18394, 18287, 28682, 31274, 33259, 25849, 24159, 32651, 31984, 38451],
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
scales: {
|
|
||||||
xAxes: [{
|
|
||||||
time: {
|
|
||||||
unit: 'date'
|
|
||||||
},
|
|
||||||
gridLines: {
|
|
||||||
display: false
|
|
||||||
},
|
|
||||||
ticks: {
|
|
||||||
maxTicksLimit: 7
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
yAxes: [{
|
|
||||||
ticks: {
|
|
||||||
min: 0,
|
|
||||||
max: 40000,
|
|
||||||
maxTicksLimit: 5
|
|
||||||
},
|
|
||||||
gridLines: {
|
|
||||||
color: "rgba(0, 0, 0, .125)",
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
legend: {
|
|
||||||
display: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
|
||||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
|
||||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
|
||||||
|
|
||||||
// Bar Chart Example
|
|
||||||
var ctx = document.getElementById("myBarChart");
|
|
||||||
var myLineChart = new Chart(ctx, {
|
|
||||||
type: 'bar',
|
|
||||||
data: {
|
|
||||||
labels: ["January", "February", "March", "April", "May", "June"],
|
|
||||||
datasets: [{
|
|
||||||
label: "Revenue",
|
|
||||||
backgroundColor: "rgba(2,117,216,1)",
|
|
||||||
borderColor: "rgba(2,117,216,1)",
|
|
||||||
data: [4215, 5312, 6251, 7841, 9821, 14984],
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
scales: {
|
|
||||||
xAxes: [{
|
|
||||||
time: {
|
|
||||||
unit: 'month'
|
|
||||||
},
|
|
||||||
gridLines: {
|
|
||||||
display: false
|
|
||||||
},
|
|
||||||
ticks: {
|
|
||||||
maxTicksLimit: 6
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
yAxes: [{
|
|
||||||
ticks: {
|
|
||||||
min: 0,
|
|
||||||
max: 15000,
|
|
||||||
maxTicksLimit: 5
|
|
||||||
},
|
|
||||||
gridLines: {
|
|
||||||
display: true
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
legend: {
|
|
||||||
display: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
|
||||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
|
||||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
|
||||||
|
|
||||||
// Pie Chart Example
|
|
||||||
var ctx = document.getElementById("myPieChart");
|
|
||||||
var myPieChart = new Chart(ctx, {
|
|
||||||
type: 'pie',
|
|
||||||
data: {
|
|
||||||
labels: ["Blue", "Red", "Yellow", "Green"],
|
|
||||||
datasets: [{
|
|
||||||
data: [12.21, 15.58, 11.25, 8.32],
|
|
||||||
backgroundColor: ['#007bff', '#dc3545', '#ffc107', '#28a745'],
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
});
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
// Call the dataTables jQuery plugin
|
|
||||||
$(document).ready(function() {
|
|
||||||
$('#dataTable').DataTable();
|
|
||||||
});
|
|
||||||
Vendored
-7
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user