issue with foreach statement syntax
This commit is contained in:
@@ -111,7 +111,7 @@ class ProcessStructureJob implements ShouldQueue
|
|||||||
//This will be implemented in the near future.
|
//This will be implemented in the near future.
|
||||||
|
|
||||||
if(isset($structure->services)) {
|
if(isset($structure->services)) {
|
||||||
foreach($structure->service as $service) {
|
foreach($structure->services as $service) {
|
||||||
//Search for the service, and if found, update it, else add it.
|
//Search for the service, and if found, update it, else add it.
|
||||||
$serviceFound = Service::where([
|
$serviceFound = Service::where([
|
||||||
'structure_id' => $structure->structure_id,
|
'structure_id' => $structure->structure_id,
|
||||||
|
|||||||
@@ -146,6 +146,8 @@ return [
|
|||||||
'default',
|
'default',
|
||||||
'journal',
|
'journal',
|
||||||
'mail',
|
'mail',
|
||||||
|
'structures',
|
||||||
|
'assets',
|
||||||
],
|
],
|
||||||
'balance' => 'auto',
|
'balance' => 'auto',
|
||||||
'processes' => 3,
|
'processes' => 3,
|
||||||
@@ -160,6 +162,8 @@ return [
|
|||||||
'default',
|
'default',
|
||||||
'journal',
|
'journal',
|
||||||
'mail',
|
'mail',
|
||||||
|
'structures',
|
||||||
|
'assets',
|
||||||
],
|
],
|
||||||
'balance' => 'auto',
|
'balance' => 'auto',
|
||||||
'processes' => 3,
|
'processes' => 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user