Remove Unessesary Code
This commit is contained in:
@@ -159,7 +159,7 @@ if ($balance > 0) {
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-light d-print-none">
|
<div class="card-header bg-light d-print-none">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
@@ -345,7 +345,7 @@ if ($balance > 0) {
|
|||||||
|
|
||||||
<div class="text-center text-secondary"><?php echo nl2br($config_invoice_footer); ?></div>
|
<div class="text-center text-secondary"><?php echo nl2br($config_invoice_footer); ?></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -357,7 +357,7 @@ $current_invoices_count = mysqli_num_rows($sql_current_invoices);
|
|||||||
|
|
||||||
if ($current_invoices_count > 0) { ?>
|
if ($current_invoices_count > 0) { ?>
|
||||||
|
|
||||||
<div class="card d-print-none card-dark">
|
<div class="card d-print-none card-dark">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<strong><i class="fas fa-fw fa-clock mr-2"></i><b><?php echo $current_invoices_count; ?></b> Current Invoices</strong>
|
<strong><i class="fas fa-fw fa-clock mr-2"></i><b><?php echo $current_invoices_count; ?></b> Current Invoices</strong>
|
||||||
</div>
|
</div>
|
||||||
@@ -401,7 +401,8 @@ if ($current_invoices_count > 0) { ?>
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -418,7 +419,7 @@ $outstanding_invoices_count = mysqli_num_rows($sql_outstanding_invoices);
|
|||||||
|
|
||||||
if ($outstanding_invoices_count > 0) { ?>
|
if ($outstanding_invoices_count > 0) { ?>
|
||||||
|
|
||||||
<div class="card d-print-none card-danger">
|
<div class="card d-print-none card-danger">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<strong><i class="fa fa-fw fa-exclamation-triangle mr-2"></i><b><?php echo $outstanding_invoices_count; ?></b> Outstanding Invoices</strong>
|
<strong><i class="fa fa-fw fa-exclamation-triangle mr-2"></i><b><?php echo $outstanding_invoices_count; ?></b> Outstanding Invoices</strong>
|
||||||
</div>
|
</div>
|
||||||
@@ -464,7 +465,7 @@ if ($outstanding_invoices_count > 0) { ?>
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php } // End previous unpaid invoices
|
<?php } // End previous unpaid invoices
|
||||||
|
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|
||||||
<div class="card-header d-print-none">
|
<div class="card-header d-print-none">
|
||||||
|
|
||||||
@@ -297,7 +297,7 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once "guest_quote_upload_file_modal.php";
|
require_once "guest_quote_upload_file_modal.php";
|
||||||
|
|||||||
@@ -91,9 +91,6 @@ if (isset($_GET['quote_id'])) {
|
|||||||
$company_email = nullable_htmlentities($row['company_email']);
|
$company_email = nullable_htmlentities($row['company_email']);
|
||||||
$company_website = nullable_htmlentities($row['company_website']);
|
$company_website = nullable_htmlentities($row['company_website']);
|
||||||
$company_logo = nullable_htmlentities($row['company_logo']);
|
$company_logo = nullable_htmlentities($row['company_logo']);
|
||||||
if (!empty($company_logo)) {
|
|
||||||
$company_logo_base64 = base64_encode(file_get_contents("uploads/settings/$company_logo"));
|
|
||||||
}
|
|
||||||
|
|
||||||
$sql_history = mysqli_query($mysqli, "SELECT * FROM history WHERE history_quote_id = $quote_id ORDER BY history_id DESC");
|
$sql_history = mysqli_query($mysqli, "SELECT * FROM history WHERE history_quote_id = $quote_id ORDER BY history_id DESC");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user