Skip to content

Commit

Permalink
added pay link
Browse files Browse the repository at this point in the history
  • Loading branch information
anujpatel03 committed Apr 10, 2024
1 parent 309b0f3 commit ca7a793
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ <h2 align="center">My Fine</h2>
<th>Amount</th>
<th>Status</th>
<th>Reason</th>
<th>Action</th>
</tr>
</thead>
<tbody>
Expand All @@ -17,9 +18,17 @@ <h2 align="center">My Fine</h2>
<td>{{ fine.amount }}</td>
<td>{{ fine.status }}</td>
<td>{{ fine.reason }}</td>
<td>
<button class="ui positive button" onclick="PayFine('{{ fine.fine_id }}')">Pay</button>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<script>
function PayFine(fineId) {
window.location.href = `https://payments.google.com/gp/w/u/0/home/signup?sctid=8038222432357075`;
}
</script>
</div>
{% endblock %}

0 comments on commit ca7a793

Please sign in to comment.