Added order image and description upload

This commit is contained in:
2025-11-30 10:48:08 +01:00
parent b005975c81
commit 1bce61267a
13 changed files with 974 additions and 2 deletions

View File

@@ -12,13 +12,25 @@
<div class="card-body p-5">
<h2 class="mb-4">@Localizer["CreateNewOrder"]</h2>
<form method="post" id="createOrderForm">
<form method="post" id="createOrderForm" enctype="multipart/form-data">
<div class="mb-3">
<label for="Name" class="form-label">@Localizer["OrderName"]</label>
<input type="text" class="form-control" id="Name" name="Name" required>
<small class="text-muted">@Localizer["GiveOrderName"]</small>
</div>
<div class="mb-3">
<label for="AdditionalInfo" class="form-label">Additional Information</label>
<textarea class="form-control" id="AdditionalInfo" name="AdditionalInfo" rows="3" placeholder="Enter any additional details about this order..."></textarea>
<small class="text-muted">Optional: Add notes, special instructions, or other details</small>
</div>
<div class="mb-3">
<label for="ImageFile" class="form-label">Order Image</label>
<input type="file" class="form-control" id="ImageFile" name="ImageFile" accept="image/*">
<small class="text-muted">Optional: Upload an image for this order (JPG, PNG, etc.)</small>
</div>
<hr>
<h5 class="mb-3">@Localizer["MenuItems"]</h5>