Codebase update
- Remove default pic assignments for unsold commodity notifications - Check wabot credential complete first before notification blast, if incomplete no notification be sent - Change migration column order for settings table, column group first - Resolve error of not showing select after updating any PIC for selected day
This commit is contained in:
@@ -57,6 +57,11 @@ class SettingController extends Controller
|
||||
|
||||
array_walk($unique_pic_input, function ($item) use (&$transformed_unique_pic_input) {
|
||||
foreach ($item as $key => $value) {
|
||||
|
||||
if(count($value) === 0){
|
||||
$value = [new \stdClass()];
|
||||
}
|
||||
|
||||
$transformed_unique_pic_input[$key] = $value;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user