You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.6 KiB
HTML
65 lines
2.6 KiB
HTML
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Osina</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href='{% static "dist/output.css" %}'>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
|
|
</head>
|
|
|
|
<body class="font-poppinsLight">
|
|
<form method="POST" action="">
|
|
{% csrf_token %}
|
|
<h1 class="text-secondosiblue text-2xl font-semibold text-center">Add Payment</h1>
|
|
|
|
<div class="w-full mt-4">
|
|
<label class="text-gray-500">Amount:</label>
|
|
<input name="amount" type="number" step="0.01"
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md mt-1" placeholder="Amount" required>
|
|
</div>
|
|
|
|
<div class="w-full mt-4">
|
|
<label class="text-gray-500">Date Paid:</label>
|
|
<input name="date_paid" type="date"
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md mt-1">
|
|
</div>
|
|
|
|
<div class="w-full mt-4">
|
|
<label class="text-gray-500">Date Due:</label>
|
|
<input name="date_due" type="date"
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md mt-1">
|
|
</div>
|
|
|
|
<div class="w-full mt-4">
|
|
<label class="text-gray-500">Payment Method(s):</label>
|
|
<select required name="methods" id="" multiple class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md mt-1">
|
|
<option value="" selected disabled>Select Payment Method</option>
|
|
{% for method in methods %}
|
|
<option value="{{method.id}}" >{{method.name}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
|
|
|
|
<div class="w-full mt-4">
|
|
<label class="text-gray-500">Comment:</label>
|
|
<textarea name="comment" type="text" placeholder="Write Your Comment..."
|
|
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none resize-none"
|
|
rows="4"></textarea>
|
|
</div>
|
|
|
|
|
|
<div class="w-full flex justify-center items-center mt-4">
|
|
<button type="submit"
|
|
class="w-fit bg-osiblue border border-osiblue rounded-md text-white text-xl px-5 py-1 hover:bg-white hover:text-osiblue">Save</button>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
|
|
</html> |