report code changes by pankaj
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -8,90 +9,91 @@
|
||||
<script src="{{ url_for('static', filename='js/block.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/search_on_table.js') }}"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Button Container to Center Buttons -->
|
||||
<div class="button-container">
|
||||
<button id="addButton" class="action-button">Add</button>
|
||||
<button id="displayButton" class="action-button">Display</button>
|
||||
</div>
|
||||
<!-- Button Container to Center Buttons -->
|
||||
<div class="button-container">
|
||||
<button id="addButton" class="action-button">Add</button>
|
||||
<button id="displayButton" class="action-button">Display</button>
|
||||
</div>
|
||||
|
||||
<div id="addForm" style="display: none;">
|
||||
<div class="container">
|
||||
<div class="form-block">
|
||||
<h2>Create a New Block</h2>
|
||||
<form id="blockForm" method="POST">
|
||||
<!-- Select State Dropdown -->
|
||||
<label for="state_Id">State:</label>
|
||||
<select id="state_Id" name="state_Id" required>
|
||||
<option value="" disabled selected>Select State</option>
|
||||
{% for state in states %}
|
||||
<option value="{{ state[0] }}">{{ state[1] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div id="addForm" style="display: none;">
|
||||
<div class="container">
|
||||
<div class="form-block">
|
||||
<h2>Create a New Block</h2>
|
||||
<form id="blockForm" method="POST">
|
||||
<!-- Select State Dropdown -->
|
||||
<label for="state_Id">State:</label>
|
||||
<select id="state_Id" name="state_Id" required>
|
||||
<option value="" disabled selected>Select State</option>
|
||||
{% for state in states %}
|
||||
<option value="{{ state[0] }}">{{ state[1] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
<!-- Select District Dropdown -->
|
||||
<label for="district_Id">District:</label>
|
||||
<select id="district_Id" name="district_Id" required disabled>
|
||||
<option value="" disabled selected>Select District</option>
|
||||
</select>
|
||||
<!-- Select District Dropdown -->
|
||||
<label for="district_Id">District:</label>
|
||||
<select id="district_Id" name="district_Id" required disabled>
|
||||
<option value="" disabled selected>Select District</option>
|
||||
</select>
|
||||
|
||||
<!-- Block Name Input -->
|
||||
<label for="block_Name">Enter Block Name:</label>
|
||||
<input type="text" id="block_Name" name="block_Name" placeholder="Block Name" required>
|
||||
<span id="blockMessage"></span>
|
||||
<!-- Block Name Input -->
|
||||
<label for="block_Name">Enter Block Name:</label>
|
||||
<input type="text" id="block_Name" name="block_Name" placeholder="Block Name" required>
|
||||
<span id="blockMessage"></span>
|
||||
|
||||
<button type="submit" id="submitButton" disabled>Add Block</button>
|
||||
</form>
|
||||
<button type="submit" id="submitButton" disabled>Add Block</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="addTable" style="display: none;">
|
||||
<div class="search-container">
|
||||
<h2>Display Blocks</h2>
|
||||
<input type="text" id="searchBar" placeholder="Searching..." onkeyup="searchTable()">
|
||||
<div id="addTable" style="display: none;">
|
||||
<div class="search-container">
|
||||
<h2>Display Blocks</h2>
|
||||
<input type="text" id="searchBar" placeholder="Searching..." onkeyup="searchTable()">
|
||||
</div>
|
||||
<!-- Display Blocks -->
|
||||
<table id="sortableTable" border="1">
|
||||
<tr>
|
||||
<th>Block Sr no</th>
|
||||
<th class="sortable-header">Block Name
|
||||
<span class="sort-buttons">
|
||||
<span class="sort-asc">⬆️</span>
|
||||
<span class="sort-desc">⬇️</span>
|
||||
</span>
|
||||
</th>
|
||||
<th class="sortable-header">District Name
|
||||
<span class="sort-buttons">
|
||||
<span class="sort-asc">⬆️</span>
|
||||
<span class="sort-desc">⬇️</span>
|
||||
</span>
|
||||
</th>
|
||||
<th>Update</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
{% for block in block_data %}
|
||||
<tr>
|
||||
<td>{{ block[0] }}</td>
|
||||
<td>{{ block[1] }}</td>
|
||||
<td>{{ block[3] }}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('block.edit_block', block_id=block[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('block.delete_block', block_id=block[0]) }}"
|
||||
onclick="return confirm('Are you sure you want to delete this block?');">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
<!-- Display Blocks -->
|
||||
<table id="sortableTable" border="1">
|
||||
<tr>
|
||||
<th>Block Sr no</th>
|
||||
<th class="sortable-header">Block Name
|
||||
<span class="sort-buttons">
|
||||
<span class="sort-asc">⬆️</span>
|
||||
<span class="sort-desc">⬇️</span>
|
||||
</span>
|
||||
</th>
|
||||
<th class="sortable-header">District Name
|
||||
<span class="sort-buttons">
|
||||
<span class="sort-asc">⬆️</span>
|
||||
<span class="sort-desc">⬇️</span>
|
||||
</span>
|
||||
</th>
|
||||
<th>Update</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
{% for block in block_data %}
|
||||
<tr>
|
||||
<td>{{ block[0] }}</td>
|
||||
<td>{{ block[1] }}</td>
|
||||
<td>{{ block[2] }}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('edit_block', block_id=block[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('delete_block', block_id=block[0]) }}"
|
||||
onclick="return confirm('Are you sure you want to delete this block?');">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
||||
@@ -64,13 +64,13 @@
|
||||
<td>{{ district[1] }}</td>
|
||||
<td>{{ district[2] }}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('edit_district', district_id=district[0]) }}">
|
||||
<a href="{{ url_for('district.edit_district', district_id=district[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('delete_district', district_id=district[0]) }}"
|
||||
<a href="{{ url_for('district.delete_district', district_id=district[0]) }}"
|
||||
onclick="return confirm('Are you sure you want to delete this district?')">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"
|
||||
class="icon">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>Manage Hold Types</title>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='js/hold_types.js') }}"></script>
|
||||
<!-- <script src="{{ url_for('static', filename='js/hold_types.js') }}"></script> -->
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
<script src="{{ url_for('static', filename='js/search_on_table.js') }}"></script>
|
||||
</head>
|
||||
@@ -14,9 +14,9 @@
|
||||
<button id="displayButton" class="action-button">Display</button>
|
||||
</div>
|
||||
|
||||
<div id="addForm" style="display: none;">
|
||||
<div id="addForm">
|
||||
<h2>Add Hold Types</h2>
|
||||
<form id="holdTypeForm" method="POST">
|
||||
<form id="holdTypeForm" method="POST" action="{{ url_for('hold_types.add_hold_type') }}">
|
||||
<label>Enter Hold Amount Type:</label>
|
||||
<input type="text" id="hold_type" name="hold_type" placeholder="Enter Type" required>
|
||||
<span id="holdTypeMessage"></span>
|
||||
@@ -46,7 +46,7 @@
|
||||
<tr>
|
||||
<td>{{ htd['hold_type_id'] }}</td>
|
||||
<td>{{ htd['hold_type'] }}</td>
|
||||
<td><a href="{{ url_for('update_hold_type', id=htd['hold_type_id']) }}">Edit</a></td>
|
||||
<td><a href="{{ url_for('hold_types.edit_hold_type', id=htd['hold_type_id']) }}">Edit</a></td>
|
||||
<td><button class="delete-button" data-id="{{ htd['hold_type_id'] }}">Delete</button></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<div id="addForm" style="display: none;">
|
||||
<h2>Add Invoice</h2>
|
||||
|
||||
<form id="invoiceForm" action="{{ url_for('add_invoice') }}" method="POST">
|
||||
<form id="invoiceForm" action="{{ url_for('invoice.add_invoice') }}" method="POST">
|
||||
<div class="row1">
|
||||
<div>
|
||||
<label for="subcontractor">Subcontractor Name:</label>
|
||||
@@ -217,13 +217,14 @@
|
||||
<td>{{ invoice.GST_SD_Amount }}</td>
|
||||
<td>{{ invoice.Final_Amount }}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('edit_invoice', invoice_id=invoice.Invoice_Id) }}">
|
||||
<!-- Edit -->
|
||||
<a href="{{ url_for('invoice.edit_invoice', invoice_id=invoice.Invoice_Id) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit" class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('delete_invoice', invoice_id=invoice.Invoice_Id) }}"
|
||||
onclick="return confirm('Are you sure?')">
|
||||
<!-- Delete -->
|
||||
<a href="{{ url_for('invoice.delete_invoice_route', invoice_id=invoice.Invoice_Id) }}" onclick="return confirm('Are you sure?')">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete" class="icon">
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -92,6 +92,17 @@
|
||||
<td><a href="/edit_payment/{{ payment[0] }}"><img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit" class="icon"></a></td>
|
||||
<td><a href="/delete_payment/{{ payment[0] }}" onclick="return confirm('Are you sure you want to delete this payment?')"><img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete" class="icon"></a></td>
|
||||
</tr>
|
||||
<!-- <tr>
|
||||
<td>{{ payment['Payment_Id'] }}</td>
|
||||
<td>{{ payment['PMC_No'] }}</td>
|
||||
<td>{{ payment['invoice_no'] }}</td>
|
||||
<td>{{ payment['Payment_Amount'] }}</td>
|
||||
<td>{{ payment['TDS_Payment_Amount'] }}</td>
|
||||
<td>{{ payment['Total_Amount'] }}</td>
|
||||
<td>{{ payment['UTR'] }}</td>
|
||||
<td><a href="/edit_payment/{{ payment['Payment_Id'] }}"><img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit" class="icon"></a></td>
|
||||
<td><a href="/delete_payment/{{ payment['Payment_Id'] }}" onclick="return confirm('Are you sure you want to delete this payment?')"><img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete" class="icon"></a></td>
|
||||
</tr> -->
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -1,72 +1,74 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
|
||||
<head>
|
||||
<title>Add State</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
<script src="{{ url_for('static', filename='js/state.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/search_on_table.js') }}"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Button Container to Center Buttons -->
|
||||
<div class="button-container">
|
||||
<button id="addButton" class="action-button">Add</button>
|
||||
<button id="displayButton" class="action-button">Display</button>
|
||||
</div>
|
||||
|
||||
<div id="addForm" style="display: none;">
|
||||
<h2>Add State</h2>
|
||||
<form id="stateForm" method="POST">
|
||||
<label>Enter State :</label>
|
||||
<input type="text" id="state_Name" name="state_Name" placeholder="State Name" required>
|
||||
<span id="stateMessage"></span>
|
||||
<button type="submit" id="submitButton" disabled>Add State</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="addTable" style="display: none;">
|
||||
<div class="search-container">
|
||||
<h2>Display States</h2>
|
||||
<input type="text" id="searchBar" placeholder="Searching..." onkeyup="searchTable()">
|
||||
<!-- Button Container to Center Buttons -->
|
||||
<div class="button-container">
|
||||
<button id="addButton" class="action-button">Add</button>
|
||||
<button id="displayButton" class="action-button">Display</button>
|
||||
</div>
|
||||
<script>
|
||||
console.log(statedata)
|
||||
</script>
|
||||
<table id="sortableTable" border="1">
|
||||
<tr>
|
||||
<th>State ID</th>
|
||||
<th class="sortable-header">
|
||||
State Name
|
||||
<span class="sort-buttons">
|
||||
|
||||
<div id="addForm" style="display: none;">
|
||||
<h2>Add State</h2>
|
||||
<form id="stateForm" method="POST">
|
||||
<label>Enter State :</label>
|
||||
<input type="text" id="state_Name" name="state_Name" placeholder="State Name" required>
|
||||
<span id="stateMessage"></span>
|
||||
<button type="submit" id="submitButton" disabled>Add State</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="addTable" style="display: none;">
|
||||
<div class="search-container">
|
||||
<h2>Display States</h2>
|
||||
<input type="text" id="searchBar" placeholder="Searching..." onkeyup="searchTable()">
|
||||
</div>
|
||||
<script>
|
||||
console.log(statedata)
|
||||
</script>
|
||||
<table id="sortableTable" border="1">
|
||||
<tr>
|
||||
<th>State ID</th>
|
||||
<th class="sortable-header">
|
||||
State Name
|
||||
<span class="sort-buttons">
|
||||
<span class="sort-asc">⬆️</span>
|
||||
<span class="sort-desc">⬇️</span>
|
||||
</span>
|
||||
</th>
|
||||
<th>Update State</th>
|
||||
<th>Delete State</th>
|
||||
</tr>
|
||||
{% for state in statedata %}
|
||||
<tr>
|
||||
<td>{{ state[0] }}</td>
|
||||
<td>{{ state[1]}}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('editState', id=state[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('deleteState', id=state[0]) }}"
|
||||
onclick="return confirm('Are you sure you want to delete this state?')">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
</th>
|
||||
<th>Update State</th>
|
||||
<th>Delete State</th>
|
||||
</tr>
|
||||
{% for state in statedata %}
|
||||
<tr>
|
||||
<td>{{ state[0] }}</td>
|
||||
<td>{{ state[1]}}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('state.editState', id=state[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('state.deleteState', id=state[0]) }}"
|
||||
onclick="return confirm('Are you sure you want to delete this state?')">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
@@ -106,13 +106,13 @@
|
||||
<td>{{ subc[7] }}</td>
|
||||
<td>{{ subc[8] }}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('edit_subcontractor', id=subc[0]) }}">
|
||||
<a href="{{ url_for('subcontractor.edit_subcontractor', id=subc[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{# <a href="{{ url_for('deleteSubContractor', id=subc[0]) }}"#}
|
||||
{# <a href="{{ url_for('subcontractor.deleteSubContractor', id=subc[0]) }}"#}
|
||||
{# onclick="return confirm('Are you sure you want to delete?')">#}
|
||||
{# <img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"#}
|
||||
{# class="icon">#}
|
||||
|
||||
@@ -78,13 +78,13 @@
|
||||
<td>{{ village[1] }}</td>
|
||||
<td>{{ village[2] }}</td>
|
||||
<td>
|
||||
<a href="{{ url_for('edit_village', village_id=village[0]) }}">
|
||||
<a href="{{ url_for('village.edit_village', village_id=village[0]) }}">
|
||||
<img src="{{ url_for('static', filename='images/icons/pen_blue_icon.png') }}" alt="Edit"
|
||||
class="icon">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('delete_village', village_id=village[0]) }}"
|
||||
<a href="{{ url_for('village.delete_village', village_id=village[0]) }}"
|
||||
onclick="return confirm('Are you sure you want to delete this village?');">
|
||||
<img src="{{ url_for('static', filename='images/icons/bin_red_icon.png') }}" alt="Delete"
|
||||
class="icon">
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
<label for="utr">UTR:</label><br>
|
||||
<input type="text" id="utr" name="utr" value="{{ gst_release_data[6] }}"
|
||||
required><br><br>
|
||||
required readonly><br><br>
|
||||
|
||||
<button type="submit">Update GST Release</button>
|
||||
</form>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<label for="edit_hold_type">Hold Type:</label>
|
||||
<input type="text" id="edit_hold_type" name="hold_type" value="{{ hold_type[1] }}" required>
|
||||
<button type="submit">Update</button>
|
||||
<a href="{{ url_for('add_hold_type') }}"></a>
|
||||
<a href="{{ url_for('hold_types.add_hold_type') }}"></a>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
contentType: false,
|
||||
success: function () {
|
||||
// The server will redirect, so we don't need to handle the response here
|
||||
window.location.href = "{{ url_for('add_hold_type') }}";
|
||||
window.location.href = "{{ url_for('hold_types.add_hold_type') }}";
|
||||
},
|
||||
error: function (xhr) {
|
||||
const errMsg = xhr.responseJSON?.message || 'Failed to update Hold Type';
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
Invoice successfully updated!
|
||||
</div>
|
||||
|
||||
<form id="invoiceForm" action="{{ url_for('edit_invoice', invoice_id=invoice.Invoice_Id) }}" method="POST">
|
||||
<form id="invoiceForm" action="{{ url_for('invoice.edit_invoice', invoice_id=invoice.Invoice_Id) }}" method="POST">
|
||||
|
||||
<!-- Subcontractor Field -->
|
||||
<div class="row1">
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
required><br><br>
|
||||
|
||||
<label for="utr">UTR:</label><br>
|
||||
<input type="text" id="utr" name="utr" value="{{ payment_data[6] }}"><br><br>
|
||||
<input type="text" id="utr" name="utr" value="{{ payment_data[6] }}" readonly><br><br>
|
||||
|
||||
<button type="submit">Update Payment</button>
|
||||
</form>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -7,50 +8,51 @@
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/index.css') }}">
|
||||
<style>
|
||||
.logout-button {
|
||||
position: absolute;
|
||||
top: 2cm;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.logout-button a {
|
||||
background-color: #e74c3c;
|
||||
color: white;
|
||||
padding: 8px 14px;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.logout-button a:hover {
|
||||
background-color: #c0392b;
|
||||
}
|
||||
.logout-button {
|
||||
position: absolute;
|
||||
top: 2cm;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.logout-button a {
|
||||
background-color: #e74c3c;
|
||||
color: white;
|
||||
padding: 8px 14px;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.logout-button a:hover {
|
||||
background-color: #c0392b;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="logout-button">
|
||||
<a href="/logout">Logout</a>
|
||||
</div>
|
||||
<div class="sidebar">
|
||||
<img src="https://lceplpmprod.btltech.xyz/assets/images/lcpl.png" alt="logo-image" class="logo">
|
||||
<a href="/logout">Logout</a>
|
||||
</div>
|
||||
<div class="sidebar">
|
||||
<img src="https://lceplpmprod.btltech.xyz/assets/images/lcpl.png" alt="logo-image" class="logo">
|
||||
|
||||
<ul class="nav-menu">
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link active">
|
||||
<i class="fas fa-home"></i> Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="/upload_excel_file" class="nav-link">
|
||||
<i class="fas fa-book"></i> Import Excel
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="/report" class="nav-link">
|
||||
<i class="fas fa-cog"></i> Report Details
|
||||
</a>
|
||||
</li>
|
||||
<!-- <li class="nav-item">
|
||||
<ul class="nav-menu">
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link active">
|
||||
<i class="fas fa-home"></i> Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="/upload_excel_file" class="nav-link">
|
||||
<i class="fas fa-book"></i> Import Excel
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="/report" class="nav-link">
|
||||
<i class="fas fa-cog"></i> Report Details
|
||||
</a>
|
||||
</li>
|
||||
<!-- <li class="nav-item">
|
||||
<a href="/work_order_report" class="nav-link">
|
||||
<i class="fas fa-cog"></i> Work Order Report Details
|
||||
</a>
|
||||
@@ -60,90 +62,91 @@
|
||||
<i class="fas fa-cog"></i>Purchase Order Report Details
|
||||
</a>
|
||||
</li> -->
|
||||
<li class="nav-item">
|
||||
<a href="{{ url_for('activity_log') }}" class="nav-link">
|
||||
<i class="fas fa-cog"></i> Logs
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ url_for('log.activity_log') }}" class="nav-link">
|
||||
<i class="fas fa-cog"></i> Logs
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="user-section">
|
||||
<img src="{{ url_for('static', filename='images/icons/male_profile.jpg') }}" alt="User Avatar">
|
||||
<div class="user-info">
|
||||
<span>admin</span>
|
||||
</ul>
|
||||
<div class="user-section">
|
||||
<img src="{{ url_for('static', filename='images/icons/male_profile.jpg') }}" alt="User Avatar">
|
||||
<div class="user-info">
|
||||
<span>admin</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="company-info">
|
||||
<marquee behavior="scroll" direction="left">
|
||||
<h2 class="company-name">Laxmi Civil Engineering Services Pvt. Ltd.</h2>
|
||||
</marquee>
|
||||
<p class="app-name">Payment Reconciliation</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="menu">
|
||||
<div class="card">
|
||||
<h2>Profile</h2>
|
||||
<a class="btn" href="#">Go ➜</a>
|
||||
</div>
|
||||
<div class="company-info">
|
||||
<marquee behavior="scroll" direction="left">
|
||||
<h2 class="company-name">Laxmi Civil Engineering Services Pvt. Ltd.</h2>
|
||||
</marquee>
|
||||
<p class="app-name">Payment Reconciliation</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="menu">
|
||||
<div class="card">
|
||||
<h2>Profile</h2>
|
||||
<a class="btn" href="#">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>States</h2>
|
||||
<a class="btn" href="/add_state">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>States</h2>
|
||||
<a class="btn" href="/add_state">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>District</h2>
|
||||
<a class="btn" href="/add_district">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>District</h2>
|
||||
<a class="btn" href="/add_district">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Blocks</h2>
|
||||
<a class="btn" href="/add_block">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Blocks</h2>
|
||||
<a class="btn" href="/add_block">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Village</h2>
|
||||
<a class="btn" href="/add_village">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Village</h2>
|
||||
<a class="btn" href="/add_village">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Sub-Contractor</h2>
|
||||
<a class="btn" href="/subcontractor">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Sub-Contractor</h2>
|
||||
<a class="btn" href="/subcontractor">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Invoice</h2>
|
||||
<a class="btn" href="/add_invoice">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Invoice</h2>
|
||||
<a class="btn" href="/add_invoice">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Payment</h2>
|
||||
<a class="btn" href="/add_payment">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Payment</h2>
|
||||
<a class="btn" href="/add_payment">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>GST Release</h2>
|
||||
<a class="btn" href="/add_gst_release">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>GST Release</h2>
|
||||
<a class="btn" href="/add_gst_release">Go ➜</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Hold Types</h2>
|
||||
<a class="btn" href="/add_hold_type">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Work Order</h2>
|
||||
<a class="btn" href="/add_work_order">Go ➜</a>
|
||||
</div>
|
||||
<!-- <div class="card">
|
||||
<div class="card">
|
||||
<h2>Hold Types</h2>
|
||||
<a class="btn" href="/add_hold_type">Go ➜</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Work Order</h2>
|
||||
<!-- <a class="btn" href="/add_work_order">Go ➜</a> -->
|
||||
<a class="btn">Go ➜</a>
|
||||
</div>
|
||||
<!-- <div class="card">
|
||||
<h2>Purchase Order</h2>
|
||||
<a class="btn" href="/add_purchase_order">Go ➜</a>
|
||||
</div> -->
|
||||
<!-- <div class="card">
|
||||
<!-- <div class="card">
|
||||
<h2>Goods Receive Note</h2>
|
||||
<a class="btn" href="/add_grn">Go ➜</a>
|
||||
</div> -->
|
||||
<!-- <div class="card">
|
||||
<!-- <div class="card">
|
||||
<h2>Unreleased GST</h2>
|
||||
<a class="btn" href="/unreleased_gst">Go ➜</a>
|
||||
</div>
|
||||
@@ -154,8 +157,8 @@
|
||||
{# </div>#}
|
||||
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@@ -366,7 +366,7 @@
|
||||
</table>
|
||||
|
||||
|
||||
<a href="{{ url_for('download_report', contractor_id=contractor_id) }}" class="download-btn">Download Report</a>
|
||||
<a href="{{ url_for('report.download_report', contractor_id=contractor_id) }}" class="download-btn">Download Report</a>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user