migrate to gtea from bistbucket

This commit is contained in:
2026-03-15 17:08:23 +07:00
commit 129ca2260c
3716 changed files with 566316 additions and 0 deletions

View File

@@ -0,0 +1,253 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Invoice #{{ $invoice->invoice_no }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #f4f6f8;
margin: 0;
padding: 0;
color: #333333;
}
.wrapper {
width: 100%;
padding: 30px 0;
}
.container {
max-width: 700px;
margin: 0 auto;
background-color: #ffffff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.header {
background-color: #1E3A8A;
color: #ffffff;
padding: 30px;
text-align: center;
}
.header h1 {
margin: 0;
font-size: 26px;
font-weight: 700;
letter-spacing: 1px;
}
.header p {
margin: 6px 0 0;
font-size: 15px;
color: #d1d5db;
}
.content {
padding: 30px;
}
.content h2 {
font-size: 20px;
margin: 0 0 10px;
}
.content p {
font-size: 15px;
line-height: 1.6;
margin: 10px 0;
}
.invoice-table {
width: 100%;
border-collapse: collapse;
margin: 25px 0;
}
.invoice-table th,
.invoice-table td {
border: 1px solid #e5e7eb;
padding: 12px 14px;
text-align: left;
font-size: 14px;
}
.invoice-table th {
background-color: #f9fafb;
font-weight: 600;
width: 40%;
}
.invoice-table td {
width: 60%;
}
.total-row td {
font-size: 16px;
font-weight: bold;
color: #1E3A8A;
}
.notice {
background-color: #f9fafb;
border-left: 4px solid #1E3A8A;
padding: 15px;
margin-top: 20px;
font-size: 14px;
color: #555555;
}
.button-wrapper {
text-align: center;
margin: 30px 0 10px;
}
.pay-button {
background-color: #1E3A8A;
color: #ffffff;
padding: 14px 30px;
font-size: 15px;
font-weight: 600;
text-decoration: none;
border-radius: 6px;
display: inline-block;
}
.pay-button:hover {
background-color: #162d6b;
}
.footer {
padding: 25px;
text-align: center;
font-size: 13px;
color: #9ca3af;
}
.footer a {
color: #1E3A8A;
text-decoration: none;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.content {
padding: 20px;
}
.header h1 {
font-size: 22px;
}
.invoice-table th,
.invoice-table td {
padding: 10px;
}
}
</style>
</head>
<body>
<div class="wrapper">
<div class="container">
{{-- Header --}}
<div class="header">
<h1>
{{ \Carbon\Carbon::parse($invoice->month . '-01')->format('F Y') }} Invoice
</h1>
<p>MolyEcom SaaS Billing</p>
</div>
{{-- Content --}}
<div class="content">
<h2>Hello {{ $shop->name }},</h2>
<p>
This invoice has been generated automatically for your
<strong>{{ $invoice->package_name }}</strong> subscription.
</p>
<table class="invoice-table">
<tr>
<th>Invoice Number</th>
<td>{{ $invoice->invoice_no }}</td>
</tr>
<tr>
<th>Subscription Package</th>
<td>{{ $invoice->package_name }}</td>
</tr>
<tr>
<th>Billing Period</th>
<td>
{{ \Carbon\Carbon::parse($invoice->start_date)->format('d M Y') }}
{{ \Carbon\Carbon::parse($invoice->end_date)->format('d M Y') }}
</td>
</tr>
<tr>
<th>Subscription Expiry</th>
<td>
{{ \Carbon\Carbon::parse($invoice->end_date)->format('d M Y') }}
</td>
</tr>
@if (!empty($domainInfo['domain']))
<tr>
<th>Domain</th>
<td>{{ $domainInfo['domain'] }}</td>
</tr>
<tr>
<th>Domain Expiry</th>
<td>
{{ \Carbon\Carbon::parse($domainInfo['domain_expiry'])->format('d M Y') }}
</td>
</tr>
@endif
<tr class="total-row">
<th>Total Amount</th>
<td> {{ number_format($invoice->amount, 2) }}</td>
</tr>
<tr>
<th>Payment Status</th>
<td>{{ $invoice->status }}</td>
</tr>
</table>
<div class="notice">
<strong>Important:</strong>
Please complete your payment before the subscription expiry date to avoid service interruption.
</div>
@if (!empty($paymentUrl))
<div class="button-wrapper">
<a href="{{ $paymentUrl }}" class="pay-button">
Pay / Upgrade Subscription
</a>
</div>
@endif
<p>
If you have any questions regarding this invoice, feel free to contact our support team.
</p>
</div>
{{-- Footer --}}
<div class="footer">
&copy; {{ date('Y') }} <strong>CodeMoly</strong>. All rights reserved.<br>
MolyEcom SaaS Application |
<a href="{{ config('app.frontend_url') }}">Visit Dashboard</a>
</div>
</div>
</div>
</body>
</html>