Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 30 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ <h2>Welcome to Tshong AI</h2>
</div>
</div>
<div class="action-buttons">
<button id="addPhotoBtn" class="action-button photo-button">
<button id="addPhotoBtn" class="action-button photo-button" onclick="window.showPhotoOptions()">
<span class="icon">📸</span> Add ReceiptPhoto
</button>
<button id="addCashBtn" class="action-button cash-button">
<button id="addCashBtn" class="action-button cash-button" onclick="window.showManualEntryModal()">
<span class="icon">💰</span> Add Cash Receipt
</button>
</div>
Expand All @@ -74,7 +74,14 @@ <h2>Welcome to Tshong AI</h2>

<!-- Add this before </body> -->
<div id="confirmationModal" class="modal">
<div class="modal-content" id="confirmationModalContent">
<div class="modal-header">
<div class="drag-handle" id="dragHandle">
<span class="drag-icon">☰</span>
</div>
</div>
<div class="modal-content">
<button class="close-btn" onclick="closeConfirmationModal()">&times;</button>
<!-- <div class="question-icon">❓</div>
<h2>Is this the correct details?</h2> -->
<form id="confirmationForm">
Expand Down Expand Up @@ -110,6 +117,25 @@ <h2>Is this the correct details?</h2> -->
Receipt Date is not today. Are you sure you want to add this?
</div>
</div>

<div id="confirmRemarksField" class="form-group" style="display: none;">
<label for="confirmRemarks">Remarks</label>
<input type="text"
id="confirmRemarks"
name="confirmRemarks"
placeholder="Enter Remarks"
style="box-sizing: border-box;">
</div>

<div id="confirmDiningField" class="form-group" style="display: none;">
<div class="dining-field">
<input type="checkbox"
id="confirmDiningCheck"
name="confirmDining">
<label for="confirmDiningCheck">Dining</label>
</div>
</div>

<div class="button-group">
<button type="button" class="primary-button" onclick="handleConfirmDetails()">Confirm Details</button>
</div>
Expand Down Expand Up @@ -142,6 +168,7 @@ <h2>Is this the correct details?</h2> -->
<!-- Manual Receipt Entry Modal -->
<div id="manualEntryModal" class="photo-options-modal" style="display: none;">
<div class="modal-content">
<button class="close-btn" onclick="closeManualEntryModal()">&times;</button>
<h3>Add Cash Receipt</h3>
<form id="manualReceiptForm">
<div class="form-group">
Expand All @@ -168,7 +195,6 @@ <h3>Add Cash Receipt</h3>
<span class="icon" style="color: white !important;">💾</span>
Submit
</button>
<button type="button" class="cancel-btn" onclick="closeManualEntryModal()">Cancel</button>
</form>
</div>
</div>
Expand Down Expand Up @@ -225,4 +251,4 @@ <h3>Multiple Payments</h3>
</template>

</body>
</html>
</html>
Loading