add weekly
This commit is contained in:
@@ -1269,7 +1269,7 @@ class GadaiController extends Controller
|
||||
if($request->method == 'daily'){
|
||||
array_push($array_totalup,['tarikh'=>$current->toDateString(),'totalgadai'=>0,'totaltebus'=>0,'totalupah'=>0]);
|
||||
}
|
||||
if($request->method == 'weekly'){
|
||||
if($request->method == 'weekly'){//weekly
|
||||
for($i=0;$i<7;$i++){
|
||||
if($i == 0){
|
||||
$weekly_array_date = $weekly->subDays(0);
|
||||
|
||||
Reference in New Issue
Block a user