mirror of
https://github.com/itflow-org/itflow
synced 2026-09-21 14:11:17 +00:00
Initial migration from AdminLTE 3 to 4, bootstrap 4 to 5
This commit is contained in:
@@ -107,7 +107,7 @@ $ticket_details = $purifier->purify($task_row['ticket_details']);
|
||||
<hr>
|
||||
|
||||
<div class="card-footer">
|
||||
<?= "<i class='fas fa-phone fa-fw mr-2'></i>$company_phone | <i class='fas fa-globe fa-fw mr-2 ml-2'></i>$company_website" ?>
|
||||
<?= "<i class='fas fa-phone fa-fw me-2'></i>$company_phone | <i class='fas fa-globe fa-fw me-2 ms-2'></i>$company_website" ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -86,7 +86,7 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent
|
||||
<tr>
|
||||
<th>Product</th>
|
||||
<th class="text-center">Qty</th>
|
||||
<th class="text-right">Total</th>
|
||||
<th class="text-end">Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -99,11 +99,11 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent
|
||||
<tr>
|
||||
<td><?= $item_name ?></td>
|
||||
<td class="text-center"><?= $item_quantity ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_total, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_total, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ($invoice_discount > 0) { ?>
|
||||
<tr class="text-right">
|
||||
<tr class="text-end">
|
||||
<td colspan="2">Discount</td>
|
||||
<td>
|
||||
<?= numfmt_format_currency($currency_format, $invoice_discount, $invoice_currency_code) ?>
|
||||
@@ -111,7 +111,7 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if (intval($amount_paid) > 0) { ?>
|
||||
<tr class="text-right">
|
||||
<tr class="text-end">
|
||||
<td colspan="2">Paid</td>
|
||||
<td>
|
||||
<?= numfmt_format_currency($currency_format, $amount_paid, $invoice_currency_code) ?>
|
||||
@@ -136,9 +136,9 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent
|
||||
<input type="hidden" id="url_key" value="<?= $invoice_url_key ?>">
|
||||
<div id="payment-element"></div>
|
||||
<br>
|
||||
<button type="submit" id="submit" class="btn btn-primary btn-lg btn-block text-bold" hidden="hidden">
|
||||
<button type="submit" id="submit" class="btn btn-primary btn-lg w-100 text-bold" hidden="hidden">
|
||||
<div class="spinner hidden" id="spinner"></div>
|
||||
<span id="button-text"><i class="fas fa-check mr-2"></i>Pay Invoice</span>
|
||||
<span id="button-text"><i class="fas fa-check me-2"></i>Pay Invoice</span>
|
||||
</button>
|
||||
<div id="payment-message" class="hidden"></div>
|
||||
</form>
|
||||
|
||||
@@ -2,24 +2,22 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content bg-dark">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-cloud-upload-alt mr-2"></i>Upload File</h5>
|
||||
<button type="button" class="close text-white" data-dismiss="modal">
|
||||
<span>×</span>
|
||||
</button>
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-cloud-upload-alt me-2"></i>Upload File</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="guest_post.php" method="post" enctype="multipart/form-data" autocomplete="off">
|
||||
<input type="hidden" name="quote_id" value="<?= $quote_id ?>">
|
||||
<input type="hidden" name="url_key" value="<?= $url_key ?>">
|
||||
<div class="modal-body bg-white">
|
||||
|
||||
<div class="form-group">
|
||||
<input type="file" class="form-control-file" name="file[]" id="fileInput" accept=".pdf">
|
||||
<div class="mb-3">
|
||||
<input type="file" class="form-control" name="file[]" id="fileInput" accept=".pdf">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer bg-white">
|
||||
<button type="submit" name="guest_quote_upload_file" class="btn btn-primary text-bold"><i class="fa fa-upload mr-2"></i>Upload</button>
|
||||
<button type="button" class="btn btn-light" data-dismiss="modal"><i class="fa fa-times mr-2"></i>Cancel</button>
|
||||
<button type="submit" name="guest_quote_upload_file" class="btn btn-primary text-bold"><i class="fa fa-upload me-2"></i>Upload</button>
|
||||
<button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="fa fa-times me-2"></i>Cancel</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -160,7 +160,7 @@ $account_amount_paid = floatval($row['amount_paid']);
|
||||
$account_balance = $account_balance - $account_amount_paid;
|
||||
//set Text color on balance
|
||||
if ($balance > 0) {
|
||||
$balance_text_color = "text-danger font-weight-bold";
|
||||
$balance_text_color = "text-danger fw-bold";
|
||||
} else {
|
||||
$balance_text_color = "";
|
||||
}
|
||||
@@ -174,10 +174,10 @@ if ($balance > 0) {
|
||||
<h4 class="mt-1">Account Balance: <b><?= numfmt_format_currency($currency_format, $account_balance, $invoice_currency_code) ?></b></h4>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="float-right">
|
||||
<a class="btn btn-default" href="#" onclick="window.print();"><i class="fas fa-fw fa-print mr-2"></i>Print</a>
|
||||
<div class="float-end">
|
||||
<a class="btn btn-default" href="#" onclick="window.print();"><i class="fas fa-fw fa-print me-2"></i>Print</a>
|
||||
<a class="btn btn-default" href="guest_post.php?export_invoice_pdf=<?= $invoice_id ?>&url_key=<?= $url_key ?>">
|
||||
<i class="fa fa-fw fa-download mr-2"></i>Download
|
||||
<i class="fa fa-fw fa-download me-2"></i>Download
|
||||
</a>
|
||||
<?php
|
||||
if ($invoice_status !== "Paid" &&
|
||||
@@ -189,7 +189,7 @@ if ($balance > 0) {
|
||||
$payment_provider_threshold > $invoice_amount
|
||||
)
|
||||
){ ?>
|
||||
<a class="btn btn-success" href="guest_pay_invoice_stripe.php?invoice_id=<?= $invoice_id ?>&url_key=<?= $url_key ?>"><i class="fa fa-fw fa-credit-card mr-2"></i>Pay Now </a>
|
||||
<a class="btn btn-success" href="guest_pay_invoice_stripe.php?invoice_id=<?= $invoice_id ?>&url_key=<?= $url_key ?>"><i class="fa fa-fw fa-credit-card me-2"></i>Pay Now </a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
@@ -216,22 +216,22 @@ if ($balance > 0) {
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<h3 class="text-right"><strong>INVOICE</strong></h3>
|
||||
<h5 class="badge badge-<?= $invoice_badge_color ?> p-2 float-right">
|
||||
<h3 class="text-end"><strong>INVOICE</strong></h3>
|
||||
<h5 class="badge badge-<?= $invoice_badge_color ?> p-2 float-end">
|
||||
<?= "$invoice_status" ?>
|
||||
</h5>
|
||||
<table class="table table-sm table-borderless">
|
||||
<tr>
|
||||
<th>Invoice #:</th>
|
||||
<td class="text-right"><?= "$invoice_prefix$invoice_number" ?></td>
|
||||
<td class="text-end"><?= "$invoice_prefix$invoice_number" ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Date:</th>
|
||||
<td class="text-right"><?= $invoice_date ?></td>
|
||||
<td class="text-end"><?= $invoice_date ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Due:</th>
|
||||
<td class="text-right"><?= $invoice_due ?></td>
|
||||
<td class="text-end"><?= $invoice_due ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -258,9 +258,9 @@ if ($balance > 0) {
|
||||
<th>Item</th>
|
||||
<th>Description</th>
|
||||
<th class="text-center">Qty</th>
|
||||
<th class="text-right">Unit Price</th>
|
||||
<th class="text-right">Tax</th>
|
||||
<th class="text-right">Amount</th>
|
||||
<th class="text-end">Unit Price</th>
|
||||
<th class="text-end">Tax</th>
|
||||
<th class="text-end">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -286,9 +286,9 @@ if ($balance > 0) {
|
||||
<td><?= $item_name ?></td>
|
||||
<td><?= nl2br($item_description) ?></td>
|
||||
<td class="text-center"><?= $item_quantity ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_price, $invoice_currency_code) ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_tax, $invoice_currency_code) ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_total, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_price, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_tax, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_total, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
@@ -315,14 +315,14 @@ if ($balance > 0) {
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Subtotal:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $sub_total, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $sub_total, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($invoice_discount > 0) {
|
||||
?>
|
||||
<tr>
|
||||
<td>Discount:</td>
|
||||
<td class="text-right">-<?= numfmt_format_currency($currency_format, $invoice_discount, $invoice_currency_code) ?></td>
|
||||
<td class="text-end">-<?= numfmt_format_currency($currency_format, $invoice_discount, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@@ -330,24 +330,24 @@ if ($balance > 0) {
|
||||
<?php if ($total_tax > 0) { ?>
|
||||
<tr>
|
||||
<td>Tax:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $total_tax, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $total_tax, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td>Total:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $invoice_amount, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $invoice_amount, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php if ($amount_paid > 0) { ?>
|
||||
<tr>
|
||||
<td><div class="text-success">Paid:</div></td>
|
||||
<td class="text-right text-success"><?= numfmt_format_currency($currency_format, $amount_paid, $invoice_currency_code) ?></td>
|
||||
<td class="text-end text-success"><?= numfmt_format_currency($currency_format, $amount_paid, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr class="h5 text-bold">
|
||||
<td>Balance:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $balance, $invoice_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $balance, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
@@ -374,7 +374,7 @@ if ($current_invoices_count > 0) { ?>
|
||||
|
||||
<div class="card d-print-none card-dark">
|
||||
<div class="card-header">
|
||||
<strong><i class="fas fa-fw fa-clock mr-2"></i><b><?= $current_invoices_count ?></b> Current Invoices</strong>
|
||||
<strong><i class="fas fa-fw fa-clock me-2"></i><b><?= $current_invoices_count ?></b> Current Invoices</strong>
|
||||
</div>
|
||||
<div card="card-body">
|
||||
<table class="table table-sm">
|
||||
@@ -383,7 +383,7 @@ if ($current_invoices_count > 0) { ?>
|
||||
<th class="text-center">Invoice</th>
|
||||
<th>Date</th>
|
||||
<th>Due</th>
|
||||
<th class="text-right">Amount</th>
|
||||
<th class="text-end">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -408,7 +408,7 @@ if ($current_invoices_count > 0) { ?>
|
||||
<th class="text-center"><a href="guest_view_invoice.php?invoice_id=<?= $invoice_id ?>&url_key=<?= $invoice_url_key ?>"><?= "$invoice_prefix$invoice_number" ?></a></th>
|
||||
<td><?= $invoice_date ?></td>
|
||||
<td><?= $invoice_due ?> (Due in <?= $days ?> Days)</td>
|
||||
<td class="text-right text-bold"><?= numfmt_format_currency($currency_format, $invoice_amount, $invoice_currency_code) ?></td>
|
||||
<td class="text-end text-bold"><?= numfmt_format_currency($currency_format, $invoice_amount, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
@@ -437,7 +437,7 @@ if ($outstanding_invoices_count > 0) { ?>
|
||||
|
||||
<div class="card d-print-none card-danger">
|
||||
<div class="card-header">
|
||||
<strong><i class="fa fa-fw fa-exclamation-triangle mr-2"></i><b><?= $outstanding_invoices_count ?></b> Outstanding Invoices</strong>
|
||||
<strong><i class="fa fa-fw fa-exclamation-triangle me-2"></i><b><?= $outstanding_invoices_count ?></b> Outstanding Invoices</strong>
|
||||
</div>
|
||||
<div card="card-body">
|
||||
<table class="table table-sm">
|
||||
@@ -446,7 +446,7 @@ if ($outstanding_invoices_count > 0) { ?>
|
||||
<th class="text-center">Invoice</th>
|
||||
<th>Date</th>
|
||||
<th>Due</th>
|
||||
<th class="text-right">Amount</th>
|
||||
<th class="text-end">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -471,7 +471,7 @@ if ($outstanding_invoices_count > 0) { ?>
|
||||
<th class="text-center"><a href="guest_view_invoice.php?invoice_id=<?= $invoice_id ?>&url_key=<?= $invoice_url_key ?>"><?= "$invoice_prefix$invoice_number" ?></a></th>
|
||||
<td><?= $invoice_date ?></td>
|
||||
<td class="text-danger"><?= $invoice_due ?> (Over Due by <?= $days ?> Days)</td>
|
||||
<td class="text-right text-bold"><?= numfmt_format_currency($currency_format, $invoice_amount, $invoice_currency_code) ?></td>
|
||||
<td class="text-end text-bold"><?= numfmt_format_currency($currency_format, $invoice_amount, $invoice_currency_code) ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -285,7 +285,7 @@ if ($item_type == "Document") {
|
||||
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<?= "<i class='fas fa-phone fa-fw mr-2'></i>$company_phone | <i class='fas fa-globe fa-fw mr-2 ml-2'></i>$company_website" ?>
|
||||
<?= "<i class='fas fa-phone fa-fw me-2'></i>$company_phone | <i class='fas fa-globe fa-fw me-2 ms-2'></i>$company_website" ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -124,10 +124,10 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
||||
|
||||
<div class="card-header d-print-none">
|
||||
|
||||
<div class="float-right">
|
||||
<a class="btn btn-primary" href="#" onclick="window.print();"><i class="fas fa-fw fa-print mr-2"></i>Print</a>
|
||||
<div class="float-end">
|
||||
<a class="btn btn-primary" href="#" onclick="window.print();"><i class="fas fa-fw fa-print me-2"></i>Print</a>
|
||||
<a class="btn btn-primary" href="guest_post.php?export_quote_pdf=<?= $quote_id ?>&url_key=<?= $url_key ?>">
|
||||
<i class="fa fa-fw fa-download mr-2"></i>Download
|
||||
<i class="fa fa-fw fa-download me-2"></i>Download
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -149,22 +149,22 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<h3 class="text-right"><strong>QUOTE</strong></h3>
|
||||
<h5 class="badge badge-<?= $quote_badge_color ?> p-2 float-right">
|
||||
<h3 class="text-end"><strong>QUOTE</strong></h3>
|
||||
<h5 class="badge badge-<?= $quote_badge_color ?> p-2 float-end">
|
||||
<?= "$quote_status" ?>
|
||||
</h5>
|
||||
<table class="table table-sm table-borderless">
|
||||
<tr>
|
||||
<th>Quote #:</th>
|
||||
<td class="text-right"><?= "$quote_prefix$quote_number" ?></td>
|
||||
<td class="text-end"><?= "$quote_prefix$quote_number" ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Date:</th>
|
||||
<td class="text-right"><?= $quote_date ?></td>
|
||||
<td class="text-end"><?= $quote_date ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Expires:</th>
|
||||
<td class="text-right"><?= $quote_expire ?></td>
|
||||
<td class="text-end"><?= $quote_expire ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -193,9 +193,9 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
||||
<th>Item</th>
|
||||
<th>Description</th>
|
||||
<th class="text-center">Qty</th>
|
||||
<th class="text-right">Unit Price</th>
|
||||
<th class="text-right">Tax</th>
|
||||
<th class="text-right">Amount</th>
|
||||
<th class="text-end">Unit Price</th>
|
||||
<th class="text-end">Tax</th>
|
||||
<th class="text-end">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -220,9 +220,9 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
||||
<td><?= $item_name ?></td>
|
||||
<td><?= nl2br($item_description) ?></td>
|
||||
<td class="text-center"><?= $item_quantity ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_price, $quote_currency_code) ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_tax, $quote_currency_code) ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $item_total, $quote_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_price, $quote_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_tax, $quote_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $item_total, $quote_currency_code) ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@@ -254,23 +254,23 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Subtotal:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $sub_total, $quote_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $sub_total, $quote_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php if ($quote_discount > 0) { ?>
|
||||
<tr>
|
||||
<td>Discount:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, -$quote_discount, $quote_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, -$quote_discount, $quote_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ($total_tax > 0) { ?>
|
||||
<tr>
|
||||
<td>Tax:</td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $total_tax, $quote_currency_code) ?></td>
|
||||
<td class="text-end"><?= numfmt_format_currency($currency_format, $total_tax, $quote_currency_code) ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr class="border-top h5 text-bold">
|
||||
<td><strong>Total:</strong></td>
|
||||
<td class="text-right"><strong><?= numfmt_format_currency($currency_format, $quote_amount, $quote_currency_code) ?></strong></td>
|
||||
<td class="text-end"><strong><?= numfmt_format_currency($currency_format, $quote_amount, $quote_currency_code) ?></strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -284,15 +284,15 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
||||
<?php
|
||||
if ($quote_status == "Sent" || $quote_status == "Viewed" && strtotime($quote_expire) > strtotime("now")) { ?>
|
||||
<a class="btn btn-success confirm-link" href="guest_post.php?accept_quote=<?= $quote_id ?>&url_key=<?= $url_key ?>">
|
||||
<i class="fas fa-fw fa-thumbs-up mr-2"></i>Accept
|
||||
<i class="fas fa-fw fa-thumbs-up me-2"></i>Accept
|
||||
</a>
|
||||
<a class="btn btn-danger confirm-link" href="guest_post.php?decline_quote=<?= $quote_id ?>&url_key=<?= $url_key ?>">
|
||||
<i class="fas fa-fw fa-thumbs-down mr-2"></i>Decline
|
||||
<i class="fas fa-fw fa-thumbs-down me-2"></i>Decline
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php if ($quote_status == "Accepted") { ?>
|
||||
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#uploadFileModal">
|
||||
<i class="fas fa-fw fa-cloud-upload-alt mr-2"></i>Upload File
|
||||
<button type="button" class="btn btn-success" data-bs-toggle="modal" data-bs-target="#uploadFileModal">
|
||||
<i class="fas fa-fw fa-cloud-upload-alt me-2"></i>Upload File
|
||||
</button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
@@ -176,11 +176,11 @@ if ($ticket_row) {
|
||||
<div class="card card-outline <?php if ($ticket_reply_type == 'Client') { echo "card-warning"; } else { echo "card-info"; } ?> mb-3">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
<div class="media">
|
||||
<div class="d-flex">
|
||||
<?php
|
||||
if (!empty($user_avatar)) {
|
||||
?>
|
||||
<img src="<?= $avatar_link ?>" alt="User Avatar" class="img-size-50 mr-3 img-circle">
|
||||
<img src="<?= $avatar_link ?>" alt="User Avatar" class="img-size-50 me-3 img-circle">
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
@@ -192,7 +192,7 @@ if ($ticket_row) {
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="media-body">
|
||||
<div class="flex-grow-1">
|
||||
<?= $ticket_reply_by_display ?>
|
||||
<br>
|
||||
<small class="text-muted"><?= $ticket_reply_created_at ?> <?php if (!empty($ticket_reply_updated_at)) { echo "(edited: $ticket_reply_updated_at)"; } ?></small>
|
||||
@@ -219,7 +219,7 @@ if ($ticket_row) {
|
||||
} ?>
|
||||
|
||||
<div class="card-footer">
|
||||
<?= "<i class='fas fa-phone fa-fw mr-2'></i>$company_phone | <i class='fas fa-globe fa-fw mr-2 ml-2'></i>$company_website" ?>
|
||||
<?= "<i class='fas fa-phone fa-fw me-2'></i>$company_phone | <i class='fas fa-globe fa-fw me-2 ms-2'></i>$company_website" ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<main class="app-main">
|
||||
|
||||
<!-- Main content -->
|
||||
<div class="content">
|
||||
<div class="app-content">
|
||||
<div class="container">
|
||||
Reference in New Issue
Block a user