update before thirdparty integration

This commit is contained in:
twotalesanimation
2026-01-02 12:22:21 +02:00
parent 94b90f603d
commit 4730f5770c
58 changed files with 12188 additions and 218 deletions
@@ -11,9 +11,34 @@
padding: 0;
box-sizing: border-box;
}
@font-face {
font-family: 'AbrilFatface';
font-style: normal;
font-weight: 400;
src: url('<?php echo e(storage_path("fonts/AbrilFatface-Regular.ttf")); ?>') format('truetype');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
src: url('<?php echo e(storage_path("fonts/Montserrat-Regular.ttf")); ?>') format('truetype');
}
@font-face {
font-family: 'Montserrat';
/* font-style: normal; */
font-weight: 700;
src: url('<?php echo e(storage_path("fonts/Montserrat-Bold.ttf")); ?>') format('truetype');
}
body {
font-family: 'Montserrat', sans-serif;
color: #333;
font-family: Montserrat;
font-style: normal;
font-weight: 400;
line-height: 1.6;
background: white;
}
@@ -29,72 +54,72 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 20px;
margin-bottom: 8px;
border-bottom: 1px solid #1a1a1a;
padding-bottom: 20px;
gap: 40px;
}
.company-info {
flex: 1;
}
.company-info h1 {
font-family: Abril Fatface;
font-size: 36px;
color: #1a1a1a;
margin-bottom: 10px;
font-family: AbrilFatface, Georgia, serif;
font-weight: normal;
font-size: 36px;
margin-bottom: 5px;
}
.company-details h2 {
font-family: AbrilFatface;
font-weight: normal;
font-size: 20px;
/* margin-bottom: 10px; */
}
.company-details {
font-size: 10px;
color: #666;
line-height: 1.5;
line-height: 1.2;
}
.invoice-details h2 {
font-family: AbrilFatface;
font-weight: normal;
font-size: 20px;
/* margin-bottom: 10px; */
}
.invoice-details {
text-align: right;
/* line-height: 1.5; */
}
.invoice-details h2 {
font-size: 28px;
color: #1a1a1a;
font-weight: normal;
/* margin-bottom: 20px; */
font-family: 'AbrilFatface', Georgia, serif;
flex-shrink: 0;
}
.detail-row {
display: flex;
justify-content: flex-end;
/* margin-bottom: 8px; */
font-size: 10px;
}
.detail-row strong {
margin-right: 20px;
color: #666;
width: 120px;
}
.detail-row span {
color: #1a1a1a;
width: 150px;
}
.section-title {
.customer-info h3 {
font-family: AbrilFatface, Georgia, serif;
font-weight: normal;
font-size: 20px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #666;
margin-top: 20px;
/* margin-bottom: 20px; */
/* border-bottom: 1px solid #e0e0e0; */
padding-bottom: 12px;
/* text-transform: uppercase; */
/* letter-spacing: 0.5px; */
}
.customer-info {
display: flex;
/* gap: 80px; */
/* margin-bottom: 40px; */
font-size: 12px;
}
@@ -102,63 +127,59 @@
flex: 1;
}
.customer-info h3 {
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #666;
/* margin-bottom: 8px; */
}
.customer-info p {
color: #1a1a1a;
/* margin-bottom: 4px; */
line-height: 1.5;
line-height: 1.2;
}
.section-title {
font-family: AbrilFatface, Georgia, serif;
font-weight: normal;
font-size: 20px;
/* margin-top: 20px; */
padding-bottom: 12px;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 40px;
margin-bottom: 20px;
}
thead {
background-color: #f5f5f5;
background-color: #f5f3f0;
}
th {
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #666;
padding: 12px 16px;
padding: 2px 16px;
text-align: left;
/* border: 1px solid #e0e0e0; */
}
td {
padding: 10px 10px;
/* border: 1px solid #e0e0e0; */
padding: 0px 10px;
font-size: 13px;
color: #1a1a1a;
}
tr:nth-child(even) {
background-color: #fafafa;
background-color: #f5f3f0;
}
.item-name {
font-weight: 500;
font-family: AbrilFatface, Georgia, serif;
font-weight: normal;
padding: 0px 10px;
}
.item-label {
font-size: 11px;
color: #999;
text-transform: uppercase;
letter-spacing: 0.5px;
/* margin-top: 2px; */
padding: 0px 20px;
}
.qty {
@@ -170,70 +191,40 @@
}
.totals-section {
margin-bottom: 40px;
/* margin-bottom: 40px; */
background-color: #e8dcd8;
padding: 8px;
border-radius: 20px;
}
.totals-box {
margin-left: auto;
width: 350px;
padding: 0px 16px;
}
.total-row {
display: flex;
padding: 12px 16px;
font-size: 13px;
}
.total-row strong {
color: #1a1a1a;
}
.total-row span {
color: #666;
text-align: right;
flex: 1;
}
.total-row.subtotal strong {
font-weight: 500;
}
.total-row.shipping strong {
font-weight: 500;
padding: 0px 16px;
}
.total-row.grand-total {
/* background-color: #f5f5f5; */
/* border: 1px solid #e0e0e0; */
font-size: 15px;
font-weight: 700;
padding: 12px 16px;
font-family: AbrilFatface, Georgia, serif;
font-size: 30px;
padding: 0px 16px;
}
.total-row.grand-total strong {
color: #1a1a1a;
font-family: 'AbrilFatface', Georgia, serif;
font-weight: normal;
}
.total-row.grand-total span {
color: #1a1a1a;
font-size: 16px;
}
.footer-section {
margin-top: 60px;
padding-top: 30px;
border-top: 1px solid #e0e0e0;
/* padding-top: 30px; */
/* border-top: 1px solid #e0e0e0; */
font-size: 12px;
color: #999;
text-align: center;
}
.thank-you {
color: #666;
margin-bottom: 20px;
}
@@ -249,9 +240,9 @@
<div class="invoice-header">
<div class="company-info">
<h1>INVOICE</h1>
<h1>Invoice</h1>
<div class="company-details">
<h2>ADDITIONAL DESIGN</h2>
<h2>Additional Design</h2>
<p>registered trading name of</p>
<p>TWO TALES & CO. (PTY) LTD</p>
<p>REG: 2014/260746/07</p>
@@ -261,7 +252,7 @@
</div>
</div>
<div class="invoice-details">
<h3>#<?php echo e($order->order_number); ?></h3>
<h2>#<?php echo e($order->order_number); ?></h2>
<div class="detail-row">
<strong>Date:</strong>
<span><?php echo e($order->created_at->format('d M Y')); ?></span>
@@ -280,20 +271,16 @@
<!-- Customer Info -->
<div class="customer-info">
<div>
<h3>Bill To</h3>
<h3>Customer Info:</h3>
<p><?php echo e($order->customer_name); ?></p>
<p><?php echo e($order->customer_email); ?></p>
<p><?php echo e($order->customer_phone); ?></p>
</div>
<div>
<h3>Ship To</h3>
<p><?php echo e($order->shipping_address); ?></p>
</div>
</div>
<!-- Items Table -->
<div class="section-title">Order Items</div>
<div class="section-title">Order Items:</div>
<table>
<thead>
<tr>
@@ -342,13 +329,13 @@
</div>
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
<div class="total-row grand-total">
<strong>Total</strong>
Total
<span>R <?php echo e(number_format($order->total, 2)); ?></span>
</div>
</div>
</div>
<div style="text-align: center;">
<div style="text-align: center; background-color: #000; color:#fff; border-radius: 60px; font-size: 20px; margin-top: 20px; padding-bottom: 10px; width: 200px; margin-left: auto; margin-right: auto;">
<strong>PAID VIA YOCO</strong>
</div>