@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | // Determine if there is a parent site with shared contacts |
| 72 | 72 | $parent = Customers::find($id)->parent_id; |
| 73 | - if ($parent) |
|
| 73 | + if($parent) |
|
| 74 | 74 | { |
| 75 | 75 | $parentList = CustomerContacts::where('cust_id', $parent) |
| 76 | 76 | ->where('shared', 1) |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | // Update the primary contact information |
| 130 | 130 | $details = Customers::find($request->cust_id); |
| 131 | - if ($details->parent_id && $request->shared == 'true') { |
|
| 131 | + if($details->parent_id && $request->shared == 'true') { |
|
| 132 | 132 | $request->cust_id = $details->parent_id; |
| 133 | 133 | } |
| 134 | 134 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | // Determine if the note should go to the customer, or its parent |
| 31 | 31 | $details = Customers::find($request->cust_id); |
| 32 | - if ($details->parent_id && $request->shared == 'true') { |
|
| 32 | + if($details->parent_id && $request->shared == 'true') { |
|
| 33 | 33 | $request->cust_id = $details->parent_id; |
| 34 | 34 | } |
| 35 | 35 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | // Determine if there is a parent site with shared contacts |
| 57 | 57 | $parent = Customers::find($id)->parent_id; |
| 58 | - if ($parent) { |
|
| 58 | + if($parent) { |
|
| 59 | 59 | $parentList = CustomerNotes::where('cust_id', $parent)->where('shared', 1)->orderBy('urgent', 'desc')->get(); |
| 60 | 60 | |
| 61 | 61 | $notes = $notes->merge($parentList); |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | ]); |
| 77 | 77 | |
| 78 | 78 | $details = Customers::find($request->cust_id); |
| 79 | - if ($details->parent_id && $request->shared == 'true') { |
|
| 79 | + if($details->parent_id && $request->shared == 'true') { |
|
| 80 | 80 | $request->cust_id = $details->parent_id; |
| 81 | 81 | } |
| 82 | 82 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | // Verify that the upload is valid and being processed |
| 38 | 38 | if($receiver->isUploaded() === false) |
| 39 | 39 | { |
| 40 | - Log::error('Upload File Missing - ' . |
|
| 40 | + Log::error('Upload File Missing - '. |
|
| 41 | 41 | /** @scrutinizer ignore-type */ |
| 42 | 42 | $request->toArray()); |
| 43 | 43 | throw new UploadMissingFileException(); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | { |
| 52 | 52 | // Determine if the note should go to the customer, or its parent |
| 53 | 53 | $details = Customers::find($request->cust_id); |
| 54 | - if ($details->parent_id && $request->shared == 'true') |
|
| 54 | + if($details->parent_id && $request->shared == 'true') |
|
| 55 | 55 | { |
| 56 | 56 | $request->cust_id = $details->parent_id; |
| 57 | 57 | } |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | |
| 112 | 112 | // Determine if there is a parent site with shared files |
| 113 | 113 | $parent = Customers::find($id)->parent_id; |
| 114 | - if ($parent) { |
|
| 114 | + if($parent) { |
|
| 115 | 115 | $parentList = Customerfiles::where('cust_id', $parent) |
| 116 | 116 | ->where('shared', 1) |
| 117 | 117 | ->with('Files') |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | ]); |
| 136 | 136 | |
| 137 | 137 | $details = Customers::find($request->cust_id); |
| 138 | - if ($details->parent_id && $request->shared == 1) { |
|
| 138 | + if($details->parent_id && $request->shared == 1) { |
|
| 139 | 139 | $request->cust_id = $details->parent_id; |
| 140 | 140 | } |
| 141 | 141 | |