Invoice: Kreator powiadomień cyklicznych
This commit is contained in:
@@ -29,7 +29,13 @@ include '../../header-invoice.php';
|
||||
<option value="2">Szybki (Termin 3 dni)</option>
|
||||
<option value="3">Tylko przypomnienia po terminie</option>
|
||||
</select>
|
||||
<div class="form-text">Zmiany wprowadzane poniżej zapiszą się dla wybranego profilu.</div>
|
||||
</div>
|
||||
<div class="alert alert-info d-flex mb-0" role="alert">
|
||||
<span class="badge badge-center rounded-pill bg-info border-label-info p-3 me-2"><i class="bx bx-info-circle fs-6"></i></span>
|
||||
<div class="d-flex flex-column ps-1">
|
||||
<h6 class="alert-heading d-flex align-items-center mb-1">Czym są profile wysyłki?</h6>
|
||||
<span class="mb-0 fs-6">Profile pozwalają na zgrupowanie reguł wysyłki e-mail. Możesz stworzyć profil "Długi termin" z wieloma przypomnieniami i przypisać go do wybranych faktur cyklicznych, a dla innych użyć profilu "Szybki" tylko z jednym mailem po terminie.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,38 +146,42 @@ include '../../header-invoice.php';
|
||||
|
||||
<div class="email-container bg-white rounded shadow-sm" style="width: 100%; max-width: 600px; overflow: hidden; font-family: Arial, sans-serif;">
|
||||
|
||||
<!-- Email Header Logo -->
|
||||
<div class="bg-primary text-center py-4 text-white">
|
||||
<h3 class="mb-0 fw-bold text-white"><i class="bx bxl-sketch fs-2 align-middle mb-1 me-1"></i> TwojaFirma</h3>
|
||||
<!-- Email Header Logo (Image based on screenshot) -->
|
||||
<div class="text-center pt-5 pb-3 bg-white">
|
||||
<div style="background-color: #8ed689; width: 120px; height: 75px; border-radius: 8px; margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: center;">
|
||||
<!-- Simple illustration placeholder for the green money/face -->
|
||||
<div style="width: 10px; height: 10px; background-color: #333; border-radius: 50%; position: absolute; left: 35px;"></div>
|
||||
<div style="width: 10px; height: 10px; background-color: #333; border-radius: 50%; position: absolute; right: 35px;"></div>
|
||||
<div style="width: 16px; height: 8px; border-bottom: 3px solid #333; border-radius: 50%; position: absolute; top: 40px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Email Content Container -->
|
||||
<div class="p-4 p-md-5">
|
||||
<div class="p-4 p-md-5 pt-0 bg-white">
|
||||
|
||||
<h4 id="preview-heading" class="fw-bold mb-3" style="color: #333;">Cześć Jan,</h4>
|
||||
<h3 id="preview-heading" class="fw-light mb-4" style="color: #2b5c8f; font-size: 26px;">Szanowni Państwo</h3>
|
||||
|
||||
<p id="preview-body" style="color: #555; line-height: 1.6; margin-bottom: 30px;">
|
||||
Przypominamy, że za 14 dni upływa termin płatności za Twoją ostatnią fakturę. W załączniku przesyłamy plik PDF z dokumentem. Będziemy wdzięczni za terminową wpłatę.
|
||||
<p id="preview-body" style="color: #4a5568; line-height: 1.6; margin-bottom: 40px; font-size: 15px;">
|
||||
Dziękujemy za skorzystanie z naszych usług.<br><br>
|
||||
Uprzejmie informujemy, że w dniu 22 lipca 2026 została wystawiona dla Państwa Faktura nr FV/31/07/2026 na kwotę 160,00 zł. Plik PDF znajduje się w załączniku.
|
||||
</p>
|
||||
|
||||
<!-- ZABLOKOWANY MODUŁ Z FAKTURĄ (LOCKED SUMMARY TABLE) -->
|
||||
<div class="invoice-summary border rounded bg-lighter p-4 mb-4 text-center">
|
||||
<small class="text-muted fw-bold d-block mb-2 text-uppercase">Szczegóły Faktury</small>
|
||||
<h3 class="mb-2 text-primary">1 845,00 PLN</h3>
|
||||
<p class="mb-0 text-muted">Termin: <strong>15.08.2026</strong></p>
|
||||
|
||||
<hr class="my-3">
|
||||
|
||||
<div class="invoice-summary border-0 rounded bg-lighter p-4 mb-4 text-center" style="border-left: 4px solid #2b5c8f !important;">
|
||||
<div class="d-flex justify-content-between align-items-center mb-2 text-start">
|
||||
<span class="text-muted">Numer:</span>
|
||||
<span class="fw-medium">FV/2026/08/12</span>
|
||||
<span class="text-muted">Typ faktury:</span>
|
||||
<span class="text-dark">Faktura</span>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between align-items-center mb-2 text-start">
|
||||
<span class="text-muted">Termin płatności:</span>
|
||||
<span class="text-dark fw-medium">29 lipca 2026</span>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between align-items-center mb-3 text-start">
|
||||
<span class="text-muted">Do zapłaty:</span>
|
||||
<span class="fw-medium text-danger">1 845,00 PLN</span>
|
||||
<span class="text-muted">Kwota do zapłaty:</span>
|
||||
<span class="fw-bold text-dark">160,00 PLN</span>
|
||||
</div>
|
||||
|
||||
<a href="#" class="btn btn-primary w-100 mt-2" style="padding: 10px 20px; text-decoration: none; display: inline-block;">
|
||||
<a href="#" class="btn btn-primary w-100 mt-2" style="background-color: #2b5c8f; border-color: #2b5c8f; padding: 10px 20px; text-decoration: none; display: inline-block;">
|
||||
Zobacz dokument i opłać online
|
||||
</a>
|
||||
</div>
|
||||
@@ -184,8 +194,12 @@ include '../../header-invoice.php';
|
||||
</div>
|
||||
|
||||
<!-- Email Footer App Info -->
|
||||
<div class="bg-lighter text-center py-3">
|
||||
<small class="text-muted">Wiadomość wygenerowana automatycznie przez system Magico ERP.</small>
|
||||
<div class="bg-light text-center py-4 px-3 border-top">
|
||||
<small class="text-muted d-block mb-1" style="font-size: 11px;">Wiadomość wygenerowana automatycznie. Prosimy nie odpowiadać.</small>
|
||||
<small class="text-muted d-block mb-3" style="font-size: 11px;">Wiadomość wysłana przez firmę TwojaFirma, z siedzibą w Stalowej Woli, al. Jana Pawła II 60F,<br>NIP: 865 256 70 62, REGON: 368428365.</small>
|
||||
|
||||
<small class="text-dark fw-bold d-block" style="font-size: 12px;">Magico Software</small>
|
||||
<small class="text-muted d-block" style="font-size: 11px;">support@magico.pl | +48 665 408 808</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user