Days Run:
0) ? $schedule['days_run'] . ' / ' . $schedule['total_days'] : 'N/A';
} else {
$start = new DateTime($schedule['start_date']);
$end = new DateTime($schedule['end_date']);
$today = new DateTime();
$daysRun = max(1, $today->diff($start)->days + 1);
$totalDays = max(1, $end->diff($start)->days + 1);
echo $daysRun . ' / ' . $totalDays . ' (Active)';
}
?>
Total Spent:
Rs.
Remaining Budget:
Rs.
Final Status:
Stopped