worked on the new onboarding steps
This commit is contained in:
48
scrap-board.php
Normal file
48
scrap-board.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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"
|
||||
]
|
||||
|
||||
|
||||
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));
|
||||
*/
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user