fixed PermitFacts CSV Export button
This commit is contained in:
@@ -393,4 +393,4 @@ class Counties extends Base {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -34,9 +34,6 @@ class SearchHistory extends Base {
|
|||||||
$user = $this->current_user_serial;
|
$user = $this->current_user_serial;
|
||||||
$subscription_serial = $searchpayload['subscription_serial'];
|
$subscription_serial = $searchpayload['subscription_serial'];
|
||||||
|
|
||||||
echo $subscription_serial;
|
|
||||||
die();
|
|
||||||
|
|
||||||
switch ($subscription_serial) {
|
switch ($subscription_serial) {
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
+2
-2
@@ -774,7 +774,7 @@ class Users extends Base {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "copy":
|
case "copy":
|
||||||
|
|
||||||
$receiving_user_serial = filter_input(INPUT_POST, "receiving_user_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
|
$receiving_user_serial = filter_input(INPUT_POST, "receiving_user_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
|
||||||
$subscription_serials = filter_input(INPUT_POST, "subscriptions", FILTER_SANITIZE_NUMBER_INT, FILTER_REQUIRE_ARRAY) ?: array();
|
$subscription_serials = filter_input(INPUT_POST, "subscriptions", FILTER_SANITIZE_NUMBER_INT, FILTER_REQUIRE_ARRAY) ?: array();
|
||||||
$subscription_start_dates = filter_input(INPUT_POST, "subscription_start_date", FILTER_DEFAULT, FILTER_REQUIRE_ARRAY) ?: array();
|
$subscription_start_dates = filter_input(INPUT_POST, "subscription_start_date", FILTER_DEFAULT, FILTER_REQUIRE_ARRAY) ?: array();
|
||||||
@@ -789,7 +789,7 @@ class Users extends Base {
|
|||||||
"usersubscription_end_date" => date("Y-m-d", strtotime($subscription_end_dates[$index] ?? ""))
|
"usersubscription_end_date" => date("Y-m-d", strtotime($subscription_end_dates[$index] ?? ""))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the Subscriptions to Receiving User
|
// Add the Subscriptions to Receiving User
|
||||||
|
|
||||||
$connection = $this->connect();
|
$connection = $this->connect();
|
||||||
|
|||||||
+71
-64
@@ -12,69 +12,75 @@ $(document).ready(function () {
|
|||||||
// ----------------------
|
// ----------------------
|
||||||
|
|
||||||
ClassicEditor
|
ClassicEditor
|
||||||
.create(document.querySelector('#alert_message'), {
|
.create(document.querySelector('#alert_message'), {
|
||||||
toolbar: {
|
toolbar: {
|
||||||
items: [
|
items: [
|
||||||
'heading',
|
'heading',
|
||||||
'|',
|
'|',
|
||||||
'bold',
|
'bold',
|
||||||
'italic',
|
'italic',
|
||||||
'underline',
|
'underline',
|
||||||
'link',
|
'link',
|
||||||
'bulletedList',
|
'bulletedList',
|
||||||
'numberedList',
|
'numberedList',
|
||||||
'|',
|
'|',
|
||||||
'fontColor',
|
'fontColor',
|
||||||
'fontSize',
|
'fontSize',
|
||||||
'fontFamily',
|
'fontFamily',
|
||||||
'|',
|
'|',
|
||||||
'indent',
|
'indent',
|
||||||
'outdent',
|
'outdent',
|
||||||
'alignment',
|
'alignment',
|
||||||
'|',
|
'|',
|
||||||
'horizontalLine',
|
'horizontalLine',
|
||||||
'insertTable',
|
'insertTable',
|
||||||
'|',
|
'|',
|
||||||
'undo',
|
'undo',
|
||||||
'redo',
|
'redo',
|
||||||
'|'
|
'|'
|
||||||
]},
|
]
|
||||||
link: {
|
},
|
||||||
addTargetToExternalLinks: true,
|
link: {
|
||||||
defaultProtocol: "http://"
|
addTargetToExternalLinks: true,
|
||||||
|
defaultProtocol: "http://"
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.then(editor => {
|
.then(editor => {
|
||||||
$CKEditor = editor;
|
$CKEditor = editor;
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error('CK-Editor error...');
|
console.error('CK-Editor error...');
|
||||||
console.error(error);
|
console.error(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// ------------
|
// ------------
|
||||||
// Date Pickers
|
// Date Pickers
|
||||||
// ------------
|
// ------------
|
||||||
|
|
||||||
$("#alert_starts_date").datepicker({format: "yyyy-mm-dd",
|
$("#alert_starts_date").datepicker({
|
||||||
|
format: "yyyy-mm-dd",
|
||||||
container: "div.starts-date",
|
container: "div.starts-date",
|
||||||
keyboardNavigation: false,
|
keyboardNavigation: false,
|
||||||
autoclose: true,
|
autoclose: true,
|
||||||
orientation: "bottom",
|
orientation: "bottom",
|
||||||
todayBtn: "linked",
|
todayBtn: "linked",
|
||||||
todayHighlight: true});
|
todayHighlight: true
|
||||||
|
});
|
||||||
|
|
||||||
$("#alert_expires_date").datepicker({format: "yyyy-mm-dd",
|
$("#alert_expires_date").datepicker({
|
||||||
|
format: "yyyy-mm-dd",
|
||||||
container: "div.expires-date",
|
container: "div.expires-date",
|
||||||
keyboardNavigation: false,
|
keyboardNavigation: false,
|
||||||
autoclose: true,
|
autoclose: true,
|
||||||
orientation: "bottom",
|
orientation: "bottom",
|
||||||
todayBtn: "linked",
|
todayBtn: "linked",
|
||||||
todayHighlight: true});
|
todayHighlight: true
|
||||||
|
});
|
||||||
|
|
||||||
$("#alert_starts_time").inputmask({alias: "datetime",
|
$("#alert_starts_time").inputmask({
|
||||||
|
alias: "datetime",
|
||||||
placeholder: "HH:MM",
|
placeholder: "HH:MM",
|
||||||
inputFormat: "HH:MM",
|
inputFormat: "HH:MM",
|
||||||
insertMode: false,
|
insertMode: false,
|
||||||
@@ -82,7 +88,8 @@ $(document).ready(function () {
|
|||||||
hourFormat: 24
|
hourFormat: 24
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#alert_expires_time").inputmask({alias: "datetime",
|
$("#alert_expires_time").inputmask({
|
||||||
|
alias: "datetime",
|
||||||
placeholder: "HH:MM",
|
placeholder: "HH:MM",
|
||||||
inputFormat: "HH:MM",
|
inputFormat: "HH:MM",
|
||||||
insertMode: false,
|
insertMode: false,
|
||||||
@@ -146,11 +153,11 @@ $(document).ready(function () {
|
|||||||
$("#addAlert").submit(function (e) {
|
$("#addAlert").submit(function (e) {
|
||||||
|
|
||||||
var alert_title = $("#alert_title"),
|
var alert_title = $("#alert_title"),
|
||||||
alert_starts_date = $("#alert_starts_date"),
|
alert_starts_date = $("#alert_starts_date"),
|
||||||
alert_starts_time = $("#alert_starts_time"),
|
alert_starts_time = $("#alert_starts_time"),
|
||||||
alert_expires_date = $("#alert_expires_date"),
|
alert_expires_date = $("#alert_expires_date"),
|
||||||
alert_expires_time = $("#alert_expires_time"),
|
alert_expires_time = $("#alert_expires_time"),
|
||||||
alert_message = $("#alert_message");
|
alert_message = $("#alert_message");
|
||||||
|
|
||||||
clearInputErrors();
|
clearInputErrors();
|
||||||
|
|
||||||
@@ -197,10 +204,10 @@ $(document).ready(function () {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (isBlank(alert_message)) {
|
// if (isBlank(alert_message)) {
|
||||||
// createInputError(alert_message, "Please enter a Message");
|
// createInputError(alert_message, "Please enter a Message");
|
||||||
// return false;
|
// return false;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (!checkDateTime(alert_starts_date, alert_starts_time, alert_expires_date, alert_expires_time)) {
|
if (!checkDateTime(alert_starts_date, alert_starts_time, alert_expires_date, alert_expires_time)) {
|
||||||
createInputError(alert_expires_time, "Cannot be prior to Start");
|
createInputError(alert_expires_time, "Cannot be prior to Start");
|
||||||
@@ -213,15 +220,15 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
$.post("./", $(this).serialize())
|
$.post("./", $(this).serialize())
|
||||||
|
|
||||||
.done(function () {
|
.done(function () {
|
||||||
|
|
||||||
$sessionStorage.action = $sessionStorage.addAlert || "";
|
$sessionStorage.action = $sessionStorage.addAlert || "";
|
||||||
|
|
||||||
sessionStorage.setItem($application, JSON.stringify($sessionStorage));
|
sessionStorage.setItem($application, JSON.stringify($sessionStorage));
|
||||||
|
|
||||||
formSubmit($sessionStorage);
|
formSubmit($sessionStorage);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -234,11 +241,11 @@ $(document).ready(function () {
|
|||||||
function checkDateTime(alert_starts_date, alert_starts_time, alert_expires_date, alert_expires_time) {
|
function checkDateTime(alert_starts_date, alert_starts_time, alert_expires_date, alert_expires_time) {
|
||||||
|
|
||||||
var starts_date_parts = alert_starts_date.val().split("-"),
|
var starts_date_parts = alert_starts_date.val().split("-"),
|
||||||
starts_time_parts = alert_starts_time.val().split(":"),
|
starts_time_parts = alert_starts_time.val().split(":"),
|
||||||
expires_date_parts = alert_expires_date.val().split("-"),
|
expires_date_parts = alert_expires_date.val().split("-"),
|
||||||
expires_time_parts = alert_expires_time.val().split(":"),
|
expires_time_parts = alert_expires_time.val().split(":"),
|
||||||
starts_date,
|
starts_date,
|
||||||
expires_date;
|
expires_date;
|
||||||
|
|
||||||
starts_date = new Date(starts_date_parts[0], parseInt(starts_date_parts[1], 10) - 1, starts_date_parts[2]);
|
starts_date = new Date(starts_date_parts[0], parseInt(starts_date_parts[1], 10) - 1, starts_date_parts[2]);
|
||||||
expires_date = new Date(expires_date_parts[0], parseInt(expires_date_parts[1], 10) - 1, expires_date_parts[2]);
|
expires_date = new Date(expires_date_parts[0], parseInt(expires_date_parts[1], 10) - 1, expires_date_parts[2]);
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
// ==========
|
// ===================
|
||||||
// Add County
|
// Search Permit Facts
|
||||||
// ==========
|
// ===================
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
@@ -246,7 +246,7 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
$("#spinner-dialog").modal("show");
|
$("#spinner-dialog").modal("show");
|
||||||
|
|
||||||
$sessionStorage.action = "Export_PermitFactsToExcel.export";
|
$sessionStorage.action = "Export_PermitFactsToCSV.export";
|
||||||
$sessionStorage.subscription_reference = $sessionStorage.subscription_serial;
|
$sessionStorage.subscription_reference = $sessionStorage.subscription_serial;
|
||||||
$sessionStorage.pagination = "off";
|
$sessionStorage.pagination = "off";
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,3 @@ require_once "classes/Base.php";
|
|||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
(new Base())->do();
|
(new Base())->do();
|
||||||
?>
|
|
||||||
+16
-15
@@ -1,21 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<Settings>
|
<Settings>
|
||||||
|
|
||||||
<ApplicationName>DEC Data Repository</ApplicationName>
|
<ApplicationName>DEC Data Repository</ApplicationName>
|
||||||
|
|
||||||
<!-- Database Credentials -->
|
<!-- Database Credentials -->
|
||||||
|
|
||||||
<DatabaseServer>192.168.1.190</DatabaseServer>
|
<!--<DatabaseServer>192.168.1.190</DatabaseServer>-->
|
||||||
<!--<DatabaseServer>localhost</DatabaseServer>-->
|
<DatabaseServer>localhost</DatabaseServer>
|
||||||
<DatabaseName>realestatedatainc</DatabaseName>
|
<DatabaseName>realestatedatainc</DatabaseName>
|
||||||
<DatabaseUser>ddruser</DatabaseUser>
|
<DatabaseUser>ddruser</DatabaseUser>
|
||||||
<DatabasePassword>hype23decdr</DatabasePassword>
|
<DatabasePassword>hype23decdr</DatabasePassword>
|
||||||
|
|
||||||
<!-- Legacy Database Credentials -->
|
<!-- Legacy Database Credentials -->
|
||||||
|
|
||||||
<OldDatabaseServer>192.168.1.190</OldDatabaseServer>
|
<!--<OldDatabaseServer>192.168.1.190</OldDatabaseServer>-->
|
||||||
<!--<DatabaseServer>localhost</DatabaseServer>-->
|
<DatabaseServer>localhost</DatabaseServer>
|
||||||
<OldDatabaseName>decweb</OldDatabaseName>
|
<OldDatabaseName>decweb</OldDatabaseName>
|
||||||
<OldDatabaseUser>decuser</OldDatabaseUser>
|
<OldDatabaseUser>decuser</OldDatabaseUser>
|
||||||
<OldDatabasePassword>hype23dec</OldDatabasePassword>
|
<OldDatabasePassword>hype23dec</OldDatabasePassword>
|
||||||
@@ -28,22 +28,23 @@
|
|||||||
<SmtpPort>587</SmtpPort>
|
<SmtpPort>587</SmtpPort>
|
||||||
|
|
||||||
<!-- Discord Webhook -->
|
<!-- Discord Webhook -->
|
||||||
|
|
||||||
<DiscordWebHookURL>https://discordapp.com/api/webhooks/1396804024942198794/zdT2wisqhAZuZ_UPKmAmtV0z_rX-PZnyHIXsjpPHQO3uakBO2xQ3R44kOxb9QZ4QxebL</DiscordWebHookURL>
|
<DiscordWebHookURL>
|
||||||
|
https://discordapp.com/api/webhooks/1396804024942198794/zdT2wisqhAZuZ_UPKmAmtV0z_rX-PZnyHIXsjpPHQO3uakBO2xQ3R44kOxb9QZ4QxebL</DiscordWebHookURL>
|
||||||
|
|
||||||
<SupportEmail>james.richie@onesourceits.com</SupportEmail>
|
<SupportEmail>james.richie@onesourceits.com</SupportEmail>
|
||||||
<AdminEmail>allenf@bidalert.com</AdminEmail>
|
<AdminEmail>allenf@bidalert.com</AdminEmail>
|
||||||
<AdminName>Allan Feifer</AdminName>
|
<AdminName>Allan Feifer</AdminName>
|
||||||
<FromEmail>info@dec-international.com</FromEmail>
|
<FromEmail>info@dec-international.com</FromEmail>
|
||||||
<FromName>Customer Service</FromName>
|
<FromName>Customer Service</FromName>
|
||||||
|
|
||||||
<SystemAdministrators>
|
<SystemAdministrators>
|
||||||
<SystemAdministrator>D002116</SystemAdministrator>
|
<SystemAdministrator>D002116</SystemAdministrator>
|
||||||
<SystemAdministrator>DSYSADMIN</SystemAdministrator>
|
<SystemAdministrator>DSYSADMIN</SystemAdministrator>
|
||||||
</SystemAdministrators>
|
</SystemAdministrators>
|
||||||
|
|
||||||
<Environment>Development</Environment>
|
<!--<Environment>Development</Environment>-->
|
||||||
<!--<Environment>Production</Environment>-->
|
<Environment>Production</Environment>
|
||||||
<Availability>Available</Availability>
|
<Availability>Available</Availability>
|
||||||
|
|
||||||
</Settings>
|
</Settings>
|
||||||
Reference in New Issue
Block a user