transaction added created on

This commit is contained in:
rizwanisready
2024-04-09 13:26:57 +05:30
parent 42ddc77920
commit 2886f0b540
3 changed files with 12 additions and 4 deletions

View File

@@ -148,7 +148,7 @@
<span class="badge badge-warning ">{{ group.name }}</span>
{% endfor %}
{% else %}
<span class="badge badge-danger">No Group Assigned</span>
<span class="badge badge-danger">No Resource Assigned</span>
{% endif %}
</td>
<td class="text-center">{{ subadmin_principal.principal_type }}</td>

View File

@@ -45,10 +45,12 @@
aria-sort="ascending" style="width: 69.2656px;"> Coins </th>
<th class="checkbox-column sorting_asc" tabindex="0" aria-controls="style-3"
aria-sort="ascending" style="width: 69.2656px;"> Value in GBP </th>
<th class="checkbox-column sorting_asc" tabindex="0" aria-controls="style-3"
aria-sort="ascending" style="width: 69.2656px;"> Added At </th>
<th class="checkbox-column sorting_asc" tabindex="0" aria-controls="style-3"
aria-sort="ascending" style="width: 69.2656px;"> Start Date </th>
<th class="checkbox-column sorting_asc" tabindex="0" aria-controls="style-3"
aria-sort="ascending" style="width: 69.2656px;"> End Time </th>
aria-sort="ascending" style="width: 69.2656px;"> End Date </th>
<th class="sorting" tabindex="7" aria-controls="style-3"
style="width: 79.7969px;">Active</th>
<th class="dt-no-sorting sorting" tabindex="8" aria-controls="style-3"
@@ -61,6 +63,7 @@
<td class="checkbox-column text-center sorting_1">{{data_obj.id}}</td>
<td>{{data_obj.coins}}</td>
<td>{{data_obj.value_in_pound}}</td>
<td>{{data_obj.created_on}}</td>
<td>{{data_obj.start_date}}</td>
<td>{{data_obj.end_date}}</td>
<td class="text-center">
@@ -69,7 +72,7 @@
</td>
<td class="text-center">
<ul class="table-controls">
<li><a href="{% url 'manage_referrals:coin_edit' data_obj.id %}"
<!-- <li><a href="{% url 'manage_referrals:coin_edit' data_obj.id %}"
class="bs-tooltip" data-bs-toggle="tooltip"
data-bs-placement="top" title="" data-original-title="Edit"
data-bs-original-title="Edit" aria-label="Edit"><svg
@@ -81,7 +84,7 @@
<path
d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z">
</path>
</svg></a></li>
</svg></a></li> -->
<li><a href="{% url 'manage_referrals:coin_delete' data_obj.id %}"
class="bs-tooltip" data-bs-toggle="tooltip"
data-bs-placement="top" title=""
@@ -130,6 +133,7 @@
"sSearchPlaceholder": "Search...",
"sLengthMenu": "Results : _MENU_",
},
"order": [[0, "desc"]],
"stripeClasses": [],
"lengthMenu": [5, 10, 20, 50],
"pageLength": 10

View File

@@ -57,6 +57,9 @@
<th class="sorting" tabindex="0" aria-controls="style-3" rowspan="1" colspan="1"
aria-label="Mobile No.: activate to sort column ascending"
style="width: 98.875px;">Coins</th>
<th class="sorting" tabindex="0" aria-controls="style-3" rowspan="1" colspan="1"
aria-label="Mobile No.: activate to sort column ascending"
style="width: 98.875px;">Created At</th>
<!-- <th class="text-center sorting" tabindex="0" aria-controls="style-3" rowspan="1"
colspan="1" aria-label="Status: activate to sort column ascending"
style="width: 76.625px;">Comments</th> -->
@@ -77,6 +80,7 @@
<td>{{transaction_obj.transaction_status}}</td>
<td>{{transaction_obj.amount}}</td>
<td>{{transaction_obj.coin}}</td>
<td>{{transaction_obj.created_on}}</td>
</tr>
{% endfor %}