Update myOrdersList.php

This commit is contained in:
tripathyr 2022-04-12 17:24:33 +05:30 committed by GitHub
parent 66dc614d76
commit 95d5cebde6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ if ($user_logged_in) { ?>
</thead>
<tbody id="my-transactions-list"></tbody>
<?php if(isset($user_id) && $user_id !=null) {
$MyTransactions = $OrderClass->displayUserTransaction($user_id, 0, 10);?>
$MyTransactions = displayUserTransaction($user_id, 0, 10);?>
<?php if ($MyTransactions == null || !is_array($MyTransactions) || empty($MyTransactions)) { ?>
<p class="text-info">No transactions!</p>
<?php }} ?>
@ -53,4 +53,4 @@ if ($user_logged_in) { ?>
</div>
</div>
<?php } ?>
<?php } ?>