mirror of https://github.com/itflow-org/itflow
commit
733e56cd8c
|
|
@ -144,12 +144,12 @@
|
|||
<div class="tab-pane fade" id="pills-contact">
|
||||
|
||||
<div class="form-group">
|
||||
<label>Primary Contact</label>
|
||||
<label>Primary Contact <strong class="text-danger">*</strong></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="contact" placeholder="Primary Contact Person">
|
||||
<input type="text" class="form-control" name="contact" placeholder="Primary Contact Person" required autofocus>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ $location_phone = formatPhoneNumber($location_phone);
|
|||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#editClientModal<?php echo $client_id; ?>">Edit</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item text-danger" href="post.php?delete_client=<?php echo $client_id; ?>">Delete</a>
|
||||
<a class="dropdown-item text-danger" href="#" data-toggle="modal" data-target="#deleteClientModal<?php echo $client_id; ?>">Delete</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -259,6 +259,7 @@ $location_phone = formatPhoneNumber($location_phone);
|
|||
include("client_routes.php");
|
||||
include("edit_client_modal.php");
|
||||
include("add_quick_modal.php");
|
||||
include("delete_client_modal.php");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,12 @@ if(isset($_GET['order'])){
|
|||
$order_display = "ASC";
|
||||
}
|
||||
|
||||
if (empty($_GET['canned_date'])) {
|
||||
//Prevents lots of undefined variable errors.
|
||||
// $dtf and $dtt will be set by the below else to 0000-00-00 / 9999-00-00
|
||||
$_GET['canned_date'] = 'custom';
|
||||
}
|
||||
|
||||
//Date Filter
|
||||
if($_GET['canned_date'] == "custom" AND !empty($_GET['date_from'])){
|
||||
$date_from = mysqli_real_escape_string($mysqli,$_GET['date_from']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue