first qyality report

This commit is contained in:
2025-04-24 06:39:24 +03:00
parent 5526ff5840
commit fd8897aaca
5 changed files with 175 additions and 24 deletions

View File

@@ -3,23 +3,39 @@
{% block content %}
<div class="scan-container">
<!-- Reports Card -->
<div class="card scan-form-card">
<div class="card report-form-card">
<h3>Rapoarte</h3>
<div class="form-centered">
<button class="btn report-btn" data-report="1">Report 1</button>
<button class="btn report-btn" data-report="2">Report 2</button>
<button class="btn report-btn" data-report="3">Report 3</button>
<button class="btn report-btn" data-report="4">Report 4</button>
<button class="btn report-btn" data-report="5">Report 5</button>
<label class="report-description">Report 1 va exporta toate comenzile scanate la punctele de scanare calitate cu de acum 5 zile</label>
<button class="btn report-btn" data-report="1">Raporteaza 5 zile de comenzi</button>
</div>
<div class="form-centered">
<button class="btn export-btn" id="export-csv">Export the current report as CSV</button>
<button class="btn export-btn" id="export-pdf">Export the current report as PDF</button>
<label class="report-description">This report: Report 2 exports all approved orders from the database.</label>
<button class="btn report-btn" data-report="2">Report 2</button>
</div>
<div class="form-centered">
<label class="report-description">This report: Report 3 exports all rejected orders from the database.</label>
<button class="btn report-btn" data-report="3">Report 3</button>
</div>
<div class="form-centered">
<label class="report-description">This report: Report 4 exports all orders with defects from the database.</label>
<button class="btn report-btn" data-report="4">Report 4</button>
</div>
<div class="form-centered">
<label class="report-description">This report: Report 5 exports a summary of all orders from the database.</label>
<button class="btn report-btn" data-report="5">Report 5</button>
</div>
<div class="form-centered last-buttons">
<label class="export-description">Export current report as:</label>
<div class="button-row">
<button class="btn export-btn" id="export-csv">Export CSV</button>
<button class="btn export-btn" id="export-pdf">Export PDF</button>
</div>
</div>
</div>
<!-- Data Display Card -->
<div class="card scan-table-card">
<div class="card report-table-card">
<h3 id="report-title">No data to display, please select a report.</h3>
<table class="scan-table" id="report-table">
<thead>