General tidy
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<?php include("inc_all.php"); ?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
require_once("inc_all.php");
|
||||||
|
|
||||||
if (isset($_GET['quote_id'])) {
|
if (isset($_GET['quote_id'])) {
|
||||||
|
|
||||||
@@ -85,9 +84,9 @@ if (isset($_GET['quote_id'])) {
|
|||||||
$json_products = json_encode($products);
|
$json_products = json_encode($products);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<ol class="breadcrumb d-print-none">
|
<ol class="breadcrumb d-print-none">
|
||||||
<li class="breadcrumb-item">
|
<li class="breadcrumb-item">
|
||||||
<a href="quotes.php">Quotes</a>
|
<a href="quotes.php">Quotes</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -96,9 +95,9 @@ if (isset($_GET['quote_id'])) {
|
|||||||
</li>
|
</li>
|
||||||
<li class="breadcrumb-item active"><?php echo "$quote_prefix$quote_number"; ?></li>
|
<li class="breadcrumb-item active"><?php echo "$quote_prefix$quote_number"; ?></li>
|
||||||
<span class="ml-3 p-2 badge badge-<?php echo $quote_badge_color; ?>"><?php echo $quote_status; ?></span>
|
<span class="ml-3 p-2 badge badge-<?php echo $quote_badge_color; ?>"><?php echo $quote_status; ?></span>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header d-print-none">
|
<div class="card-header d-print-none">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -338,9 +337,9 @@ if (isset($_GET['quote_id'])) {
|
|||||||
|
|
||||||
<center class="d-none d-print-block" style="white-space:pre-line"><?php echo htmlentities($config_quote_footer); ?></center>
|
<center class="d-none d-print-block" style="white-space:pre-line"><?php echo htmlentities($config_quote_footer); ?></center>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
<div class="col-sm d-print-none">
|
<div class="col-sm d-print-none">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
@@ -386,18 +385,18 @@ if (isset($_GET['quote_id'])) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include("quote_edit_modal.php");
|
require_once("quote_edit_modal.php");
|
||||||
include("quote_to_invoice_modal.php");
|
require_once("quote_to_invoice_modal.php");
|
||||||
include("quote_copy_modal.php");
|
require_once("quote_copy_modal.php");
|
||||||
include("quote_note_modal.php");
|
require_once("quote_note_modal.php");
|
||||||
include("category_quick_add_modal.php");
|
require_once("category_quick_add_modal.php");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
include("footer.php");
|
require_once("footer.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@@ -426,7 +425,7 @@ include("footer.php");
|
|||||||
<script src='plugins/pdfmake/vfs_fonts.js'></script>
|
<script src='plugins/pdfmake/vfs_fonts.js'></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
var docDefinition = {
|
var docDefinition = {
|
||||||
info: {
|
info: {
|
||||||
title: <?php echo json_encode(html_entity_decode($company_name) . "- Quote") ?>,
|
title: <?php echo json_encode(html_entity_decode($company_name) . "- Quote") ?>,
|
||||||
author: <?php echo json_encode(html_entity_decode($company_name)) ?>
|
author: <?php echo json_encode(html_entity_decode($company_name)) ?>
|
||||||
@@ -807,5 +806,5 @@ var docDefinition = {
|
|||||||
defaultStyle: {
|
defaultStyle: {
|
||||||
columnGap: 20
|
columnGap: 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user