Files
click-erp/scrap-board.php
2024-06-10 21:40:28 +00:00

51 lines
1.5 KiB
PHP

<?php
[
"Initial talks\/ discussions",
"Routes shared by Click Mobile",
"Confirmation of routes to be tested with sample content",
"Agreement Shared",
"Agreement signed by one party (Click Mobile\/ Client)",
"The agreement signed by both parties but interconnectivity has yet to begin",
"Connectivity details pending on Click Mobile side.",
"Integration initiated"
]
[
"Agreement" => "COMPLETED", "interconnectivity" => "PENDING"
]
* * * * * php /Users/kwesibanson/sites/team_tracker/artisan schedule:run >> /dev/null 2>&1
* * * * * php /var/www/html/general/team_tracker/artisan schedule:run >> /dev/null 2>&1
if(date('D') == 'Sat' || date('D') == 'Sun') {
echo "Today is Saturday or Sunday.";
} else {
echo "Today is not Saturday or Sunday.";
}
/*
$current_date = new \DateTime(date('Y-m-d'));
$expiry_date = new \DateTime($showclient->contract_validity);
$diff = date_diff($current_date, $expiry_date);
dd($diff);
$polar = $diff->format("%R");
$months = $diff->format("%m");
$days = $diff->format("%a");
dd($days);
*/
/*
$date1 = "2024-01-01";
$date2 = "2023-01-11";
$diff = abs(strtotime($date2) - strtotime($date1));
$days = floor($diff / (60*60*24));
dd($days);
$diff = abs(strtotime($expiry_date) - strtotime($current_date));
$days = floor($diff / (60*60*24));
*/
?>