mirror of
https://github.com/itflow-org/itflow
synced 2026-08-05 07:07:14 +00:00
Use Short echo tags across the code
This commit is contained in:
@@ -58,20 +58,20 @@ $assets_sql = mysqli_query($mysqli, "SELECT * FROM assets LEFT JOIN contacts ON
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="#"><?php echo $asset_name ?></a>
|
||||
<a href="#"><?= $asset_name ?></a>
|
||||
<br>
|
||||
<small class="text-secondary"><?php echo $asset_description; ?></small>
|
||||
<small class="text-secondary"><?= $asset_description ?></small>
|
||||
</td>
|
||||
<td><?php echo $asset_type; ?></td>
|
||||
<td><?php echo "$asset_make<br><span class='text-secondary'>$asset_model</span>"; ?></td>
|
||||
<td><?php echo $asset_serial; ?></td>
|
||||
<td><?php echo $assigned_to; ?></td>
|
||||
<td><?php echo $asset_purchase_date; ?></td>
|
||||
<td><?php echo $asset_warranty_expire; ?></td>
|
||||
<td><?php echo $asset_status; ?></td>
|
||||
<td><?= $asset_type ?></td>
|
||||
<td><?= "$asset_make<br><span class='text-secondary'>$asset_model</span>" ?></td>
|
||||
<td><?= $asset_serial ?></td>
|
||||
<td><?= $assigned_to ?></td>
|
||||
<td><?= $asset_purchase_date ?></td>
|
||||
<td><?= $asset_warranty_expire ?></td>
|
||||
<td><?= $asset_status ?></td>
|
||||
<td>
|
||||
<?php if ($asset_uri_client) { ?>
|
||||
<i class="fa fa-fw fa-link text-secondary mr-1"></i><a href="<?php echo $asset_uri_client; ?>" target="_blank" title="<?php echo $asset_uri_client; ?>"><?php echo truncate($asset_uri_client, 40); ?></a>
|
||||
<i class="fa fa-fw fa-link text-secondary mr-1"></i><a href="<?= $asset_uri_client ?>" target="_blank" title="<?= $asset_uri_client ?>"><?= truncate($asset_uri_client, 40) ?></a>
|
||||
<?php } else { ?>
|
||||
-
|
||||
<?php } ?>
|
||||
|
||||
@@ -39,10 +39,10 @@ $certificates_sql = mysqli_query($mysqli, "SELECT certificate_id, certificate_na
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $certificate_name; ?></td>
|
||||
<td><?php echo $certificate_domain; ?></td>
|
||||
<td><?php echo $certificate_issued_by; ?></td>
|
||||
<td><?php echo $certificate_expire; ?></td>
|
||||
<td><?= $certificate_name ?></td>
|
||||
<td><?= $certificate_domain ?></td>
|
||||
<td><?= $certificate_issued_by ?></td>
|
||||
<td><?= $certificate_expire ?></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
@@ -55,7 +55,7 @@ if ($row) {
|
||||
<div class="col-md-6">
|
||||
<form action="post.php" method="post">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="contact_id" value="<?php echo $contact_id; ?>">
|
||||
<input type="hidden" name="contact_id" value="<?= $contact_id ?>">
|
||||
|
||||
<div class="form-group">
|
||||
<label>Name <strong class="text-danger">*</strong></label>
|
||||
@@ -63,7 +63,7 @@ if ($row) {
|
||||
<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_name" value="<?php echo escapeHtml($contact_name) ?>" required maxlength="200">
|
||||
<input type="text" class="form-control" name="contact_name" value="<?= escapeHtml($contact_name) ?>" required maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -73,7 +73,7 @@ if ($row) {
|
||||
<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="contact_email" value="<?php echo escapeHtml($contact_email) ?>" required maxlength="200">
|
||||
<input type="email" class="form-control" name="contact_email" value="<?= escapeHtml($contact_email) ?>" required maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -59,9 +59,9 @@ $contacts_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name, contact_
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><a href="contact_edit.php?id=<?php echo $contact_id?>"><?php echo $contact_name ?></a></td>
|
||||
<td><?php echo $contact_email; ?></td>
|
||||
<td><?php echo $contact_roles_display ?></td>
|
||||
<td><a href="contact_edit.php?id=<?= $contact_id ?>"><?= $contact_name ?></a></td>
|
||||
<td><?= $contact_email ?></td>
|
||||
<td><?= $contact_roles_display ?></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
@@ -88,23 +88,23 @@ if (mysqli_num_rows($sql_files) > 0) {
|
||||
<div class="card-header">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<h3 class="mb-0"><i class="fas fa-file-pdf text-danger mr-2"></i><?php echo $document_name; ?></h3>
|
||||
<h3 class="mb-0"><i class="fas fa-file-pdf text-danger mr-2"></i><?= $document_name ?></h3>
|
||||
<?php if (!empty($document_description)) { ?>
|
||||
<small class="text-muted"><?php echo $document_description; ?></small>
|
||||
<small class="text-muted"><?= $document_description ?></small>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<a href="<?php echo $file_view_url; ?>" target="_blank" class="btn btn-primary">
|
||||
<a href="<?= $file_view_url ?>" target="_blank" class="btn btn-primary">
|
||||
<i class="fas fa-external-link-alt mr-2"></i>Open in New Tab
|
||||
</a>
|
||||
<a href="<?php echo $file_download_url; ?>" class="btn btn-secondary">
|
||||
<a href="<?= $file_download_url ?>" class="btn btn-secondary">
|
||||
<i class="fas fa-download mr-2"></i>Download
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<embed src="<?php echo $file_view_url; ?>" type="application/pdf" width="100%" height="800px" />
|
||||
<embed src="<?= $file_view_url ?>" type="application/pdf" width="100%" height="800px" />
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
@@ -116,23 +116,23 @@ if (mysqli_num_rows($sql_files) > 0) {
|
||||
<div class="card-header">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<h3 class="mb-0"><i class="fas fa-image text-primary mr-2"></i><?php echo $document_name; ?></h3>
|
||||
<h3 class="mb-0"><i class="fas fa-image text-primary mr-2"></i><?= $document_name ?></h3>
|
||||
<?php if (!empty($document_description)) { ?>
|
||||
<small class="text-muted"><?php echo $document_description; ?></small>
|
||||
<small class="text-muted"><?= $document_description ?></small>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<a href="<?php echo $file_view_url; ?>" target="_blank" class="btn btn-primary">
|
||||
<a href="<?= $file_view_url ?>" target="_blank" class="btn btn-primary">
|
||||
<i class="fas fa-external-link-alt mr-2"></i>View Full Size
|
||||
</a>
|
||||
<a href="<?php echo $file_download_url; ?>" class="btn btn-secondary">
|
||||
<a href="<?= $file_download_url ?>" class="btn btn-secondary">
|
||||
<i class="fas fa-download mr-2"></i>Download
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body text-center">
|
||||
<img src="<?php echo $file_view_url; ?>" alt="<?php echo $file_name; ?>" class="img-fluid" style="max-height: 600px;">
|
||||
<img src="<?= $file_view_url ?>" alt="<?= $file_name ?>" class="img-fluid" style="max-height: 600px;">
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
@@ -145,16 +145,16 @@ if (mysqli_num_rows($sql_files) > 0) {
|
||||
<div class="card-header">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<h3 class="mb-0"><i class="fas fa-<?php echo $file_icon; ?> mr-2"></i><?php echo $document_name; ?></h3>
|
||||
<h3 class="mb-0"><i class="fas fa-<?= $file_icon ?> mr-2"></i><?= $document_name ?></h3>
|
||||
<?php if (!empty($document_description)) { ?>
|
||||
<small class="text-muted"><?php echo $document_description; ?></small>
|
||||
<small class="text-muted"><?= $document_description ?></small>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<a href="<?php echo $file_download_url; ?>" class="btn btn-primary">
|
||||
<a href="<?= $file_download_url ?>" class="btn btn-primary">
|
||||
<i class="fas fa-external-link-alt mr-2"></i>Open File
|
||||
</a>
|
||||
<a href="<?php echo $file_download_url; ?>" class="btn btn-secondary">
|
||||
<a href="<?= $file_download_url ?>" class="btn btn-secondary">
|
||||
<i class="fas fa-download mr-2"></i>Download
|
||||
</a>
|
||||
</div>
|
||||
@@ -163,17 +163,17 @@ if (mysqli_num_rows($sql_files) > 0) {
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-auto">
|
||||
<i class="fas fa-<?php echo $file_icon; ?> fa-3x text-secondary"></i>
|
||||
<i class="fas fa-<?= $file_icon ?> fa-3x text-secondary"></i>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h5><?php echo $file_name; ?></h5>
|
||||
<h5><?= $file_name ?></h5>
|
||||
<p class="text-muted mb-2">
|
||||
<strong>Type:</strong> <?php echo strtoupper($file_ext); ?> File<br>
|
||||
<strong>Size:</strong> <?php echo $file_size_formatted; ?>
|
||||
<strong>Type:</strong> <?= strtoupper($file_ext) ?> File<br>
|
||||
<strong>Size:</strong> <?= $file_size_formatted ?>
|
||||
</p>
|
||||
<?php if (!empty($document_content) && $document_content != "<p>Uploaded file: <strong>$file_name</strong></p><p>$document_description</p>") { ?>
|
||||
<div class="mt-3">
|
||||
<?php echo $document_content; ?>
|
||||
<?= $document_content ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
@@ -188,8 +188,8 @@ if (mysqli_num_rows($sql_files) > 0) {
|
||||
?>
|
||||
<div class="card">
|
||||
<div class="card-body prettyContent">
|
||||
<h3><?php echo $document_name; ?></h3>
|
||||
<?php echo $document_content; ?>
|
||||
<h3><?= $document_name ?></h3>
|
||||
<?= $document_content ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -52,7 +52,7 @@ $documents_sql = mysqli_query($mysqli, "SELECT document_id, document_name, docum
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="document.php?id=<?php echo $document_id?>">
|
||||
<a href="document.php?id=<?= $document_id ?>">
|
||||
<i class="fas fa-file-alt mr-2"></i>
|
||||
<?php
|
||||
if (!empty($folder_name)) {
|
||||
@@ -62,9 +62,9 @@ $documents_sql = mysqli_query($mysqli, "SELECT document_id, document_name, docum
|
||||
?>
|
||||
</a>
|
||||
</td>
|
||||
<td><?php echo date('M j, Y', strtotime($document_created_at)); ?></td>
|
||||
<td><?= date('M j, Y', strtotime($document_created_at)) ?></td>
|
||||
<td class="text-center">
|
||||
<a href="document.php?id=<?php echo $document_id?>" class="btn btn-sm btn-outline-primary">
|
||||
<a href="document.php?id=<?= $document_id ?>" class="btn btn-sm btn-outline-primary">
|
||||
<i class="fas fa-eye"></i>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -35,8 +35,8 @@ $domains_sql = mysqli_query($mysqli, "SELECT domain_id, domain_name, domain_expi
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $domain_name; ?></td>
|
||||
<td><?php echo $domain_expire; ?></td>
|
||||
<td><?= $domain_name ?></td>
|
||||
<td><?= $domain_expire ?></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
@@ -12,7 +12,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title><?php echo escapeHtml($session_company_name); ?> | Client Portal</title>
|
||||
<title><?= escapeHtml($session_company_name) ?> | Client Portal</title>
|
||||
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@@ -35,7 +35,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="index.php"><?php echo escapeHtml($session_company_name); ?></a>
|
||||
<a class="navbar-brand" href="index.php"><?= escapeHtml($session_company_name) ?></a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
@@ -51,7 +51,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
|
||||
<?php if (contactCan('accounting') && $config_module_enable_accounting == 1) { ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle <?php echo in_array(basename($_SERVER['PHP_SELF']), ['invoices.php', 'quotes.php', 'autopay.php']) ? 'active' : ''; ?>" href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<a class="nav-link dropdown-toggle <?= in_array(basename($_SERVER['PHP_SELF']), ['invoices.php', 'quotes.php', 'autopay.php']) ? 'active' : '' ?>" href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Finance
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown1">
|
||||
@@ -65,7 +65,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
|
||||
<?php if ($config_module_enable_itdoc && contactCan('itdoc')) { ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle <?php echo in_array(basename($_SERVER['PHP_SELF']), ['documents.php', 'contacts.php', 'domains.php', 'certificates.php']) ? 'active' : ''; ?>" href="#" id="navbarDropdown2" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<a class="nav-link dropdown-toggle <?= in_array(basename($_SERVER['PHP_SELF']), ['documents.php', 'contacts.php', 'domains.php', 'certificates.php']) ? 'active' : '' ?>" href="#" id="navbarDropdown2" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Technical
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown2">
|
||||
@@ -97,7 +97,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
?>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="<?php echo $custom_link_uri; ?>" <?php echo $target; ?> class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == basename($custom_link_uri)) { echo "active"; } ?>"><?php echo $custom_link_name ?></a>
|
||||
<a href="<?= $custom_link_uri ?>" <?= $target ?> class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == basename($custom_link_uri)) { echo "active"; } ?>"><?= $custom_link_name ?></a>
|
||||
</li>
|
||||
|
||||
<?php } ?>
|
||||
@@ -107,7 +107,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
<ul class="nav navbar-nav pull-right">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown">
|
||||
<?php echo stripslashes(escapeHtml($session_contact_name)); ?>
|
||||
<?= stripslashes(escapeHtml($session_contact_name)) ?>
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="/client/profile.php"><i class="fas fa-fw fa-user mr-2"></i>Account</a>
|
||||
@@ -133,16 +133,16 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
<?php } else { ?>
|
||||
<span class="fa-stack fa-2x rounded-left">
|
||||
<i class="fa fa-circle fa-stack-2x text-secondary"></i>
|
||||
<span class="fa fa-stack-1x text-white"><?php echo $session_contact_initials; ?></span>
|
||||
<span class="fa fa-stack-1x text-white"><?= $session_contact_initials ?></span>
|
||||
</span>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="col-md-11 p-0">
|
||||
<?php if ($session_company_logo) { ?>
|
||||
<img height="48" width="142" class="img-fluid float-right" src="<?php echo "/uploads/settings/$session_company_logo"; ?>">
|
||||
<img height="48" width="142" class="img-fluid float-right" src="<?= "/uploads/settings/$session_company_logo" ?>">
|
||||
<?php } ?>
|
||||
<h4>Welcome, <strong><?php echo stripslashes(escapeHtml($session_contact_name)); ?></strong>!</h4>
|
||||
<h4>Welcome, <strong><?= stripslashes(escapeHtml($session_contact_name)) ?></strong>!</h4>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@@ -154,8 +154,8 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
$_SESSION['alert_type'] = "info";
|
||||
}
|
||||
?>
|
||||
<div class="alert alert-<?php echo $_SESSION['alert_type']; ?>" id="alert">
|
||||
<?php echo escapeHtml($_SESSION['alert_message']); ?>
|
||||
<div class="alert alert-<?= $_SESSION['alert_type'] ?>" id="alert">
|
||||
<?= escapeHtml($_SESSION['alert_message']) ?>
|
||||
<button class='close' data-dismiss='alert'>×</button>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -186,7 +186,7 @@ if (contactCan('accounting')) { ?>
|
||||
<h3 class="card-title text-bold text-dark">Account Balance</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="h4 text-danger"><b><?php echo numfmt_format_currency($currency_format, $balance, $session_company_currency); ?></b></div>
|
||||
<div class="h4 text-danger"><b><?= numfmt_format_currency($currency_format, $balance, $session_company_currency) ?></b></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@@ -199,7 +199,7 @@ if (contactCan('accounting')) { ?>
|
||||
<h3 class="card-title">Recurring Monthly</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="h4"><b><?php echo numfmt_format_currency($currency_format, $recurring_monthly_total, $session_company_currency); ?></b></div>
|
||||
<div class="h4"><b><?= numfmt_format_currency($currency_format, $recurring_monthly_total, $session_company_currency) ?></b></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@@ -234,9 +234,9 @@ if (contactCan('itdoc')) {
|
||||
|
||||
?>
|
||||
<p>
|
||||
<strong><?php echo $domain_name; ?></strong>
|
||||
<strong><?= $domain_name ?></strong>
|
||||
<br>
|
||||
<small class="text-secondary"><?php echo $domain_expire; ?> (<?php echo $domain_expire_human; ?>)</small>
|
||||
<small class="text-secondary"><?= $domain_expire ?> (<?= $domain_expire_human ?>)</small>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
@@ -273,8 +273,8 @@ if (contactCan('itdoc')) {
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><i class=" text-secondary mr-2"></i><?php if ($asset_uri_client) { ?><a href="<?= $asset_uri_client ?>" target="_blank"><i class='fas fa-external-link-alt mr-2'></i></a><?php } ?><?php echo $asset_name; ?></td>
|
||||
<td class="text-secondary">(<?php echo $asset_type; ?>)</td>
|
||||
<td><i class=" text-secondary mr-2"></i><?php if ($asset_uri_client) { ?><a href="<?= $asset_uri_client ?>" target="_blank"><i class='fas fa-external-link-alt mr-2'></i></a><?php } ?><?= $asset_name ?></td>
|
||||
<td class="text-secondary">(<?= $asset_type ?>)</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
@@ -73,14 +73,14 @@ $invoices_sql = mysqli_query($mysqli, "SELECT * FROM invoices WHERE invoice_clie
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><a target="_blank" href="//<?php echo $config_base_url ?>/guest/guest_view_invoice.php?invoice_id=<?php echo "$invoice_id&url_key=$invoice_url_key"?>"> <?php echo "$invoice_prefix$invoice_number"; ?></a></td>
|
||||
<td><?php echo $invoice_scope_display; ?></td>
|
||||
<td><?php echo numfmt_format_currency($currency_format, $invoice_amount, $session_company_currency); ?></td>
|
||||
<td><?php echo $invoice_date; ?></td>
|
||||
<td class="<?php echo $overdue_color; ?>"><?php echo $invoice_due; ?></td>
|
||||
<td><a target="_blank" href="//<?= $config_base_url ?>/guest/guest_view_invoice.php?invoice_id=<?= "$invoice_id&url_key=$invoice_url_key" ?>"> <?= "$invoice_prefix$invoice_number" ?></a></td>
|
||||
<td><?= $invoice_scope_display ?></td>
|
||||
<td><?= numfmt_format_currency($currency_format, $invoice_amount, $session_company_currency) ?></td>
|
||||
<td><?= $invoice_date ?></td>
|
||||
<td class="<?= $overdue_color ?>"><?= $invoice_due ?></td>
|
||||
<td>
|
||||
<span class="p-2 badge badge-<?php echo $invoice_badge_color; ?>">
|
||||
<?php echo $invoice_status; ?>
|
||||
<span class="p-2 badge badge-<?= $invoice_badge_color ?>">
|
||||
<?= $invoice_status ?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -167,7 +167,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title><?php echo escapeHtml($company_name_display); ?> | Password Reset</title>
|
||||
<title><?= escapeHtml($company_name_display) ?> | Password Reset</title>
|
||||
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@@ -191,7 +191,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||
|
||||
<body class="hold-transition login-page">
|
||||
<div class="login-box">
|
||||
<div class="login-logo"><b><?php echo escapeHtml($company_name_display); ?></b> <br>Password Reset</h2></div>
|
||||
<div class="login-logo"><b><?= escapeHtml($company_name_display) ?></b> <br>Password Reset</h2></div>
|
||||
<div class="card">
|
||||
<div class="card-body login-card-body">
|
||||
|
||||
@@ -222,9 +222,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
||||
<input type="hidden" name="email" value="<?php echo $email; ?>">
|
||||
<input type="hidden" name="client" value="<?php echo $client; ?>">
|
||||
<input type="hidden" name="token" value="<?= $token ?>">
|
||||
<input type="hidden" name="email" value="<?= $email ?>">
|
||||
<input type="hidden" name="client" value="<?= $client ?>">
|
||||
|
||||
<button type="submit" class="btn btn-success btn-block mb-3" name="password_reset_set_password">Reset password</button>
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@ require_once 'includes/inc_all.php';
|
||||
|
||||
<h2>Profile</h2>
|
||||
|
||||
<p>Name: <?php echo stripslashes(escapeHtml($session_contact_name)); ?></p>
|
||||
<p>Email: <?php echo $session_contact_email ?></p>
|
||||
<p>PIN: <?php echo $session_contact_pin ?></p>
|
||||
<p>Client: <?php echo $session_client_name ?></p>
|
||||
<p>Name: <?= stripslashes(escapeHtml($session_contact_name)) ?></p>
|
||||
<p>Email: <?= $session_contact_email ?></p>
|
||||
<p>PIN: <?= $session_contact_pin ?></p>
|
||||
<p>Client: <?= $session_client_name ?></p>
|
||||
<br>
|
||||
<p>Client Primary Contact: <?php if ($session_contact_primary == 1) {echo "Yes"; } else {echo "No";} ?></p>
|
||||
<p>Client Technical Contact: <?php if ($session_contact_is_technical_contact) {echo "Yes"; } else {echo "No";} ?></p>
|
||||
<p>Client Billing Contact: <?php if ($session_contact_is_billing_contact == $session_contact_id) {echo "Yes"; } else {echo "No";} ?></p>
|
||||
<br>
|
||||
<p>Login via: <?php echo $_SESSION['login_method'] ?> </p>
|
||||
<p>User ID: <?php echo $_SESSION['user_id'] ?> </p>
|
||||
<p>Login via: <?= $_SESSION['login_method'] ?> </p>
|
||||
<p>User ID: <?= $_SESSION['user_id'] ?> </p>
|
||||
|
||||
|
||||
<!-- // Show option to change password if auth provider is local -->
|
||||
|
||||
@@ -64,13 +64,13 @@ $quotes_sql = mysqli_query($mysqli, "SELECT * FROM quotes WHERE quote_client_id
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><a target="_blank" href="//<?php echo $config_base_url ?>/guest/guest_view_quote.php?quote_id=<?php echo "$quote_id&url_key=$quote_url_key"?>"> <?php echo "$quote_prefix$quote_number"; ?></a></td>
|
||||
<td><?php echo $quote_scope_display; ?></td>
|
||||
<td><?php echo numfmt_format_currency($currency_format, $quote_amount, $session_company_currency); ?></td>
|
||||
<td><?php echo $quote_date; ?></td>
|
||||
<td><a target="_blank" href="//<?= $config_base_url ?>/guest/guest_view_quote.php?quote_id=<?= "$quote_id&url_key=$quote_url_key" ?>"> <?= "$quote_prefix$quote_number" ?></a></td>
|
||||
<td><?= $quote_scope_display ?></td>
|
||||
<td><?= numfmt_format_currency($currency_format, $quote_amount, $session_company_currency) ?></td>
|
||||
<td><?= $quote_date ?></td>
|
||||
<td>
|
||||
<span class="p-2 badge badge-<?php echo $quote_badge_color; ?>">
|
||||
<?php echo $quote_status; ?>
|
||||
<span class="p-2 badge badge-<?= $quote_badge_color ?>">
|
||||
<?= $quote_status ?>
|
||||
</span>
|
||||
</td>
|
||||
|
||||
|
||||
@@ -68,10 +68,10 @@ $payment_provider_threshold = floatval($row['payment_provider_threshold']);
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $recurring_invoice_scope_display; ?></td>
|
||||
<td><?php echo numfmt_format_currency($currency_format, $recurring_invoice_amount, $session_company_currency); ?></td>
|
||||
<td><?php echo $recurring_invoice_next_date; ?></td>
|
||||
<td><?php echo ucwords($recurring_invoice_frequency); ?>ly</td>
|
||||
<td><?= $recurring_invoice_scope_display ?></td>
|
||||
<td><?= numfmt_format_currency($currency_format, $recurring_invoice_amount, $session_company_currency) ?></td>
|
||||
<td><?= $recurring_invoice_next_date ?></td>
|
||||
<td><?= ucwords($recurring_invoice_frequency) ?>ly</td>
|
||||
<?php if ($payment_provider_id) { ?>
|
||||
<td>
|
||||
<?php $sql = mysqli_query($mysqli, "SELECT * FROM client_saved_payment_methods WHERE saved_payment_client_id = $session_client_id");
|
||||
@@ -79,7 +79,7 @@ $payment_provider_threshold = floatval($row['payment_provider_threshold']);
|
||||
<form class="form" action="post.php" method="post">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="set_recurring_payment" value="1">
|
||||
<input type="hidden" name="recurring_invoice_id" value="<?php echo $recurring_invoice_id; ?>">
|
||||
<input type="hidden" name="recurring_invoice_id" value="<?= $recurring_invoice_id ?>">
|
||||
<select class="form-control select2" name="saved_payment_id" onchange="this.form.submit()">
|
||||
<option value="0">Disabled</option>
|
||||
<?php
|
||||
@@ -88,7 +88,7 @@ $payment_provider_threshold = floatval($row['payment_provider_threshold']);
|
||||
$saved_payment_description = escapeHtml($row['saved_payment_description']);
|
||||
|
||||
?>
|
||||
<option <?php if ($recurring_payment_saved_payment_id == $saved_payment_id) { echo "selected"; } ?> value="<?php echo $saved_payment_id; ?>"><?php echo $saved_payment_description; ?></option>
|
||||
<option <?php if ($recurring_payment_saved_payment_id == $saved_payment_id) { echo "selected"; } ?> value="<?= $saved_payment_id ?>"><?= $saved_payment_description ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</form>
|
||||
|
||||
@@ -121,7 +121,7 @@ if (!$stripe_public_key || !$stripe_secret_key) {
|
||||
<div class="col-md-6">
|
||||
<b>Add a new payment method</b><br><br>
|
||||
|
||||
<input type="hidden" id="stripe_publishable_key" value="<?php echo $stripe_public_key ?>">
|
||||
<input type="hidden" id="stripe_publishable_key" value="<?= $stripe_public_key ?>">
|
||||
<script src="https://js.stripe.com/v3/"></script>
|
||||
<script src="../js/autopay_setup_stripe.js"></script>
|
||||
<div id="checkout">
|
||||
|
||||
@@ -86,46 +86,46 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
<li class="breadcrumb-item">
|
||||
<a href="tickets.php">Tickets</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">Ticket <?php echo $ticket_prefix . $ticket_number; ?></li>
|
||||
<li class="breadcrumb-item active">Ticket <?= $ticket_prefix . $ticket_number ?></li>
|
||||
</ol>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header bg-dark my-2">
|
||||
<h4 class="card-title mt-1">
|
||||
Ticket <?php echo $ticket_prefix, $ticket_number ?>
|
||||
Ticket <?= $ticket_prefix, $ticket_number ?>
|
||||
</h4>
|
||||
<div class="card-tools">
|
||||
<?php
|
||||
if (empty($ticket_resolved_at) && $task_count == $completed_task_count) { ?>
|
||||
<a href="post.php?resolve_ticket=<?php echo $ticket_id; ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-sm btn-outline-success float-right text-white confirm-link"><i class="fas fa-fw fa-check text-success"></i> Resolve ticket</a>
|
||||
<a href="post.php?resolve_ticket=<?= $ticket_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-sm btn-outline-success float-right text-white confirm-link"><i class="fas fa-fw fa-check text-success"></i> Resolve ticket</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body prettyContent">
|
||||
<h5><strong>Subject:</strong> <?php echo $ticket_subject ?></h5>
|
||||
<h5><strong>Subject:</strong> <?= $ticket_subject ?></h5>
|
||||
<p>
|
||||
<strong>State:</strong> <?php echo $ticket_status ?><br>
|
||||
<strong>Priority:</strong> <?php echo $ticket_priority ?><br>
|
||||
<strong>State:</strong> <?= $ticket_status ?><br>
|
||||
<strong>Priority:</strong> <?= $ticket_priority ?><br>
|
||||
<?php if (!empty($ticket_category)) { ?>
|
||||
<strong>Category:</strong> <?php echo $ticket_category ?><br>
|
||||
<strong>Category:</strong> <?= $ticket_category ?><br>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (empty($ticket_closed_at)) { ?>
|
||||
|
||||
<?php if ($task_count) { ?>
|
||||
<strong>Tasks: </strong> <?php echo $completed_task_count . " / " .$task_count ?>
|
||||
<strong>Tasks: </strong> <?= $completed_task_count . " / " .$task_count ?>
|
||||
<br>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!empty($ticket_assigned_to)) { ?>
|
||||
<strong>Assigned to: </strong> <?php echo $ticket_assigned_to ?>
|
||||
<strong>Assigned to: </strong> <?= $ticket_assigned_to ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
</p>
|
||||
<hr>
|
||||
<?php echo $ticket_details ?>
|
||||
<?= $ticket_details ?>
|
||||
|
||||
<table class="table-sm">
|
||||
|
||||
@@ -212,7 +212,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
|
||||
<form action="post.php" enctype="multipart/form-data" method="post">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="ticket_id" value="<?php echo $ticket_id ?>">
|
||||
<input type="hidden" name="ticket_id" value="<?= $ticket_id ?>">
|
||||
<div class="form-group">
|
||||
<textarea class="form-control tinymce" name="comment" placeholder="Add comments.."></textarea>
|
||||
</div>
|
||||
@@ -230,11 +230,11 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
<div class="col-6">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<a href="post.php?reopen_ticket=<?php echo $ticket_id; ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-secondary btn-lg"><i class="fas fa-fw fa-redo text-white"></i> Reopen ticket</a>
|
||||
<a href="post.php?reopen_ticket=<?= $ticket_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-secondary btn-lg"><i class="fas fa-fw fa-redo text-white"></i> Reopen ticket</a>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-success btn-lg confirm-link"><i class="fas fa-fw fa-gavel text-white"></i> Close ticket</a>
|
||||
<a href="post.php?close_ticket=<?= $ticket_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-success btn-lg confirm-link"><i class="fas fa-fw fa-gavel text-white"></i> Close ticket</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -246,7 +246,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
|
||||
<form action="post.php" method="post">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="ticket_id" value="<?php echo $ticket_id ?>">
|
||||
<input type="hidden" name="ticket_id" value="<?= $ticket_id ?>">
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-lg" name="add_ticket_feedback" value="Good" onclick="this.form.submit()">
|
||||
<span class="fa fa-smile" aria-hidden="true"></span> Good
|
||||
@@ -259,7 +259,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<h4>Rated <?php echo $ticket_feedback ?> -- Thanks for your feedback!</h4>
|
||||
<h4>Rated <?= $ticket_feedback ?> -- Thanks for your feedback!</h4>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
@@ -308,29 +308,29 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
<?php
|
||||
if (!empty($user_avatar)) {
|
||||
?>
|
||||
<img src="<?php echo $avatar_link ?>" alt="User Avatar" class="img-size-50 mr-3 img-circle">
|
||||
<img src="<?= $avatar_link ?>" alt="User Avatar" class="img-size-50 mr-3 img-circle">
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-circle fa-stack-2x text-secondary"></i>
|
||||
<span class="fa fa-stack-1x text-white"><?php echo $user_initials; ?></span>
|
||||
<span class="fa fa-stack-1x text-white"><?= $user_initials ?></span>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="media-body">
|
||||
<?php echo $ticket_reply_by_display; ?>
|
||||
<?= $ticket_reply_by_display ?>
|
||||
<br>
|
||||
<small class="text-muted"><?php echo $ticket_reply_created_at; ?> <?php if (!empty($ticket_reply_updated_at)) { echo "(edited: $ticket_reply_updated_at)"; } ?></small>
|
||||
<small class="text-muted"><?= $ticket_reply_created_at ?> <?php if (!empty($ticket_reply_updated_at)) { echo "(edited: $ticket_reply_updated_at)"; } ?></small>
|
||||
</div>
|
||||
</div>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-body prettyContent">
|
||||
<?php echo $ticket_reply; ?>
|
||||
<?= $ticket_reply ?>
|
||||
|
||||
<table class="table-sm">
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ $sql_assets = mysqli_query($mysqli, "SELECT asset_id, asset_name, asset_type FRO
|
||||
$category_name = escapeHtml($row['category_name']);
|
||||
|
||||
?>
|
||||
<option value="<?php echo $category_id; ?>"><?php echo $category_name; ?></option>
|
||||
<option value="<?= $category_id ?>"><?= $category_name ?></option>
|
||||
<?php } ?>
|
||||
|
||||
</select>
|
||||
@@ -95,7 +95,7 @@ $sql_assets = mysqli_query($mysqli, "SELECT asset_id, asset_name, asset_type FRO
|
||||
$asset_name = escapeSql($row['asset_name']);
|
||||
$asset_type = escapeSql($row['asset_type']);
|
||||
?>
|
||||
<option value="<?php echo $asset_id ?>"><?php echo "$asset_name ($asset_type)"; ?></option>
|
||||
<option value="<?= $asset_id ?>"><?= "$asset_name ($asset_type)" ?></option>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -68,12 +68,12 @@ $total_tickets = intval($row['total_tickets']);
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="ticket.php?id=<?php echo $ticket_id; ?>"><?php echo "$ticket_prefix$ticket_number"; ?></a>
|
||||
<a href="ticket.php?id=<?= $ticket_id ?>"><?= "$ticket_prefix$ticket_number" ?></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="ticket.php?id=<?php echo $ticket_id; ?>"><?php echo $ticket_subject; ?></a>
|
||||
<a href="ticket.php?id=<?= $ticket_id ?>"><?= $ticket_subject ?></a>
|
||||
</td>
|
||||
<td><?php echo $ticket_status; ?></td>
|
||||
<td><?= $ticket_status ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@@ -89,11 +89,11 @@ $total_tickets = intval($row['total_tickets']);
|
||||
|
||||
<hr>
|
||||
|
||||
<a href="?status=Open" class="btn btn-danger btn-block p-3 mb-3 text-left">My Open tickets | <strong><?php echo $total_tickets_open ?></strong></a>
|
||||
<a href="?status=Open" class="btn btn-danger btn-block p-3 mb-3 text-left">My Open tickets | <strong><?= $total_tickets_open ?></strong></a>
|
||||
|
||||
<a href="?status=Closed" class="btn btn-success btn-block p-3 mb-3 text-left">Closed tickets | <strong><?php echo $total_tickets_closed ?></strong></a>
|
||||
<a href="?status=Closed" class="btn btn-success btn-block p-3 mb-3 text-left">Closed tickets | <strong><?= $total_tickets_closed ?></strong></a>
|
||||
|
||||
<a href="?status=%" class="btn btn-secondary btn-block p-3 mb-3 text-left">All my tickets | <strong><?php echo $total_tickets ?></strong></a>
|
||||
<a href="?status=%" class="btn btn-secondary btn-block p-3 mb-3 text-left">All my tickets | <strong><?= $total_tickets ?></strong></a>
|
||||
<?php
|
||||
if ($session_contact_primary == 1 || $session_contact_is_technical_contact) {
|
||||
?>
|
||||
|
||||
@@ -55,9 +55,9 @@ $balance = $invoice_amounts - $amount_paid;
|
||||
</div>
|
||||
<div class="col-5">
|
||||
<?php if ($payment_provider_active && $bulk_payment_enabled) { // Currently not implmented fully ?>
|
||||
<button type="button" class="btn btn-outline-success dropdown-toggle float-right" data-toggle="dropdown"><i class="fa fa-fw fa-credit-card mr-2"></i>Pay Balance <strong>(<?php echo numfmt_format_currency($currency_format, $balance, $session_company_currency); ?>)</strong></button>
|
||||
<button type="button" class="btn btn-outline-success dropdown-toggle float-right" data-toggle="dropdown"><i class="fa fa-fw fa-credit-card mr-2"></i>Pay Balance <strong>(<?= numfmt_format_currency($currency_format, $balance, $session_company_currency) ?>)</strong></button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="//<?php echo $config_base_url ?>/guest/guest_pay_invoice_stripe.php?invoice_id=<?php echo "$invoice_id&url_key=$invoice_url_key"; ?>">Enter Card Manually</a>
|
||||
<a class="dropdown-item" href="//<?= $config_base_url ?>/guest/guest_pay_invoice_stripe.php?invoice_id=<?= "$invoice_id&url_key=$invoice_url_key" ?>">Enter Card Manually</a>
|
||||
<?php
|
||||
if (mysqli_num_rows($sql_saved_payment_methods) > 0) { ?>
|
||||
<h6 class="dropdown-header text-left">Pay with a Saved Card</h6>
|
||||
@@ -68,7 +68,7 @@ $balance = $invoice_amounts - $amount_paid;
|
||||
$payment_provider_name = escapeHtml($row['payment_provider_name']);
|
||||
?>
|
||||
|
||||
<a class="dropdown-item confirm-link" href="post.php?add_payment_by_provider=<?php echo $saved_payment_provider_id; ?>&invoice_id=<?php echo $invoice_id; ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>"><?php echo "$payment_provider_name | $saved_payment_description"; ?></a>
|
||||
<a class="dropdown-item confirm-link" href="post.php?add_payment_by_provider=<?= $saved_payment_provider_id ?>&invoice_id=<?= $invoice_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>"><?= "$payment_provider_name | $saved_payment_description" ?></a>
|
||||
<?php }
|
||||
} ?>
|
||||
</div>
|
||||
@@ -133,11 +133,11 @@ $balance = $invoice_amounts - $amount_paid;
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><a target="_blank" href="//<?php echo $config_base_url ?>/guest/guest_view_invoice.php?invoice_id=<?php echo "$invoice_id&url_key=$invoice_url_key"?>"> <?php echo "$invoice_prefix$invoice_number"; ?></a></td>
|
||||
<td><?php echo $invoice_scope_display; ?></td>
|
||||
<td><?php echo numfmt_format_currency($currency_format, $invoice_amount, $session_company_currency); ?></td>
|
||||
<td><?php echo $invoice_date; ?></td>
|
||||
<td class="<?php echo $overdue_color; ?>"><?php echo $invoice_due; ?></td>
|
||||
<td><a target="_blank" href="//<?= $config_base_url ?>/guest/guest_view_invoice.php?invoice_id=<?= "$invoice_id&url_key=$invoice_url_key" ?>"> <?= "$invoice_prefix$invoice_number" ?></a></td>
|
||||
<td><?= $invoice_scope_display ?></td>
|
||||
<td><?= numfmt_format_currency($currency_format, $invoice_amount, $session_company_currency) ?></td>
|
||||
<td><?= $invoice_date ?></td>
|
||||
<td class="<?= $overdue_color ?>"><?= $invoice_due ?></td>
|
||||
<td>
|
||||
<?php
|
||||
if ($invoice_status !== "Paid" &&
|
||||
@@ -151,7 +151,7 @@ $balance = $invoice_amounts - $amount_paid;
|
||||
){ ?>
|
||||
<button type="button" class="btn btn-sm btn-outline-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-fw fa-credit-card mr-2"></i>Pay</button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="//<?php echo $config_base_url ?>/guest/guest_pay_invoice_stripe.php?invoice_id=<?php echo "$invoice_id&url_key=$invoice_url_key"; ?>">Enter Card Manually</a>
|
||||
<a class="dropdown-item" href="//<?= $config_base_url ?>/guest/guest_pay_invoice_stripe.php?invoice_id=<?= "$invoice_id&url_key=$invoice_url_key" ?>">Enter Card Manually</a>
|
||||
|
||||
<?php
|
||||
// Saved Payment Methods
|
||||
@@ -183,7 +183,7 @@ $balance = $invoice_amounts - $amount_paid;
|
||||
|
||||
<a class="dropdown-item confirm-link"
|
||||
href="post.php?add_payment_by_provider=<?= $saved_payment_id ?>&invoice_id=<?= $invoice_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
<i class="<?php echo $payment_icon; ?> text-secondary mr-2"></i><?= $saved_payment_description ?>
|
||||
<i class="<?= $payment_icon ?> text-secondary mr-2"></i><?= $saved_payment_description ?>
|
||||
</a>
|
||||
<?php }
|
||||
} ?>
|
||||
|
||||
Reference in New Issue
Block a user