Notifications and printing
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Toast Notification Container -->
|
||||
<div id="toastContainer" class="toast-container"></div>
|
||||
|
||||
<!-- Login Page -->
|
||||
<div id="loginPage" class="login-page">
|
||||
<div class="login-container">
|
||||
@@ -196,6 +199,55 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Prescribe Drug Modal -->
|
||||
<div id="prescribeModal" class="modal">
|
||||
<div class="modal-content">
|
||||
<span class="close">×</span>
|
||||
<h2>Prescribe Drug & Print Label</h2>
|
||||
<form id="prescribeForm" novalidate>
|
||||
<input type="hidden" id="prescribeVariantId">
|
||||
<input type="hidden" id="prescribeDrugName">
|
||||
<input type="hidden" id="prescribeVariantStrength">
|
||||
<input type="hidden" id="prescribeUnit">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prescribeQuantity">Quantity *</label>
|
||||
<input type="number" id="prescribeQuantity" step="0.1" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prescribeAnimal">Animal Name/ID *</label>
|
||||
<input type="text" id="prescribeAnimal" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prescribeDosage">Dosage Instructions *</label>
|
||||
<input type="text" id="prescribeDosage" placeholder="e.g., 1 tablet twice daily with food" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prescribeExpiry">Expiry Date *</label>
|
||||
<input type="date" id="prescribeExpiry" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prescribeUser">Prescribed by *</label>
|
||||
<input type="text" id="prescribeUser" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prescribeNotes">Notes</label>
|
||||
<input type="text" id="prescribeNotes" placeholder="Optional">
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary">Prescribe & Print Label</button>
|
||||
<button type="button" class="btn btn-secondary" id="cancelPrescribeBtn">Cancel</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Add Variant Modal -->
|
||||
<div id="addVariantModal" class="modal">
|
||||
<div class="modal-content">
|
||||
|
||||
Reference in New Issue
Block a user