Commit 8b5fadd4 by Azhan Hannan

bugs

parent 0ef4746b
......@@ -183,14 +183,14 @@ class FormController extends Controller
$dt = [];
if($phase == 1){
for ($i=0; $i < 15; $i++) {
$temp = Carbon::create($year, $month, $i+1, );
$temp = Carbon::create($year, $month, $i+1);
$dt[] = $temp->toDateString();
}
}
else
{
for ($j=15; $j < $daymonth; $j++) {
$temp = Carbon::create($year, $month, $j+1, );
$temp = Carbon::create($year, $month, $j+1);
$dt[] = $temp->toDateString();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment