Update recentTransactionsTotal.php

This commit is contained in:
tripathyr 2022-04-12 17:10:48 +05:30 committed by GitHub
parent 5d030c04d2
commit ff7282c0ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,6 @@
<?php
/**
* Created by PhpStorm.
* User: Abhishek Kumar Sinha
* Date: 9/27/2017
* Time: 5:21 PM
*/
require_once '../includes/imp_files.php';
if(isset($_POST['job']) && $_POST['job'] == 'total_recent_transactions') {
if (isset($UserClass, $OrderClass)) {
echo $total_my_orders = (int) $OrderClass->total_recent_transactions();
}
echo $total_my_orders = (int) total_recent_transactions();
}