35904 lines
3.3 MiB
35904 lines
3.3 MiB
SQL Queries and Database References Found in Source Code
|
|
Generated: 02/10/2026 20:54:59
|
|
================================================================================
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ShippingReports\PreviousMonthReports.php
|
|
================================================================================
|
|
Line 3 [match: epicor]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 35 [match: epicor]:
|
|
33: $this->info("Run Shipping For Month $lastmonth");
|
|
34:
|
|
>> 35: /** @var EpicorDatabase $epicor */
|
|
36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
|
|
Line 36 [match: epicor]:
|
|
34:
|
|
35: /** @var EpicorDatabase $epicor */
|
|
>> 36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
38: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
|
|
Line 38 [match: epicor]:
|
|
36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
>> 38: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
39:
|
|
40: $filename = "ShippingReport-".date('Y-m', strtotime(date('Y-m')." -1 month")).".xlsx";
|
|
|
|
Line 3 [match: Epicor]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 35 [match: Epicor]:
|
|
33: $this->info("Run Shipping For Month $lastmonth");
|
|
34:
|
|
>> 35: /** @var EpicorDatabase $epicor */
|
|
36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
|
|
Line 36 [match: Epicor]:
|
|
34:
|
|
35: /** @var EpicorDatabase $epicor */
|
|
>> 36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
38: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
|
|
Line 38 [match: Epicor]:
|
|
36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
>> 38: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
39:
|
|
40: $filename = "ShippingReport-".date('Y-m', strtotime(date('Y-m')." -1 month")).".xlsx";
|
|
|
|
Line 3 [match: EPICOR]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 35 [match: EPICOR]:
|
|
33: $this->info("Run Shipping For Month $lastmonth");
|
|
34:
|
|
>> 35: /** @var EpicorDatabase $epicor */
|
|
36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34:
|
|
35: /** @var EpicorDatabase $epicor */
|
|
>> 36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
38: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
|
|
Line 38 [match: EPICOR]:
|
|
36: $epicor = app(EpicorDatabase::class);
|
|
37:
|
|
>> 38: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
39:
|
|
40: $filename = "ShippingReport-".date('Y-m', strtotime(date('Y-m')." -1 month")).".xlsx";
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ShippingReports\SeedCurrentYear.php
|
|
================================================================================
|
|
Line 3 [match: epicor]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 40 [match: epicor]:
|
|
38: $this->info("Run Shipping For Month $lastmonth");
|
|
39:
|
|
>> 40: /** @var EpicorDatabase $epicor */
|
|
41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
|
|
Line 41 [match: epicor]:
|
|
39:
|
|
40: /** @var EpicorDatabase $epicor */
|
|
>> 41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
43: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
|
|
Line 43 [match: epicor]:
|
|
41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
>> 43: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
44:
|
|
45: $filename = "ShippingReport-" . date('Y').'-'.date('m', strtotime('2023-'.$lastmonth.'-01')) . ".xlsx";
|
|
|
|
Line 3 [match: Epicor]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 40 [match: Epicor]:
|
|
38: $this->info("Run Shipping For Month $lastmonth");
|
|
39:
|
|
>> 40: /** @var EpicorDatabase $epicor */
|
|
41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
|
|
Line 41 [match: Epicor]:
|
|
39:
|
|
40: /** @var EpicorDatabase $epicor */
|
|
>> 41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
43: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
|
|
Line 43 [match: Epicor]:
|
|
41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
>> 43: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
44:
|
|
45: $filename = "ShippingReport-" . date('Y').'-'.date('m', strtotime('2023-'.$lastmonth.'-01')) . ".xlsx";
|
|
|
|
Line 3 [match: EPICOR]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 40 [match: EPICOR]:
|
|
38: $this->info("Run Shipping For Month $lastmonth");
|
|
39:
|
|
>> 40: /** @var EpicorDatabase $epicor */
|
|
41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
|
|
Line 41 [match: EPICOR]:
|
|
39:
|
|
40: /** @var EpicorDatabase $epicor */
|
|
>> 41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
43: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
|
|
Line 43 [match: EPICOR]:
|
|
41: $epicor = app(EpicorDatabase::class);
|
|
42:
|
|
>> 43: $orders = $epicor->getShippingForMonth($lastmonth);
|
|
44:
|
|
45: $filename = "ShippingReport-" . date('Y').'-'.date('m', strtotime('2023-'.$lastmonth.'-01')) . ".xlsx";
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ShippingReports\YearToDate.php
|
|
================================================================================
|
|
Line 3 [match: epicor]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 33 [match: epicor]:
|
|
31:
|
|
32:
|
|
>> 33: /** @var EpicorDatabase $epicor */
|
|
34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
|
|
Line 34 [match: epicor]:
|
|
32:
|
|
33: /** @var EpicorDatabase $epicor */
|
|
>> 34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
36: $orders = $epicor->getShippingYTD();
|
|
|
|
Line 36 [match: epicor]:
|
|
34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
>> 36: $orders = $epicor->getShippingYTD();
|
|
37:
|
|
38: $filename = "AAA-ShippingReport-YearToDate.xlsx";
|
|
|
|
Line 3 [match: Epicor]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 33 [match: Epicor]:
|
|
31:
|
|
32:
|
|
>> 33: /** @var EpicorDatabase $epicor */
|
|
34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
|
|
Line 34 [match: Epicor]:
|
|
32:
|
|
33: /** @var EpicorDatabase $epicor */
|
|
>> 34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
36: $orders = $epicor->getShippingYTD();
|
|
|
|
Line 36 [match: Epicor]:
|
|
34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
>> 36: $orders = $epicor->getShippingYTD();
|
|
37:
|
|
38: $filename = "AAA-ShippingReport-YearToDate.xlsx";
|
|
|
|
Line 3 [match: EPICOR]:
|
|
1: <?php namespace App\Console\Commands\ShippingReports;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Illuminate\Console\Command;
|
|
5: use Illuminate\Support\Facades\Storage;
|
|
|
|
Line 33 [match: EPICOR]:
|
|
31:
|
|
32:
|
|
>> 33: /** @var EpicorDatabase $epicor */
|
|
34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
|
|
Line 34 [match: EPICOR]:
|
|
32:
|
|
33: /** @var EpicorDatabase $epicor */
|
|
>> 34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
36: $orders = $epicor->getShippingYTD();
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34: $epicor = app(EpicorDatabase::class);
|
|
35:
|
|
>> 36: $orders = $epicor->getShippingYTD();
|
|
37:
|
|
38: $filename = "AAA-ShippingReport-YearToDate.xlsx";
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\vorteq\fixschedule.php
|
|
================================================================================
|
|
Line 233 [match: FROM ]:
|
|
231: // Loop through directory using glob with pattern
|
|
232: foreach (glob($directory . "/paint_schedule_formdata*.txt") as $filePath) {
|
|
>> 233: // Extract timestamp from filename
|
|
234: $parts = explode("_", basename($filePath));
|
|
235: $timestamp = array_pop($parts);
|
|
|
|
Line 284 [match: FROM ]:
|
|
282:
|
|
283:
|
|
>> 284: $sql = "DELETE FROM dbo.paint_Schedule WHERE PlantLine IN ('$line')";
|
|
285: $this->warn("restoring $line $sql");
|
|
286: /** @var EMContainer $EMs */
|
|
|
|
Line 284 [match: DELETE FROM]:
|
|
282:
|
|
283:
|
|
>> 284: $sql = "DELETE FROM dbo.paint_Schedule WHERE PlantLine IN ('$line')";
|
|
285: $this->warn("restoring $line $sql");
|
|
286: /** @var EMContainer $EMs */
|
|
|
|
Line 108 [match: epicor]:
|
|
106: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
107: foreach ($theplants AS $PaintPlant)
|
|
>> 108: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
109:
|
|
110:
|
|
|
|
Line 121 [match: epicor]:
|
|
119: /** @var paint_PlantLine $PaintPlantLine */
|
|
120: foreach($thelines AS $PaintPlantLine)
|
|
>> 121: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
122: //prod_code
|
|
123:
|
|
|
|
Line 108 [match: Epicor]:
|
|
106: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
107: foreach ($theplants AS $PaintPlant)
|
|
>> 108: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
109:
|
|
110:
|
|
|
|
Line 121 [match: Epicor]:
|
|
119: /** @var paint_PlantLine $PaintPlantLine */
|
|
120: foreach($thelines AS $PaintPlantLine)
|
|
>> 121: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
122: //prod_code
|
|
123:
|
|
|
|
Line 108 [match: EPICOR]:
|
|
106: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
107: foreach ($theplants AS $PaintPlant)
|
|
>> 108: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
109:
|
|
110:
|
|
|
|
Line 121 [match: EPICOR]:
|
|
119: /** @var paint_PlantLine $PaintPlantLine */
|
|
120: foreach($thelines AS $PaintPlantLine)
|
|
>> 121: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
122: //prod_code
|
|
123:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\BarCode.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ClearOldInvoices.php
|
|
================================================================================
|
|
Line 51 [match: FROM ]:
|
|
49: inv_Upload.ID as inv_Upload_ID
|
|
50:
|
|
>> 51: FROM [inv_Upload]
|
|
52:
|
|
53: WHERE UploadDT < CONVERT(date,GETDATE() - 30)
|
|
|
|
Line 107 [match: FROM ]:
|
|
105: }
|
|
106:
|
|
>> 107: $sth = $pdo->prepare("DELETE FROM dbo.inv_UploadEntry WHERE inv_Upload_ID =".$result['inv_Upload_ID']);
|
|
108: $sth->execute();
|
|
109:
|
|
|
|
Line 110 [match: FROM ]:
|
|
108: $sth->execute();
|
|
109:
|
|
>> 110: $sth = $pdo->prepare("DELETE FROM inv_Upload WHERE ID = ".$result['inv_Upload_ID']);
|
|
111: $sth->execute();
|
|
112:
|
|
|
|
Line 48 [match: SELECT ]:
|
|
46:
|
|
47: $sql = "
|
|
>> 48: SELECT inv_Upload.UploadDT,
|
|
49: inv_Upload.ID as inv_Upload_ID
|
|
50:
|
|
|
|
Line 107 [match: DELETE FROM]:
|
|
105: }
|
|
106:
|
|
>> 107: $sth = $pdo->prepare("DELETE FROM dbo.inv_UploadEntry WHERE inv_Upload_ID =".$result['inv_Upload_ID']);
|
|
108: $sth->execute();
|
|
109:
|
|
|
|
Line 110 [match: DELETE FROM]:
|
|
108: $sth->execute();
|
|
109:
|
|
>> 110: $sth = $pdo->prepare("DELETE FROM inv_Upload WHERE ID = ".$result['inv_Upload_ID']);
|
|
111: $sth->execute();
|
|
112:
|
|
|
|
Line 5 [match: wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 5 [match: Wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 5 [match: WAVE]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8: use Savvior\Doctrine\EMContainer;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ExportEmails.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use PhpOffice\PhpSpreadsheet\IOFactory;
|
|
|
|
Line 45 [match: epicor]:
|
|
43: die('Invalid email option');
|
|
44:
|
|
>> 45: /** @var EpicorDatabase $EpicorDatabase */
|
|
46: $EpicorDatabase = app(EpicorDatabase::class);
|
|
47: /** @var quest_CompanyRepo $ROCompanyRepo */
|
|
|
|
Line 46 [match: epicor]:
|
|
44:
|
|
45: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 46: $EpicorDatabase = app(EpicorDatabase::class);
|
|
47: /** @var quest_CompanyRepo $ROCompanyRepo */
|
|
48: $ROCompanyRepo = app(quest_CompanyRepo::class);
|
|
|
|
Line 50 [match: epicor]:
|
|
48: $ROCompanyRepo = app(quest_CompanyRepo::class);
|
|
49:
|
|
>> 50: $EpicorCustomerNamesByID = $EpicorDatabase->getAllCustomerNamesByID();
|
|
51: $EmailsByCustomerID = $ROCompanyRepo->getEmailsByCustomerID($which);
|
|
52:
|
|
|
|
Line 53 [match: epicor]:
|
|
51: $EmailsByCustomerID = $ROCompanyRepo->getEmailsByCustomerID($which);
|
|
52:
|
|
>> 53: $progressBar = $this->output->createProgressBar(count($EpicorCustomerNamesByID));
|
|
54: $progressBar->start();
|
|
55:
|
|
|
|
Line 65 [match: epicor]:
|
|
63: ];
|
|
64:
|
|
>> 65: foreach($EpicorCustomerNamesByID as $EpicorCustomerID => $EpicorCustomerName)
|
|
66: {
|
|
67: array_push($spreadsheetData, [
|
|
|
|
Line 68 [match: epicor]:
|
|
66: {
|
|
67: array_push($spreadsheetData, [
|
|
>> 68: $EpicorCustomerName,
|
|
69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
|
|
Line 69 [match: epicor]:
|
|
67: array_push($spreadsheetData, [
|
|
68: $EpicorCustomerName,
|
|
>> 69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
|
|
Line 70 [match: epicor]:
|
|
68: $EpicorCustomerName,
|
|
69: $EpicorCustomerID,
|
|
>> 70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
72: ]);
|
|
|
|
Line 71 [match: epicor]:
|
|
69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
>> 71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
72: ]);
|
|
73:
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use PhpOffice\PhpSpreadsheet\IOFactory;
|
|
|
|
Line 45 [match: Epicor]:
|
|
43: die('Invalid email option');
|
|
44:
|
|
>> 45: /** @var EpicorDatabase $EpicorDatabase */
|
|
46: $EpicorDatabase = app(EpicorDatabase::class);
|
|
47: /** @var quest_CompanyRepo $ROCompanyRepo */
|
|
|
|
Line 46 [match: Epicor]:
|
|
44:
|
|
45: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 46: $EpicorDatabase = app(EpicorDatabase::class);
|
|
47: /** @var quest_CompanyRepo $ROCompanyRepo */
|
|
48: $ROCompanyRepo = app(quest_CompanyRepo::class);
|
|
|
|
Line 50 [match: Epicor]:
|
|
48: $ROCompanyRepo = app(quest_CompanyRepo::class);
|
|
49:
|
|
>> 50: $EpicorCustomerNamesByID = $EpicorDatabase->getAllCustomerNamesByID();
|
|
51: $EmailsByCustomerID = $ROCompanyRepo->getEmailsByCustomerID($which);
|
|
52:
|
|
|
|
Line 53 [match: Epicor]:
|
|
51: $EmailsByCustomerID = $ROCompanyRepo->getEmailsByCustomerID($which);
|
|
52:
|
|
>> 53: $progressBar = $this->output->createProgressBar(count($EpicorCustomerNamesByID));
|
|
54: $progressBar->start();
|
|
55:
|
|
|
|
Line 65 [match: Epicor]:
|
|
63: ];
|
|
64:
|
|
>> 65: foreach($EpicorCustomerNamesByID as $EpicorCustomerID => $EpicorCustomerName)
|
|
66: {
|
|
67: array_push($spreadsheetData, [
|
|
|
|
Line 68 [match: Epicor]:
|
|
66: {
|
|
67: array_push($spreadsheetData, [
|
|
>> 68: $EpicorCustomerName,
|
|
69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
|
|
Line 69 [match: Epicor]:
|
|
67: array_push($spreadsheetData, [
|
|
68: $EpicorCustomerName,
|
|
>> 69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
|
|
Line 70 [match: Epicor]:
|
|
68: $EpicorCustomerName,
|
|
69: $EpicorCustomerID,
|
|
>> 70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
72: ]);
|
|
|
|
Line 71 [match: Epicor]:
|
|
69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
>> 71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
72: ]);
|
|
73:
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use PhpOffice\PhpSpreadsheet\IOFactory;
|
|
|
|
Line 45 [match: EPICOR]:
|
|
43: die('Invalid email option');
|
|
44:
|
|
>> 45: /** @var EpicorDatabase $EpicorDatabase */
|
|
46: $EpicorDatabase = app(EpicorDatabase::class);
|
|
47: /** @var quest_CompanyRepo $ROCompanyRepo */
|
|
|
|
Line 46 [match: EPICOR]:
|
|
44:
|
|
45: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 46: $EpicorDatabase = app(EpicorDatabase::class);
|
|
47: /** @var quest_CompanyRepo $ROCompanyRepo */
|
|
48: $ROCompanyRepo = app(quest_CompanyRepo::class);
|
|
|
|
Line 50 [match: EPICOR]:
|
|
48: $ROCompanyRepo = app(quest_CompanyRepo::class);
|
|
49:
|
|
>> 50: $EpicorCustomerNamesByID = $EpicorDatabase->getAllCustomerNamesByID();
|
|
51: $EmailsByCustomerID = $ROCompanyRepo->getEmailsByCustomerID($which);
|
|
52:
|
|
|
|
Line 53 [match: EPICOR]:
|
|
51: $EmailsByCustomerID = $ROCompanyRepo->getEmailsByCustomerID($which);
|
|
52:
|
|
>> 53: $progressBar = $this->output->createProgressBar(count($EpicorCustomerNamesByID));
|
|
54: $progressBar->start();
|
|
55:
|
|
|
|
Line 65 [match: EPICOR]:
|
|
63: ];
|
|
64:
|
|
>> 65: foreach($EpicorCustomerNamesByID as $EpicorCustomerID => $EpicorCustomerName)
|
|
66: {
|
|
67: array_push($spreadsheetData, [
|
|
|
|
Line 68 [match: EPICOR]:
|
|
66: {
|
|
67: array_push($spreadsheetData, [
|
|
>> 68: $EpicorCustomerName,
|
|
69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
|
|
Line 69 [match: EPICOR]:
|
|
67: array_push($spreadsheetData, [
|
|
68: $EpicorCustomerName,
|
|
>> 69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
|
|
Line 70 [match: EPICOR]:
|
|
68: $EpicorCustomerName,
|
|
69: $EpicorCustomerID,
|
|
>> 70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
72: ]);
|
|
|
|
Line 71 [match: EPICOR]:
|
|
69: $EpicorCustomerID,
|
|
70: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? 'Yes' : 'No'),
|
|
>> 71: (array_key_exists($EpicorCustomerID, $EmailsByCustomerID) ? $EmailsByCustomerID[$EpicorCustomerID] : null)
|
|
72: ]);
|
|
73:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\GroupCSV.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 32 [match: epicor]:
|
|
30: public function handle()
|
|
31: {
|
|
>> 32: /** @var EpicorDatabase $EpicorDatabase */
|
|
33: $EpicorDatabase = app(EpicorDatabase::class);
|
|
34:
|
|
|
|
Line 33 [match: epicor]:
|
|
31: {
|
|
32: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 33: $EpicorDatabase = app(EpicorDatabase::class);
|
|
34:
|
|
35: echo "PROCESS TEST";
|
|
|
|
Line 37 [match: epicor]:
|
|
35: echo "PROCESS TEST";
|
|
36:
|
|
>> 37: var_dump($EpicorDatabase->createGroupCSV(storage_path('app/groupsample/1.xlsx')));
|
|
38:
|
|
39: }
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 32 [match: Epicor]:
|
|
30: public function handle()
|
|
31: {
|
|
>> 32: /** @var EpicorDatabase $EpicorDatabase */
|
|
33: $EpicorDatabase = app(EpicorDatabase::class);
|
|
34:
|
|
|
|
Line 33 [match: Epicor]:
|
|
31: {
|
|
32: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 33: $EpicorDatabase = app(EpicorDatabase::class);
|
|
34:
|
|
35: echo "PROCESS TEST";
|
|
|
|
Line 37 [match: Epicor]:
|
|
35: echo "PROCESS TEST";
|
|
36:
|
|
>> 37: var_dump($EpicorDatabase->createGroupCSV(storage_path('app/groupsample/1.xlsx')));
|
|
38:
|
|
39: }
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 32 [match: EPICOR]:
|
|
30: public function handle()
|
|
31: {
|
|
>> 32: /** @var EpicorDatabase $EpicorDatabase */
|
|
33: $EpicorDatabase = app(EpicorDatabase::class);
|
|
34:
|
|
|
|
Line 33 [match: EPICOR]:
|
|
31: {
|
|
32: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 33: $EpicorDatabase = app(EpicorDatabase::class);
|
|
34:
|
|
35: echo "PROCESS TEST";
|
|
|
|
Line 37 [match: EPICOR]:
|
|
35: echo "PROCESS TEST";
|
|
36:
|
|
>> 37: var_dump($EpicorDatabase->createGroupCSV(storage_path('app/groupsample/1.xlsx')));
|
|
38:
|
|
39: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ImportEmails.php
|
|
================================================================================
|
|
Line 110 [match: UPDATE ]:
|
|
108: $emailPieces = explode($delimiter, $emails);
|
|
109:
|
|
>> 110: $emailsForUpdate = [];
|
|
111:
|
|
112: foreach($emailPieces as $emailPiece)
|
|
|
|
Line 130 [match: UPDATE ]:
|
|
128: else if($emailsContainCarrots)
|
|
129: {
|
|
>> 130: $emailsForUpdate = [];
|
|
131: $emailsForUpdate[] = $this->_getStringBetween($emails, '<', '>');
|
|
132: $this->_updateEmails($quest_Company, $emailsForUpdate, $which);
|
|
|
|
Line 136 [match: UPDATE ]:
|
|
134: else if($emailsContainParentheses)
|
|
135: {
|
|
>> 136: $emailsForUpdate = [];
|
|
137: $emailsForUpdate[] = $this->_getStringBetween($emails, '(', ')');
|
|
138: $this->_updateEmails($quest_Company, $emailsForUpdate, $which);
|
|
|
|
Line 142 [match: UPDATE ]:
|
|
140: else
|
|
141: {
|
|
>> 142: $emailsForUpdate = [];
|
|
143: $emailsForUpdate[] = $emails;
|
|
144: $this->_updateEmails($quest_Company, $emailsForUpdate, $which);
|
|
|
|
Line 85 [match: epicor]:
|
|
83: {
|
|
84: /** @var \App\Model\Entities\quest_Company|null $quest_Company */
|
|
>> 85: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customerId]);
|
|
86:
|
|
87: if(is_null($quest_Company))
|
|
|
|
Line 170 [match: epicor]:
|
|
168: $dataHandler->startTransaction();
|
|
169: $dataHandler->handleInsertUpdate([
|
|
>> 170: 'EpicorCustID' => $customerId,
|
|
171: 'epi_Name' => $customerName,
|
|
172: 'calc_DisplayName' => $customerId . ' - ' . $customerName,
|
|
|
|
Line 85 [match: Epicor]:
|
|
83: {
|
|
84: /** @var \App\Model\Entities\quest_Company|null $quest_Company */
|
|
>> 85: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customerId]);
|
|
86:
|
|
87: if(is_null($quest_Company))
|
|
|
|
Line 170 [match: Epicor]:
|
|
168: $dataHandler->startTransaction();
|
|
169: $dataHandler->handleInsertUpdate([
|
|
>> 170: 'EpicorCustID' => $customerId,
|
|
171: 'epi_Name' => $customerName,
|
|
172: 'calc_DisplayName' => $customerId . ' - ' . $customerName,
|
|
|
|
Line 85 [match: EPICOR]:
|
|
83: {
|
|
84: /** @var \App\Model\Entities\quest_Company|null $quest_Company */
|
|
>> 85: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customerId]);
|
|
86:
|
|
87: if(is_null($quest_Company))
|
|
|
|
Line 170 [match: EPICOR]:
|
|
168: $dataHandler->startTransaction();
|
|
169: $dataHandler->handleInsertUpdate([
|
|
>> 170: 'EpicorCustID' => $customerId,
|
|
171: 'epi_Name' => $customerName,
|
|
172: 'calc_DisplayName' => $customerId . ' - ' . $customerName,
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\InsertPlantCodes.php
|
|
================================================================================
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Repos\quest_InventoryType;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
8: use Illuminate\Console\Command;
|
|
|
|
Line 7 [match: wave]:
|
|
5: use App\Model\Repos\quest_InventoryType;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use Illuminate\Console\Command;
|
|
9: use Savvior\Data\DataHandler;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Repos\quest_InventoryType;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
8: use Illuminate\Console\Command;
|
|
|
|
Line 7 [match: Wave]:
|
|
5: use App\Model\Repos\quest_InventoryType;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use Illuminate\Console\Command;
|
|
9: use Savvior\Data\DataHandler;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Repos\quest_InventoryType;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
8: use Illuminate\Console\Command;
|
|
|
|
Line 7 [match: WAVE]:
|
|
5: use App\Model\Repos\quest_InventoryType;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use Illuminate\Console\Command;
|
|
9: use Savvior\Data\DataHandler;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\PopulateJobNumbers.php
|
|
================================================================================
|
|
Line 45 [match: FROM ]:
|
|
43: SET JobNumber = [JobProd].[JobNum]
|
|
44:
|
|
>> 45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
|
|
Line 41 [match: UPDATE ]:
|
|
39:
|
|
40:
|
|
>> 41: $sql = " UPDATE dbo.inv_UploadEntry
|
|
42:
|
|
43: SET JobNumber = [JobProd].[JobNum]
|
|
|
|
Line 46 [match: INNER JOIN]:
|
|
44:
|
|
45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
>> 46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
48: And
|
|
|
|
Line 52 [match: INNER JOIN]:
|
|
50: and ( InvcDtl.InvoiceLine = 1 )
|
|
51:
|
|
>> 52: inner join Epicor10Live.Erp.JobProd as JobProd on
|
|
53: InvcDtl.Company = JobProd.Company
|
|
54: And
|
|
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 45 [match: epicor]:
|
|
43: SET JobNumber = [JobProd].[JobNum]
|
|
44:
|
|
>> 45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
|
|
Line 46 [match: epicor]:
|
|
44:
|
|
45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
>> 46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
48: And
|
|
|
|
Line 52 [match: epicor]:
|
|
50: and ( InvcDtl.InvoiceLine = 1 )
|
|
51:
|
|
>> 52: inner join Epicor10Live.Erp.JobProd as JobProd on
|
|
53: InvcDtl.Company = JobProd.Company
|
|
54: And
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 45 [match: Epicor]:
|
|
43: SET JobNumber = [JobProd].[JobNum]
|
|
44:
|
|
>> 45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
|
|
Line 46 [match: Epicor]:
|
|
44:
|
|
45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
>> 46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
48: And
|
|
|
|
Line 52 [match: Epicor]:
|
|
50: and ( InvcDtl.InvoiceLine = 1 )
|
|
51:
|
|
>> 52: inner join Epicor10Live.Erp.JobProd as JobProd on
|
|
53: InvcDtl.Company = JobProd.Company
|
|
54: And
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 45 [match: EPICOR]:
|
|
43: SET JobNumber = [JobProd].[JobNum]
|
|
44:
|
|
>> 45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
|
|
Line 46 [match: EPICOR]:
|
|
44:
|
|
45: FROM Epicor10Live.Erp.InvcHead as InvcHead
|
|
>> 46: inner join Epicor10Live.Erp.InvcDtl as InvcDtl on
|
|
47: InvcHead.Company = InvcDtl.Company
|
|
48: And
|
|
|
|
Line 52 [match: EPICOR]:
|
|
50: and ( InvcDtl.InvoiceLine = 1 )
|
|
51:
|
|
>> 52: inner join Epicor10Live.Erp.JobProd as JobProd on
|
|
53: InvcDtl.Company = JobProd.Company
|
|
54: And
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ProcessWave.php
|
|
================================================================================
|
|
Line 22 [match: FROM ]:
|
|
20: { --date= : The processing date }
|
|
21: { --all : specify if all processes should run, you can specify anything as the ProcessCodingKey, it will be ignored }
|
|
>> 22: { --auto : this should only be specified if the command is running from the scheduler }';
|
|
23:
|
|
24: /**
|
|
|
|
Line 5 [match: wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6:
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
|
|
Line 7 [match: wave]:
|
|
5: use App\Model\Repos\wave_Process;
|
|
6:
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use App\Services\WaveEdi\WaveServiceVP;
|
|
9: use Illuminate\Console\Command;
|
|
|
|
Line 8 [match: wave]:
|
|
6:
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
>> 8: use App\Services\WaveEdi\WaveServiceVP;
|
|
9: use Illuminate\Console\Command;
|
|
10:
|
|
|
|
Line 11 [match: wave]:
|
|
9: use Illuminate\Console\Command;
|
|
10:
|
|
>> 11: class ProcessWave extends Command
|
|
12: {
|
|
13: /**
|
|
|
|
Line 19 [match: wave]:
|
|
17: */
|
|
18: protected $signature = 'edi:run
|
|
>> 19: { --process= : The wave_Process CodingKey }
|
|
20: { --date= : The processing date }
|
|
21: { --all : specify if all processes should run, you can specify anything as the ProcessCodingKey, it will be ignored }
|
|
|
|
Line 29 [match: wave]:
|
|
27: * @var string
|
|
28: */
|
|
>> 29: protected $description = 'Runs a specified Wave EDI process';
|
|
30:
|
|
31: public function handle()
|
|
|
|
Line 41 [match: wave]:
|
|
39:
|
|
40: if ($z ==0) {
|
|
>> 41: $this->info("Running Wave EDI Process");
|
|
42:
|
|
43: /** @var WaveService $WaveService */
|
|
|
|
Line 43 [match: wave]:
|
|
41: $this->info("Running Wave EDI Process");
|
|
42:
|
|
>> 43: /** @var WaveService $WaveService */
|
|
44: $WaveService = app(WaveService::class);
|
|
45: }
|
|
|
|
Line 44 [match: wave]:
|
|
42:
|
|
43: /** @var WaveService $WaveService */
|
|
>> 44: $WaveService = app(WaveService::class);
|
|
45: }
|
|
46: else
|
|
|
|
Line 48 [match: wave]:
|
|
46: else
|
|
47: {
|
|
>> 48: $this->info("Running Wave EDI Process VP");
|
|
49: /** @var WaveServiceVP $WaveService */
|
|
50: $WaveService = app(WaveServiceVP::class);
|
|
|
|
Line 49 [match: wave]:
|
|
47: {
|
|
48: $this->info("Running Wave EDI Process VP");
|
|
>> 49: /** @var WaveServiceVP $WaveService */
|
|
50: $WaveService = app(WaveServiceVP::class);
|
|
51: }
|
|
|
|
Line 50 [match: wave]:
|
|
48: $this->info("Running Wave EDI Process VP");
|
|
49: /** @var WaveServiceVP $WaveService */
|
|
>> 50: $WaveService = app(WaveServiceVP::class);
|
|
51: }
|
|
52:
|
|
|
|
Line 63 [match: wave]:
|
|
61:
|
|
62: if ($ShouldRunAll) {
|
|
>> 63: /** @var wave_Process $wave_ProcessRepo */
|
|
64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
|
|
Line 64 [match: wave]:
|
|
62: if ($ShouldRunAll) {
|
|
63: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
|
|
Line 66 [match: wave]:
|
|
64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
>> 66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
|
|
Line 67 [match: wave]:
|
|
65:
|
|
66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
>> 67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 69 [match: wave]:
|
|
67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
>> 69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
|
|
Line 70 [match: wave]:
|
|
68:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
|
|
Line 71 [match: wave]:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
>> 71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
|
|
Line 72 [match: wave]:
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
>> 72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
74: $WaveService->runProcess();
|
|
|
|
Line 73 [match: wave]:
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
>> 73: $WaveService->setProcessDate($ProcessDate);
|
|
74: $WaveService->runProcess();
|
|
75: }
|
|
|
|
Line 74 [match: wave]:
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
>> 74: $WaveService->runProcess();
|
|
75: }
|
|
76: }
|
|
|
|
Line 78 [match: wave]:
|
|
76: }
|
|
77: } else {
|
|
>> 78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
|
|
Line 79 [match: wave]:
|
|
77: } else {
|
|
78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
>> 79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
81: $WaveService->setWasManual($WasManual);
|
|
|
|
Line 80 [match: wave]:
|
|
78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
>> 80: $WaveService->setProcessDate($ProcessDate);
|
|
81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
|
|
Line 81 [match: wave]:
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
>> 81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
83: if ($wave_Process === null) {
|
|
|
|
Line 83 [match: wave]:
|
|
81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
>> 83: if ($wave_Process === null) {
|
|
84: $this->error('Process Coding Key not found');
|
|
85: throw new \Exception("Process Coding Key not found:: WAVE EDI PROCESS");
|
|
|
|
Line 85 [match: wave]:
|
|
83: if ($wave_Process === null) {
|
|
84: $this->error('Process Coding Key not found');
|
|
>> 85: throw new \Exception("Process Coding Key not found:: WAVE EDI PROCESS");
|
|
86:
|
|
87: //abort(500);
|
|
|
|
Line 90 [match: wave]:
|
|
88: }
|
|
89:
|
|
>> 90: $WaveService->runProcess();
|
|
91: }
|
|
92: } catch (\Exception $e) {
|
|
|
|
Line 5 [match: Wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6:
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
|
|
Line 7 [match: Wave]:
|
|
5: use App\Model\Repos\wave_Process;
|
|
6:
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use App\Services\WaveEdi\WaveServiceVP;
|
|
9: use Illuminate\Console\Command;
|
|
|
|
Line 8 [match: Wave]:
|
|
6:
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
>> 8: use App\Services\WaveEdi\WaveServiceVP;
|
|
9: use Illuminate\Console\Command;
|
|
10:
|
|
|
|
Line 11 [match: Wave]:
|
|
9: use Illuminate\Console\Command;
|
|
10:
|
|
>> 11: class ProcessWave extends Command
|
|
12: {
|
|
13: /**
|
|
|
|
Line 19 [match: Wave]:
|
|
17: */
|
|
18: protected $signature = 'edi:run
|
|
>> 19: { --process= : The wave_Process CodingKey }
|
|
20: { --date= : The processing date }
|
|
21: { --all : specify if all processes should run, you can specify anything as the ProcessCodingKey, it will be ignored }
|
|
|
|
Line 29 [match: Wave]:
|
|
27: * @var string
|
|
28: */
|
|
>> 29: protected $description = 'Runs a specified Wave EDI process';
|
|
30:
|
|
31: public function handle()
|
|
|
|
Line 41 [match: Wave]:
|
|
39:
|
|
40: if ($z ==0) {
|
|
>> 41: $this->info("Running Wave EDI Process");
|
|
42:
|
|
43: /** @var WaveService $WaveService */
|
|
|
|
Line 43 [match: Wave]:
|
|
41: $this->info("Running Wave EDI Process");
|
|
42:
|
|
>> 43: /** @var WaveService $WaveService */
|
|
44: $WaveService = app(WaveService::class);
|
|
45: }
|
|
|
|
Line 44 [match: Wave]:
|
|
42:
|
|
43: /** @var WaveService $WaveService */
|
|
>> 44: $WaveService = app(WaveService::class);
|
|
45: }
|
|
46: else
|
|
|
|
Line 48 [match: Wave]:
|
|
46: else
|
|
47: {
|
|
>> 48: $this->info("Running Wave EDI Process VP");
|
|
49: /** @var WaveServiceVP $WaveService */
|
|
50: $WaveService = app(WaveServiceVP::class);
|
|
|
|
Line 49 [match: Wave]:
|
|
47: {
|
|
48: $this->info("Running Wave EDI Process VP");
|
|
>> 49: /** @var WaveServiceVP $WaveService */
|
|
50: $WaveService = app(WaveServiceVP::class);
|
|
51: }
|
|
|
|
Line 50 [match: Wave]:
|
|
48: $this->info("Running Wave EDI Process VP");
|
|
49: /** @var WaveServiceVP $WaveService */
|
|
>> 50: $WaveService = app(WaveServiceVP::class);
|
|
51: }
|
|
52:
|
|
|
|
Line 63 [match: Wave]:
|
|
61:
|
|
62: if ($ShouldRunAll) {
|
|
>> 63: /** @var wave_Process $wave_ProcessRepo */
|
|
64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
|
|
Line 64 [match: Wave]:
|
|
62: if ($ShouldRunAll) {
|
|
63: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
|
|
Line 66 [match: Wave]:
|
|
64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
>> 66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
|
|
Line 67 [match: Wave]:
|
|
65:
|
|
66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
>> 67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 69 [match: Wave]:
|
|
67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
>> 69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
|
|
Line 70 [match: Wave]:
|
|
68:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
|
|
Line 71 [match: Wave]:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
>> 71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
|
|
Line 72 [match: Wave]:
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
>> 72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
74: $WaveService->runProcess();
|
|
|
|
Line 73 [match: Wave]:
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
>> 73: $WaveService->setProcessDate($ProcessDate);
|
|
74: $WaveService->runProcess();
|
|
75: }
|
|
|
|
Line 74 [match: Wave]:
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
>> 74: $WaveService->runProcess();
|
|
75: }
|
|
76: }
|
|
|
|
Line 78 [match: Wave]:
|
|
76: }
|
|
77: } else {
|
|
>> 78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
|
|
Line 79 [match: Wave]:
|
|
77: } else {
|
|
78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
>> 79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
81: $WaveService->setWasManual($WasManual);
|
|
|
|
Line 80 [match: Wave]:
|
|
78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
>> 80: $WaveService->setProcessDate($ProcessDate);
|
|
81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
|
|
Line 81 [match: Wave]:
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
>> 81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
83: if ($wave_Process === null) {
|
|
|
|
Line 83 [match: Wave]:
|
|
81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
>> 83: if ($wave_Process === null) {
|
|
84: $this->error('Process Coding Key not found');
|
|
85: throw new \Exception("Process Coding Key not found:: WAVE EDI PROCESS");
|
|
|
|
Line 85 [match: Wave]:
|
|
83: if ($wave_Process === null) {
|
|
84: $this->error('Process Coding Key not found');
|
|
>> 85: throw new \Exception("Process Coding Key not found:: WAVE EDI PROCESS");
|
|
86:
|
|
87: //abort(500);
|
|
|
|
Line 90 [match: Wave]:
|
|
88: }
|
|
89:
|
|
>> 90: $WaveService->runProcess();
|
|
91: }
|
|
92: } catch (\Exception $e) {
|
|
|
|
Line 5 [match: WAVE]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6:
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
|
|
Line 7 [match: WAVE]:
|
|
5: use App\Model\Repos\wave_Process;
|
|
6:
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use App\Services\WaveEdi\WaveServiceVP;
|
|
9: use Illuminate\Console\Command;
|
|
|
|
Line 8 [match: WAVE]:
|
|
6:
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
>> 8: use App\Services\WaveEdi\WaveServiceVP;
|
|
9: use Illuminate\Console\Command;
|
|
10:
|
|
|
|
Line 11 [match: WAVE]:
|
|
9: use Illuminate\Console\Command;
|
|
10:
|
|
>> 11: class ProcessWave extends Command
|
|
12: {
|
|
13: /**
|
|
|
|
Line 19 [match: WAVE]:
|
|
17: */
|
|
18: protected $signature = 'edi:run
|
|
>> 19: { --process= : The wave_Process CodingKey }
|
|
20: { --date= : The processing date }
|
|
21: { --all : specify if all processes should run, you can specify anything as the ProcessCodingKey, it will be ignored }
|
|
|
|
Line 29 [match: WAVE]:
|
|
27: * @var string
|
|
28: */
|
|
>> 29: protected $description = 'Runs a specified Wave EDI process';
|
|
30:
|
|
31: public function handle()
|
|
|
|
Line 41 [match: WAVE]:
|
|
39:
|
|
40: if ($z ==0) {
|
|
>> 41: $this->info("Running Wave EDI Process");
|
|
42:
|
|
43: /** @var WaveService $WaveService */
|
|
|
|
Line 43 [match: WAVE]:
|
|
41: $this->info("Running Wave EDI Process");
|
|
42:
|
|
>> 43: /** @var WaveService $WaveService */
|
|
44: $WaveService = app(WaveService::class);
|
|
45: }
|
|
|
|
Line 44 [match: WAVE]:
|
|
42:
|
|
43: /** @var WaveService $WaveService */
|
|
>> 44: $WaveService = app(WaveService::class);
|
|
45: }
|
|
46: else
|
|
|
|
Line 48 [match: WAVE]:
|
|
46: else
|
|
47: {
|
|
>> 48: $this->info("Running Wave EDI Process VP");
|
|
49: /** @var WaveServiceVP $WaveService */
|
|
50: $WaveService = app(WaveServiceVP::class);
|
|
|
|
Line 49 [match: WAVE]:
|
|
47: {
|
|
48: $this->info("Running Wave EDI Process VP");
|
|
>> 49: /** @var WaveServiceVP $WaveService */
|
|
50: $WaveService = app(WaveServiceVP::class);
|
|
51: }
|
|
|
|
Line 50 [match: WAVE]:
|
|
48: $this->info("Running Wave EDI Process VP");
|
|
49: /** @var WaveServiceVP $WaveService */
|
|
>> 50: $WaveService = app(WaveServiceVP::class);
|
|
51: }
|
|
52:
|
|
|
|
Line 63 [match: WAVE]:
|
|
61:
|
|
62: if ($ShouldRunAll) {
|
|
>> 63: /** @var wave_Process $wave_ProcessRepo */
|
|
64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
|
|
Line 64 [match: WAVE]:
|
|
62: if ($ShouldRunAll) {
|
|
63: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
|
|
Line 66 [match: WAVE]:
|
|
64: $wave_ProcessRepo = app(wave_Process::class);
|
|
65:
|
|
>> 66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
|
|
Line 67 [match: WAVE]:
|
|
65:
|
|
66: /** @var \App\Model\Entities\wave_Process[] $wave_Processes */
|
|
>> 67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 69 [match: WAVE]:
|
|
67: $wave_Processes = $wave_ProcessRepo->getEnabledByProcessOrder();
|
|
68:
|
|
>> 69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
|
|
Line 70 [match: WAVE]:
|
|
68:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
|
|
Line 71 [match: WAVE]:
|
|
69: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
>> 71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
|
|
Line 72 [match: WAVE]:
|
|
70: foreach ($wave_Processes as $wave_Process) {
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
>> 72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
74: $WaveService->runProcess();
|
|
|
|
Line 73 [match: WAVE]:
|
|
71: if ($wave_Process->getCodingKey() !== 'WAVE_END_OF_MONTH') {
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
>> 73: $WaveService->setProcessDate($ProcessDate);
|
|
74: $WaveService->runProcess();
|
|
75: }
|
|
|
|
Line 74 [match: WAVE]:
|
|
72: $WaveService->setWaveProcess($wave_Process);
|
|
73: $WaveService->setProcessDate($ProcessDate);
|
|
>> 74: $WaveService->runProcess();
|
|
75: }
|
|
76: }
|
|
|
|
Line 78 [match: WAVE]:
|
|
76: }
|
|
77: } else {
|
|
>> 78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
|
|
Line 79 [match: WAVE]:
|
|
77: } else {
|
|
78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
>> 79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
81: $WaveService->setWasManual($WasManual);
|
|
|
|
Line 80 [match: WAVE]:
|
|
78: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
>> 80: $WaveService->setProcessDate($ProcessDate);
|
|
81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
|
|
Line 81 [match: WAVE]:
|
|
79: $WaveService->setWaveProcess($wave_Process);
|
|
80: $WaveService->setProcessDate($ProcessDate);
|
|
>> 81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
83: if ($wave_Process === null) {
|
|
|
|
Line 83 [match: WAVE]:
|
|
81: $WaveService->setWasManual($WasManual);
|
|
82:
|
|
>> 83: if ($wave_Process === null) {
|
|
84: $this->error('Process Coding Key not found');
|
|
85: throw new \Exception("Process Coding Key not found:: WAVE EDI PROCESS");
|
|
|
|
Line 85 [match: WAVE]:
|
|
83: if ($wave_Process === null) {
|
|
84: $this->error('Process Coding Key not found');
|
|
>> 85: throw new \Exception("Process Coding Key not found:: WAVE EDI PROCESS");
|
|
86:
|
|
87: //abort(500);
|
|
|
|
Line 90 [match: WAVE]:
|
|
88: }
|
|
89:
|
|
>> 90: $WaveService->runProcess();
|
|
91: }
|
|
92: } catch (\Exception $e) {
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\ReactivateCustomers.php
|
|
================================================================================
|
|
Line 5 [match: wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8:
|
|
|
|
Line 5 [match: Wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8:
|
|
|
|
Line 5 [match: WAVE]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\RefreshAllCompanyNames.php
|
|
================================================================================
|
|
Line 22 [match: FROM ]:
|
|
20: * @var string
|
|
21: */
|
|
>> 22: protected $description = 'Command to refresh all company names from Epicor';
|
|
23:
|
|
24: public function handle()
|
|
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 22 [match: epicor]:
|
|
20: * @var string
|
|
21: */
|
|
>> 22: protected $description = 'Command to refresh all company names from Epicor';
|
|
23:
|
|
24: public function handle()
|
|
|
|
Line 26 [match: epicor]:
|
|
24: public function handle()
|
|
25: {
|
|
>> 26: /** @var EpicorDatabase $EpicorDatabase */
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
|
|
Line 27 [match: epicor]:
|
|
25: {
|
|
26: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
29: /** @var EMContainer $EMs */
|
|
|
|
Line 37 [match: epicor]:
|
|
35: foreach($AllCompanies as $Company)
|
|
36: {
|
|
>> 37: if(($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Company->getEpicorCustID())) !== FALSE)
|
|
38: {
|
|
39: $Company->setEpiName($EpicorInfo['Name']);
|
|
|
|
Line 39 [match: epicor]:
|
|
37: if(($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Company->getEpicorCustID())) !== FALSE)
|
|
38: {
|
|
>> 39: $Company->setEpiName($EpicorInfo['Name']);
|
|
40: }
|
|
41: else
|
|
|
|
Line 44 [match: epicor]:
|
|
42: {
|
|
43: $Company->setEpiName(null);
|
|
>> 44: $this->error('FAILED '.$Company->getEpicorCustID());
|
|
45: }
|
|
46: }
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 22 [match: Epicor]:
|
|
20: * @var string
|
|
21: */
|
|
>> 22: protected $description = 'Command to refresh all company names from Epicor';
|
|
23:
|
|
24: public function handle()
|
|
|
|
Line 26 [match: Epicor]:
|
|
24: public function handle()
|
|
25: {
|
|
>> 26: /** @var EpicorDatabase $EpicorDatabase */
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
|
|
Line 27 [match: Epicor]:
|
|
25: {
|
|
26: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
29: /** @var EMContainer $EMs */
|
|
|
|
Line 37 [match: Epicor]:
|
|
35: foreach($AllCompanies as $Company)
|
|
36: {
|
|
>> 37: if(($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Company->getEpicorCustID())) !== FALSE)
|
|
38: {
|
|
39: $Company->setEpiName($EpicorInfo['Name']);
|
|
|
|
Line 39 [match: Epicor]:
|
|
37: if(($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Company->getEpicorCustID())) !== FALSE)
|
|
38: {
|
|
>> 39: $Company->setEpiName($EpicorInfo['Name']);
|
|
40: }
|
|
41: else
|
|
|
|
Line 44 [match: Epicor]:
|
|
42: {
|
|
43: $Company->setEpiName(null);
|
|
>> 44: $this->error('FAILED '.$Company->getEpicorCustID());
|
|
45: }
|
|
46: }
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Entities\quest_Company;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use Illuminate\Console\Command;
|
|
6: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20: * @var string
|
|
21: */
|
|
>> 22: protected $description = 'Command to refresh all company names from Epicor';
|
|
23:
|
|
24: public function handle()
|
|
|
|
Line 26 [match: EPICOR]:
|
|
24: public function handle()
|
|
25: {
|
|
>> 26: /** @var EpicorDatabase $EpicorDatabase */
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25: {
|
|
26: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
29: /** @var EMContainer $EMs */
|
|
|
|
Line 37 [match: EPICOR]:
|
|
35: foreach($AllCompanies as $Company)
|
|
36: {
|
|
>> 37: if(($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Company->getEpicorCustID())) !== FALSE)
|
|
38: {
|
|
39: $Company->setEpiName($EpicorInfo['Name']);
|
|
|
|
Line 39 [match: EPICOR]:
|
|
37: if(($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Company->getEpicorCustID())) !== FALSE)
|
|
38: {
|
|
>> 39: $Company->setEpiName($EpicorInfo['Name']);
|
|
40: }
|
|
41: else
|
|
|
|
Line 44 [match: EPICOR]:
|
|
42: {
|
|
43: $Company->setEpiName(null);
|
|
>> 44: $this->error('FAILED '.$Company->getEpicorCustID());
|
|
45: }
|
|
46: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\RemoveOldTempFiles.php
|
|
================================================================================
|
|
Line 5 [match: wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 5 [match: Wave]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8: use Savvior\Doctrine\EMContainer;
|
|
|
|
Line 5 [match: WAVE]:
|
|
3: namespace App\Console\Commands;
|
|
4:
|
|
>> 5: use App\Model\Repos\wave_Process;
|
|
6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Repos\wave_Process;
|
|
>> 6: use App\Services\WaveEdi\WaveService;
|
|
7: use Illuminate\Console\Command;
|
|
8: use Savvior\Doctrine\EMContainer;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\SendOrderAcknowledgementEmails.php
|
|
================================================================================
|
|
Line 58 [match: UPDATE ]:
|
|
56:
|
|
57: /** set all order dates to 3 days ago in case of data entry error in epicor */
|
|
>> 58: /*$sth = $pdo->prepare("UPDATE dbo.quest_ProcessedOrderAcknowledgementEmail SET OrderDate = DATEADD(DAY, -3, GETDATE());");
|
|
59:
|
|
60: $sth->execute(); */
|
|
|
|
Line 57 [match: epicor]:
|
|
55: $pdo = $EM->getConnection()->getNativeConnection();*/
|
|
56:
|
|
>> 57: /** set all order dates to 3 days ago in case of data entry error in epicor */
|
|
58: /*$sth = $pdo->prepare("UPDATE dbo.quest_ProcessedOrderAcknowledgementEmail SET OrderDate = DATEADD(DAY, -3, GETDATE());");
|
|
59:
|
|
|
|
Line 57 [match: Epicor]:
|
|
55: $pdo = $EM->getConnection()->getNativeConnection();*/
|
|
56:
|
|
>> 57: /** set all order dates to 3 days ago in case of data entry error in epicor */
|
|
58: /*$sth = $pdo->prepare("UPDATE dbo.quest_ProcessedOrderAcknowledgementEmail SET OrderDate = DATEADD(DAY, -3, GETDATE());");
|
|
59:
|
|
|
|
Line 57 [match: EPICOR]:
|
|
55: $pdo = $EM->getConnection()->getNativeConnection();*/
|
|
56:
|
|
>> 57: /** set all order dates to 3 days ago in case of data entry error in epicor */
|
|
58: /*$sth = $pdo->prepare("UPDATE dbo.quest_ProcessedOrderAcknowledgementEmail SET OrderDate = DATEADD(DAY, -3, GETDATE());");
|
|
59:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\SendWaveProcessEmail.php
|
|
================================================================================
|
|
Line 9 [match: wave]:
|
|
7: use Notification;
|
|
8:
|
|
>> 9: class SendWaveProcessEmail extends Command
|
|
10: {
|
|
11: /**
|
|
|
|
Line 16 [match: wave]:
|
|
14: * @var string
|
|
15: */
|
|
>> 16: protected $signature = 'email:waveend';
|
|
17:
|
|
18: /**
|
|
|
|
Line 23 [match: wave]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Sends a wave end email email';
|
|
24:
|
|
25: /**
|
|
|
|
Line 47 [match: wave]:
|
|
45: private function _sendTheEmail()
|
|
46: {
|
|
>> 47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
|
|
Line 48 [match: wave]:
|
|
46: {
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
|
|
Line 49 [match: wave]:
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
51:
|
|
|
|
Line 50 [match: wave]:
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
51:
|
|
52:
|
|
|
|
Line 9 [match: Wave]:
|
|
7: use Notification;
|
|
8:
|
|
>> 9: class SendWaveProcessEmail extends Command
|
|
10: {
|
|
11: /**
|
|
|
|
Line 16 [match: Wave]:
|
|
14: * @var string
|
|
15: */
|
|
>> 16: protected $signature = 'email:waveend';
|
|
17:
|
|
18: /**
|
|
|
|
Line 23 [match: Wave]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Sends a wave end email email';
|
|
24:
|
|
25: /**
|
|
|
|
Line 47 [match: Wave]:
|
|
45: private function _sendTheEmail()
|
|
46: {
|
|
>> 47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
|
|
Line 48 [match: Wave]:
|
|
46: {
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
|
|
Line 49 [match: Wave]:
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
51:
|
|
|
|
Line 50 [match: Wave]:
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
51:
|
|
52:
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: use Notification;
|
|
8:
|
|
>> 9: class SendWaveProcessEmail extends Command
|
|
10: {
|
|
11: /**
|
|
|
|
Line 16 [match: WAVE]:
|
|
14: * @var string
|
|
15: */
|
|
>> 16: protected $signature = 'email:waveend';
|
|
17:
|
|
18: /**
|
|
|
|
Line 23 [match: WAVE]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Sends a wave end email email';
|
|
24:
|
|
25: /**
|
|
|
|
Line 47 [match: WAVE]:
|
|
45: private function _sendTheEmail()
|
|
46: {
|
|
>> 47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
|
|
Line 48 [match: WAVE]:
|
|
46: {
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
|
|
Line 49 [match: WAVE]:
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
51:
|
|
|
|
Line 50 [match: WAVE]:
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
>> 50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI '.date("m/d/Y")); });
|
|
51:
|
|
52:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Commands\SendWaveProcessEmailMonthly.php
|
|
================================================================================
|
|
Line 9 [match: wave]:
|
|
7: use Notification;
|
|
8:
|
|
>> 9: class SendWaveProcessEmailMonthly extends Command
|
|
10: {
|
|
11: /**
|
|
|
|
Line 16 [match: wave]:
|
|
14: * @var string
|
|
15: */
|
|
>> 16: protected $signature = 'email:waveendmonthly';
|
|
17:
|
|
18: /**
|
|
|
|
Line 23 [match: wave]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Sends a wave end email email';
|
|
24:
|
|
25: /**
|
|
|
|
Line 47 [match: wave]:
|
|
45: private function _sendTheEmail()
|
|
46: {
|
|
>> 47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
|
|
Line 48 [match: wave]:
|
|
46: {
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
|
|
Line 49 [match: wave]:
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
51:
|
|
|
|
Line 50 [match: wave]:
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
51:
|
|
52:
|
|
|
|
Line 9 [match: Wave]:
|
|
7: use Notification;
|
|
8:
|
|
>> 9: class SendWaveProcessEmailMonthly extends Command
|
|
10: {
|
|
11: /**
|
|
|
|
Line 16 [match: Wave]:
|
|
14: * @var string
|
|
15: */
|
|
>> 16: protected $signature = 'email:waveendmonthly';
|
|
17:
|
|
18: /**
|
|
|
|
Line 23 [match: Wave]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Sends a wave end email email';
|
|
24:
|
|
25: /**
|
|
|
|
Line 47 [match: Wave]:
|
|
45: private function _sendTheEmail()
|
|
46: {
|
|
>> 47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
|
|
Line 48 [match: Wave]:
|
|
46: {
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
|
|
Line 49 [match: Wave]:
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
51:
|
|
|
|
Line 50 [match: Wave]:
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
51:
|
|
52:
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: use Notification;
|
|
8:
|
|
>> 9: class SendWaveProcessEmailMonthly extends Command
|
|
10: {
|
|
11: /**
|
|
|
|
Line 16 [match: WAVE]:
|
|
14: * @var string
|
|
15: */
|
|
>> 16: protected $signature = 'email:waveendmonthly';
|
|
17:
|
|
18: /**
|
|
|
|
Line 23 [match: WAVE]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Sends a wave end email email';
|
|
24:
|
|
25: /**
|
|
|
|
Line 47 [match: WAVE]:
|
|
45: private function _sendTheEmail()
|
|
46: {
|
|
>> 47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
|
|
Line 48 [match: WAVE]:
|
|
46: {
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
|
|
Line 49 [match: WAVE]:
|
|
47: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('nick@savvior.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
51:
|
|
|
|
Line 50 [match: WAVE]:
|
|
48: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('Stacie.Broskey@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
49: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('rick.walters@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
>> 50: Mail::raw('The daily uplaod task has completed', function($msg) {$msg->to('scott.ewart@vorteqcoil.com')->subject('Server Alert: Wave EDI Monthly '.date("m/d/Y")); });
|
|
51:
|
|
52:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Console\Kernel.php
|
|
================================================================================
|
|
Line 19 [match: wave]:
|
|
17: {
|
|
18: /// $schedule->command('edi:run --all')->dailyAt('9:00am')->withoutOverlapping();
|
|
>> 19: $schedule->command('edi:run --process=WAVE_END_OF_MONTH')->monthlyOn(1)->withoutOverlapping();
|
|
20: $schedule->command('cleanupold')->monthlyOn(24)->withoutOverlapping();
|
|
21: $schedule->command('shipment_requests:nag')->everyFifteenMinutes()->withoutOverlapping();
|
|
|
|
Line 19 [match: Wave]:
|
|
17: {
|
|
18: /// $schedule->command('edi:run --all')->dailyAt('9:00am')->withoutOverlapping();
|
|
>> 19: $schedule->command('edi:run --process=WAVE_END_OF_MONTH')->monthlyOn(1)->withoutOverlapping();
|
|
20: $schedule->command('cleanupold')->monthlyOn(24)->withoutOverlapping();
|
|
21: $schedule->command('shipment_requests:nag')->everyFifteenMinutes()->withoutOverlapping();
|
|
|
|
Line 19 [match: WAVE]:
|
|
17: {
|
|
18: /// $schedule->command('edi:run --all')->dailyAt('9:00am')->withoutOverlapping();
|
|
>> 19: $schedule->command('edi:run --process=WAVE_END_OF_MONTH')->monthlyOn(1)->withoutOverlapping();
|
|
20: $schedule->command('cleanupold')->monthlyOn(24)->withoutOverlapping();
|
|
21: $schedule->command('shipment_requests:nag')->everyFifteenMinutes()->withoutOverlapping();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Exceptions\Handler.php
|
|
================================================================================
|
|
Line 81 [match: epicor]:
|
|
79: return response()->json($data, 401);
|
|
80: }
|
|
>> 81: elseif($e instanceof NoDetailDataForEpicorMultiKey)
|
|
82: {
|
|
83: if(app()->runningInConsole())
|
|
|
|
Line 81 [match: Epicor]:
|
|
79: return response()->json($data, 401);
|
|
80: }
|
|
>> 81: elseif($e instanceof NoDetailDataForEpicorMultiKey)
|
|
82: {
|
|
83: if(app()->runningInConsole())
|
|
|
|
Line 81 [match: EPICOR]:
|
|
79: return response()->json($data, 401);
|
|
80: }
|
|
>> 81: elseif($e instanceof NoDetailDataForEpicorMultiKey)
|
|
82: {
|
|
83: if(app()->runningInConsole())
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Exceptions\NoDetailDataForEpicorMultiKey.php
|
|
================================================================================
|
|
Line 5 [match: epicor]:
|
|
3: use Exception;
|
|
4:
|
|
>> 5: class NoDetailDataForEpicorMultiKey extends Exception {}
|
|
|
|
Line 5 [match: Epicor]:
|
|
3: use Exception;
|
|
4:
|
|
>> 5: class NoDetailDataForEpicorMultiKey extends Exception {}
|
|
|
|
Line 5 [match: EPICOR]:
|
|
3: use Exception;
|
|
4:
|
|
>> 5: class NoDetailDataForEpicorMultiKey extends Exception {}
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\API\AuthController.php
|
|
================================================================================
|
|
Line 164 [match: FROM ]:
|
|
162: public function forgotPasswordToken(Request $Request){
|
|
163:
|
|
>> 164: // @TODO should be able to use actual forgot password logic from lauth
|
|
165:
|
|
166: $RO_questUser = app(quest_User::class);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\API\ReportScheduleController.php
|
|
================================================================================
|
|
Line 41 [match: SELECT ]:
|
|
39: $ROLTS_TaskSchedule = app(lts_TaskSchedule::class);
|
|
40:
|
|
>> 41: // select the results
|
|
42: /** @var \App\Model\Entities\lts_TaskSchedule $result */
|
|
43: $result = $ROLTS_TaskSchedule->checkIfTaskExists($task, $dow, $time, $Owner, $Owner->getCurrentOwnerID(), $monthly);
|
|
|
|
Line 27 [match: UPDATE ]:
|
|
25: {
|
|
26:
|
|
>> 27: // check if its an update or create (update passes the schedule id)
|
|
28: if(!$Request->has('schedule_id'))
|
|
29: {
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\API\WebAppAPI.php
|
|
================================================================================
|
|
Line 367 [match: FROM ]:
|
|
365: $type = "";
|
|
366:
|
|
>> 367: // get the data from the ID
|
|
368: $unencodedData = base64_decode($encodedID);
|
|
369: $deserializedData = unserialize($unencodedData)[0];
|
|
|
|
Line 515 [match: FROM ]:
|
|
513:
|
|
514:
|
|
>> 515: // get the rest of the data from the output of the Database call
|
|
516: $coil_data = $this->getPartDataAndTotalsFromCoilByCoil($coil_by_coil_results);
|
|
517:
|
|
|
|
Line 672 [match: FROM ]:
|
|
670: $rej_weight_total = 0;
|
|
671:
|
|
>> 672: // gather data from database results, formatted in the web version of this call
|
|
673: foreach ((array) $coil_by_coil_results as $k=> $Row)
|
|
674: {
|
|
|
|
Line 1495 [match: FROM ]:
|
|
1493: if($ShipmentCart->getSelectionCount() && $Plant !== $ShipmentCart->getPlant())
|
|
1494: {
|
|
>> 1495: abort(500, 'The current shipment release already contains items from another plant');
|
|
1496: }
|
|
1497: elseif($ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
|
|
Line 1562 [match: FROM ]:
|
|
1560: $DataHandler->commitTransaction();
|
|
1561: } catch(Exception $e) {
|
|
>> 1562: Log::error('Deleting item from shipment: '.$e->getMessage());
|
|
1563: abort(500, 'An unexpected error was encountered removing this item from your shipment. Please try again.');
|
|
1564: }
|
|
|
|
Line 1563 [match: FROM ]:
|
|
1561: } catch(Exception $e) {
|
|
1562: Log::error('Deleting item from shipment: '.$e->getMessage());
|
|
>> 1563: abort(500, 'An unexpected error was encountered removing this item from your shipment. Please try again.');
|
|
1564: }
|
|
1565:
|
|
|
|
Line 1175 [match: SELECT ]:
|
|
1173:
|
|
1174: if(!$SelectedCompanyProvider->setSelectedCompanyEpicorCustID($epicorCustID))
|
|
>> 1175: abort(500, 'Please select a customer before starting a shipment release');
|
|
1176:
|
|
1177: $Now = new \DateTime();
|
|
|
|
Line 1443 [match: UPDATE ]:
|
|
1441: $ShipmentReleaseHelper->generateCompletedReleasePDF($ShipmentCart, array_diff_key($DBData, array_flip($ExcludeDataLockKeys)));
|
|
1442:
|
|
>> 1443: // update DB
|
|
1444: $DataHandler->startTransaction();
|
|
1445: $DataHandler->handleInsertUpdate($DBData, $MetadataFactory->getEntity('ship_Request'));
|
|
|
|
Line 18 [match: epicor]:
|
|
16: use App\Notifications\ShipmentReleaseRequestCancellation;
|
|
17: use App\Notifications\ShipToAddressInquiry;
|
|
>> 18: use App\Services\EpicorDatabase;
|
|
19: use App\Services\HistoricalShipmentCart;
|
|
20: use App\Services\PaintScheduleService;
|
|
|
|
Line 169 [match: epicor]:
|
|
167: /** @var quest_Company $Company */
|
|
168: $Company = app(quest_Company::class);
|
|
>> 169: /** @var EpicorDatabase $EpicorDB */
|
|
170: $EpicorDB = app(EpicorDatabase::class);
|
|
171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 170 [match: epicor]:
|
|
168: $Company = app(quest_Company::class);
|
|
169: /** @var EpicorDatabase $EpicorDB */
|
|
>> 170: $EpicorDB = app(EpicorDatabase::class);
|
|
171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
172:
|
|
|
|
Line 171 [match: epicor]:
|
|
169: /** @var EpicorDatabase $EpicorDB */
|
|
170: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
172:
|
|
173: // get notifications
|
|
|
|
Line 184 [match: epicor]:
|
|
182:
|
|
183: // get shipments data
|
|
>> 184: $shipments_results = $EpicorDB->getTop5ShipmentsData($epicorCustID);
|
|
185: $shipments = array();
|
|
186: // rename to match json expected
|
|
|
|
Line 214 [match: epicor]:
|
|
212:
|
|
213: // get the recent production orders
|
|
>> 214: $production_results = $EpicorDB->getTop5OrdersData($epicorCustID);
|
|
215: $production = array();
|
|
216:
|
|
|
|
Line 276 [match: epicor]:
|
|
274: {
|
|
275: // variable init
|
|
>> 276: /** @var EpicorDatabase $EpicorDB */
|
|
277: $EpicorDB = app(EpicorDatabase::class);
|
|
278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 277 [match: epicor]:
|
|
275: // variable init
|
|
276: /** @var EpicorDatabase $EpicorDB */
|
|
>> 277: $EpicorDB = app(EpicorDatabase::class);
|
|
278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
279: $type = request()->route()->parameter('type');
|
|
|
|
Line 278 [match: epicor]:
|
|
276: /** @var EpicorDatabase $EpicorDB */
|
|
277: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
279: $type = request()->route()->parameter('type');
|
|
280: $raw_data = null;
|
|
|
|
Line 288 [match: epicor]:
|
|
286: {
|
|
287: case "unprocessed":
|
|
>> 288: $raw_data = $EpicorDB->getInventoryUnprocessedSummaryData($epicorCustID);
|
|
289: $source = "portal_UnprocessedInventorySummary";
|
|
290: break;
|
|
|
|
Line 293 [match: epicor]:
|
|
291:
|
|
292: case "unprocessedrr":
|
|
>> 293: $raw_data = $EpicorDB->getInventoryUnprocessedRRSummaryData($epicorCustID);
|
|
294: $source = "portal_UnprocessedInventoryRejectsAndReturnsSummary";
|
|
295: break;
|
|
|
|
Line 298 [match: epicor]:
|
|
296:
|
|
297: case 'wip':
|
|
>> 298: $raw_data = $EpicorDB->getInventoryWorkInProgressSummaryData($epicorCustID);
|
|
299: $source = 'portal_WorkInProgressInventorySummary';
|
|
300: break;
|
|
|
|
Line 303 [match: epicor]:
|
|
301:
|
|
302: case "fg":
|
|
>> 303: $raw_data = $EpicorDB->getInventoryFinishedGoodsSummaryData($epicorCustID);
|
|
304: $source = "portal_ProcessedInventorySummary";
|
|
305: break;
|
|
|
|
Line 308 [match: epicor]:
|
|
306:
|
|
307: case 'processedother':
|
|
>> 308: $raw_data = $EpicorDB->getInventoryProcessedOtherSummaryData($epicorCustID);
|
|
309: $source = "portal_ProcessedOtherInventorySummary";
|
|
310: break;
|
|
|
|
Line 313 [match: epicor]:
|
|
311:
|
|
312: case "processedrr":
|
|
>> 313: $raw_data = $EpicorDB->getInventoryProcessedRRSummaryData($epicorCustID);
|
|
314: $source = "portal_ProcessedInventoryRejectsAndReturnsSummary";
|
|
315: break;
|
|
|
|
Line 353 [match: epicor]:
|
|
351: /**
|
|
352: * @return \Illuminate\Http\JsonResponse
|
|
>> 353: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
354: */
|
|
355: public function inventoryDetails() {
|
|
|
|
Line 361 [match: epicor]:
|
|
359:
|
|
360: // variable init
|
|
>> 361: /** @var EpicorDatabase $EpicorDB */
|
|
362: $EpicorDB = app(EpicorDatabase::class);
|
|
363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 362 [match: epicor]:
|
|
360: // variable init
|
|
361: /** @var EpicorDatabase $EpicorDB */
|
|
>> 362: $EpicorDB = app(EpicorDatabase::class);
|
|
363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
364: $encodedID = request()->isMethod('post') ? request()->input('id') : request()->route()->parameter('id');
|
|
|
|
Line 363 [match: epicor]:
|
|
361: /** @var EpicorDatabase $EpicorDB */
|
|
362: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
364: $encodedID = request()->isMethod('post') ? request()->input('id') : request()->route()->parameter('id');
|
|
365: $type = "";
|
|
|
|
Line 384 [match: epicor]:
|
|
382: {
|
|
383: case "portal_UnprocessedInventorySummary":
|
|
>> 384: $inventory_details_data = $EpicorDB->getInventoryUnprocessedDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
385: $header_details_data = $EpicorDB->getInventoryUnprocessedSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
386: $type = "Unprocessed";
|
|
|
|
Line 385 [match: epicor]:
|
|
383: case "portal_UnprocessedInventorySummary":
|
|
384: $inventory_details_data = $EpicorDB->getInventoryUnprocessedDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 385: $header_details_data = $EpicorDB->getInventoryUnprocessedSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
386: $type = "Unprocessed";
|
|
387: break;
|
|
|
|
Line 389 [match: epicor]:
|
|
387: break;
|
|
388: case "portal_UnprocessedInventoryRejectsAndReturnsSummary":
|
|
>> 389: $inventory_details_data = $EpicorDB->getInventoryUnprocessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
390: $header_details_data = $EpicorDB->getInventoryUnprocessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
391: $type = "Unprocessed (Rejects / Returns)";
|
|
|
|
Line 390 [match: epicor]:
|
|
388: case "portal_UnprocessedInventoryRejectsAndReturnsSummary":
|
|
389: $inventory_details_data = $EpicorDB->getInventoryUnprocessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 390: $header_details_data = $EpicorDB->getInventoryUnprocessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
391: $type = "Unprocessed (Rejects / Returns)";
|
|
392: break;
|
|
|
|
Line 394 [match: epicor]:
|
|
392: break;
|
|
393: case 'portal_WorkInProgressInventorySummary':
|
|
>> 394: $inventory_details_data = $EpicorDB->getInventoryWorkInProgressDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
395: $header_details_data = $EpicorDB->getInventoryWorkInProgressSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
396: $type = "Work In Progress";
|
|
|
|
Line 395 [match: epicor]:
|
|
393: case 'portal_WorkInProgressInventorySummary':
|
|
394: $inventory_details_data = $EpicorDB->getInventoryWorkInProgressDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 395: $header_details_data = $EpicorDB->getInventoryWorkInProgressSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
396: $type = "Work In Progress";
|
|
397: break;
|
|
|
|
Line 399 [match: epicor]:
|
|
397: break;
|
|
398: case "portal_FinishedGoodsInventorySummary":
|
|
>> 399: $inventory_details_data = $EpicorDB->getInventoryFinishedGoodsDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
400: $header_details_data = $EpicorDB->getInventoryFinishedGoodsSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
401: $type = "Finished Goods";
|
|
|
|
Line 400 [match: epicor]:
|
|
398: case "portal_FinishedGoodsInventorySummary":
|
|
399: $inventory_details_data = $EpicorDB->getInventoryFinishedGoodsDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 400: $header_details_data = $EpicorDB->getInventoryFinishedGoodsSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
401: $type = "Finished Goods";
|
|
402: break;
|
|
|
|
Line 404 [match: epicor]:
|
|
402: break;
|
|
403: case "portal_ProcessedOtherInventorySummary":
|
|
>> 404: $inventory_details_data = $EpicorDB->getInventoryProcessedOtherDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
405: $header_details_data = $EpicorDB->getInventoryProcessedOtherSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
406: $type = "Processed - Other";
|
|
|
|
Line 405 [match: epicor]:
|
|
403: case "portal_ProcessedOtherInventorySummary":
|
|
404: $inventory_details_data = $EpicorDB->getInventoryProcessedOtherDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 405: $header_details_data = $EpicorDB->getInventoryProcessedOtherSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
406: $type = "Processed - Other";
|
|
407: break;
|
|
|
|
Line 409 [match: epicor]:
|
|
407: break;
|
|
408: case "portal_ProcessedInventoryRejectsAndReturnsSummary":
|
|
>> 409: $inventory_details_data = $EpicorDB->getInventoryProcessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
410: $header_details_data = $EpicorDB->getInventoryProcessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
411: $type = "Processed (Rejects / Returns)";
|
|
|
|
Line 410 [match: epicor]:
|
|
408: case "portal_ProcessedInventoryRejectsAndReturnsSummary":
|
|
409: $inventory_details_data = $EpicorDB->getInventoryProcessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 410: $header_details_data = $EpicorDB->getInventoryProcessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
411: $type = "Processed (Rejects / Returns)";
|
|
412: break;
|
|
|
|
Line 488 [match: epicor]:
|
|
486:
|
|
487: // variable init
|
|
>> 488: /** @var EpicorDatabase $EpicorDB */
|
|
489: $EpicorDB = app(EpicorDatabase::class);
|
|
490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 489 [match: epicor]:
|
|
487: // variable init
|
|
488: /** @var EpicorDatabase $EpicorDB */
|
|
>> 489: $EpicorDB = app(EpicorDatabase::class);
|
|
490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
|
|
Line 490 [match: epicor]:
|
|
488: /** @var EpicorDatabase $EpicorDB */
|
|
489: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
492:
|
|
|
|
Line 493 [match: epicor]:
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
492:
|
|
>> 493: $coil_by_coil_results = $EpicorDB->getCoilByCoil($jobNumber, $epicorCustID);
|
|
494:
|
|
495: // format as json expected
|
|
|
|
Line 532 [match: epicor]:
|
|
530: public function getCoilByCoilPdf(Request $request)
|
|
531: {
|
|
>> 532: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
533: $job_num = $request->route()->parameter('job_num');
|
|
534:
|
|
|
|
Line 538 [match: epicor]:
|
|
536: $job_num = base64_decode($job_num);
|
|
537:
|
|
>> 538: /** @var EpicorDatabase $epicore */
|
|
539: $epicore = app(EpicorDatabase::class);
|
|
540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
|
|
Line 539 [match: epicor]:
|
|
537:
|
|
538: /** @var EpicorDatabase $epicore */
|
|
>> 539: $epicore = app(EpicorDatabase::class);
|
|
540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
541:
|
|
|
|
Line 540 [match: epicor]:
|
|
538: /** @var EpicorDatabase $epicore */
|
|
539: $epicore = app(EpicorDatabase::class);
|
|
>> 540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
541:
|
|
542: $PartHeaders =[];
|
|
|
|
Line 850 [match: epicor]:
|
|
848: /** @var \App\Model\Entities\paint_PlantLine $PaintLine */
|
|
849: foreach ($PaintPlant->getPaintPlantLine() AS $PaintLine)
|
|
>> 850: $Lines[$PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey(), 'name' => $PaintLine->getPaintLine()->getName(), 'category' => $PaintLine->getPaintLine()->getPaintLineType()->getType()];
|
|
851: array_multisort(array_map(function($element) {
|
|
852: return $element['name'];
|
|
|
|
Line 855 [match: epicor]:
|
|
853: }, $Lines), SORT_ASC, $Lines);
|
|
854:
|
|
>> 855: $plants[$PaintPlant->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey(), 'offset' => $PaintPlant->getTimeZoneModifier(), 'can_edit' => isset($PlantEditAccess[$PaintPlant->getEpicorKey()]), 'name' => $PaintPlant->getName(), 'lines' => $Lines];
|
|
856: }
|
|
857:
|
|
|
|
Line 874 [match: epicor]:
|
|
872:
|
|
873: // variable init
|
|
>> 874: /** @var EpicorDatabase $EpicorDB */
|
|
875: $EpicorDB = app(EpicorDatabase::class);
|
|
876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 875 [match: epicor]:
|
|
873: // variable init
|
|
874: /** @var EpicorDatabase $EpicorDB */
|
|
>> 875: $EpicorDB = app(EpicorDatabase::class);
|
|
876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
877: $startDate = request()->route()->parameter('start');
|
|
|
|
Line 876 [match: epicor]:
|
|
874: /** @var EpicorDatabase $EpicorDB */
|
|
875: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
877: $startDate = request()->route()->parameter('start');
|
|
878: $endDate = request()->route()->parameter('end');
|
|
|
|
Line 881 [match: epicor]:
|
|
879:
|
|
880: // get the coil activity data
|
|
>> 881: $usages_data = $EpicorDB->getCoilActivityUsageData($epicorCustID, $startDate, $endDate);
|
|
882: $usages = array();
|
|
883:
|
|
|
|
Line 904 [match: epicor]:
|
|
902: return response()->json([
|
|
903: 'usages' => $usages,
|
|
>> 904: 'id' => $epicorCustID,
|
|
905: 'start' => $startDate,
|
|
906: 'end' => $endDate
|
|
|
|
Line 918 [match: epicor]:
|
|
916:
|
|
917: // variable init
|
|
>> 918: /** @var EpicorDatabase $EpicorDB */
|
|
919: $EpicorDB = app(EpicorDatabase::class);
|
|
920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 919 [match: epicor]:
|
|
917: // variable init
|
|
918: /** @var EpicorDatabase $EpicorDB */
|
|
>> 919: $EpicorDB = app(EpicorDatabase::class);
|
|
920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
921: $startDate = request()->route()->parameter('start');//
|
|
|
|
Line 920 [match: epicor]:
|
|
918: /** @var EpicorDatabase $EpicorDB */
|
|
919: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
921: $startDate = request()->route()->parameter('start');//
|
|
922: $endDate = request()->route()->parameter('end');//
|
|
|
|
Line 925 [match: epicor]:
|
|
923:
|
|
924: // get the coil activity
|
|
>> 925: $receipts_data = $EpicorDB->getCoilActivityReceiptsData($epicorCustID, $startDate, $endDate);
|
|
926: $receipts = array();
|
|
927:
|
|
|
|
Line 951 [match: epicor]:
|
|
949: return response()->json([
|
|
950: 'receipts' => $receipts,
|
|
>> 951: 'id' => $epicorCustID,
|
|
952: 'start' => $startDate,
|
|
953: 'end' => $endDate
|
|
|
|
Line 967 [match: epicor]:
|
|
965: /** @var ship_RequestRepo $ShipRequest */
|
|
966: $ShipRequest = app(ship_RequestRepo::class);
|
|
>> 967: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
968:
|
|
969: // get the ship request data
|
|
|
|
Line 970 [match: epicor]:
|
|
968:
|
|
969: // get the ship request data
|
|
>> 970: $releases_data = $ShipRequest->getShipmentReleaseData($epicorCustID);
|
|
971: $releases = array();
|
|
972:
|
|
|
|
Line 992 [match: epicor]:
|
|
990: return response()->json([
|
|
991: 'releases' => $releases,
|
|
>> 992: 'id' => $epicorCustID
|
|
993: ]);
|
|
994: }
|
|
|
|
Line 1006 [match: epicor]:
|
|
1004: /** @var ship_RequestRepo $ShipRequest */
|
|
1005: $ShipRequest = app(ship_RequestRepo::class);
|
|
>> 1006: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1007:
|
|
1008: $includeIncompleteShipments = request()->exists('incomplete_shipments') ? request()->query('incomplete_shipments') : false;
|
|
|
|
Line 1013 [match: epicor]:
|
|
1011:
|
|
1012: /** @var ship_Request $details_data */
|
|
>> 1013: $d = $ShipRequest->getShipmentReleaseDetailsDataByID($epicorCustID, request()->route()->parameter('id'));
|
|
1014:
|
|
1015: /** @var ship_RequestRepo $ROShipmentRequestRepo */
|
|
|
|
Line 1102 [match: epicor]:
|
|
1100: * @param ShipmentCart $ShipmentCart
|
|
1101: * @param QuestPageValues $QuestPageValues
|
|
>> 1102: * @param EpicorDatabase $EpicorDB
|
|
1103: * @param quest_Company $CompanyRepo
|
|
1104: * @param ship_RequestRepo $ship_Request
|
|
|
|
Line 1108 [match: epicor]:
|
|
1106: * @throws \Doctrine\ORM\NonUniqueResultException
|
|
1107: */
|
|
>> 1108: public function getShipmentReleaseInformation(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, EpicorDatabase $EpicorDB, quest_Company $CompanyRepo, \App\Model\Repos\ship_Request $ship_Request)
|
|
1109: {
|
|
1110: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1110 [match: epicor]:
|
|
1108: public function getShipmentReleaseInformation(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, EpicorDatabase $EpicorDB, quest_Company $CompanyRepo, \App\Model\Repos\ship_Request $ship_Request)
|
|
1109: {
|
|
>> 1110: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1111:
|
|
1112:
|
|
|
|
Line 1117 [match: epicor]:
|
|
1115:
|
|
1116: /** @var \App\Model\Entities\quest_Company $Customer */
|
|
>> 1117: $Company = $CompanyRepo->findOneBy(['EpicorCustID' => $epicorCustID]);
|
|
1118:
|
|
1119: $ShipToData = $ShipmentCart->getShipToAddressData();
|
|
|
|
Line 1123 [match: epicor]:
|
|
1121: if($ShipToData !== null && count($ShipToData) > 0 && isset($ShipToData['ShipToNum']))
|
|
1122: {
|
|
>> 1123: $SelectedShipToAddressInfo = ShipmentCart::convertShipmentShipToAddressDataToLines($EpicorDB->getCustomerSingleShipToAddressByNum($epicorCustID, $ShipToData['ShipToNum']));
|
|
1124: }
|
|
1125:
|
|
|
|
Line 1127 [match: epicor]:
|
|
1125:
|
|
1126: /** @var ship_Request $Results */
|
|
>> 1127: $Results = $ship_Request->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($epicorCustID, $QuestPageValues->getQuestUserID());
|
|
1128: $TotalShipmentLbs = 0;
|
|
1129:
|
|
|
|
Line 1166 [match: epicor]:
|
|
1164: public function postStartShipment(ShipmentCart $ShipmentCart, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues, SelectedCompanyProvider $SelectedCompanyProvider)
|
|
1165: {
|
|
>> 1166: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1167:
|
|
1168: if(!$ShipmentCart->getIsCartAvailable())
|
|
|
|
Line 1174 [match: epicor]:
|
|
1172: abort(500, 'A shipment release cannot be started for this customer as there is already one in progress');
|
|
1173:
|
|
>> 1174: if(!$SelectedCompanyProvider->setSelectedCompanyEpicorCustID($epicorCustID))
|
|
1175: abort(500, 'Please select a customer before starting a shipment release');
|
|
1176:
|
|
|
|
Line 1182 [match: epicor]:
|
|
1180: try {
|
|
1181: $DataHandler->handleInsertUpdate([
|
|
>> 1182: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
1183: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
1184: 'OpenCartConstraint' => true,
|
|
|
|
Line 1198 [match: epicor]:
|
|
1196: } catch(Exception $e) {
|
|
1197:
|
|
>> 1198: Log::error('SHIPMENT REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
1199: abort(500, 'An unexpected error was encountered starting this shipment release. Please try again.');
|
|
1200:
|
|
|
|
Line 1208 [match: epicor]:
|
|
1206: /**
|
|
1207: * @param ShipmentCart $ShipmentCart
|
|
>> 1208: * @param EpicorDatabase $EpicorDatabase
|
|
1209: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1210: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1214 [match: epicor]:
|
|
1212: * @return \Illuminate\Http\JsonResponse
|
|
1213: */
|
|
>> 1214: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
1215: {
|
|
1216: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1216 [match: epicor]:
|
|
1214: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
1215: {
|
|
>> 1216: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1217:
|
|
1218: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1221 [match: epicor]:
|
|
1219: abort(500, 'This shipment release could not be started at this time');
|
|
1220:
|
|
>> 1221: $ShipToAddresses = $EpicorDatabase->getCustomerShipToAddresses($epicorCustID);
|
|
1222:
|
|
1223: $ShipToAddressLines = [];
|
|
|
|
Line 1225 [match: epicor]:
|
|
1223: $ShipToAddressLines = [];
|
|
1224: $ShipToAddressNums = [];
|
|
>> 1225: $CustomerName = $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getEpiName();
|
|
1226: foreach($ShipToAddresses as $ShipToAddress)
|
|
1227: {
|
|
|
|
Line 1243 [match: epicor]:
|
|
1241: /**
|
|
1242: * @param ShipmentCart $ShipmentCart
|
|
>> 1243: * @param EpicorDatabase $EpicorDatabase
|
|
1244: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1245: * @param MetadataFactory $MetadataFactory
|
|
|
|
Line 1251 [match: epicor]:
|
|
1249: * @throws \Savvior\Data\DataHandlerException
|
|
1250: */
|
|
>> 1251: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
1252: {
|
|
1253: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1253 [match: epicor]:
|
|
1251: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
1252: {
|
|
>> 1253: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1254:
|
|
1255: $data = request()->all();
|
|
|
|
Line 1264 [match: epicor]:
|
|
1262: abort(500, 'The ship to address selected is not valid. Please try again.');
|
|
1263:
|
|
>> 1264: $SelectedShipToAddressInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum);
|
|
1265:
|
|
1266: if(is_null($SelectedShipToAddressInfo))
|
|
|
|
Line 1275 [match: epicor]:
|
|
1273: 'ShipToSelected' => true,
|
|
1274: 'ShipToNum' => $ShipToNum,
|
|
>> 1275: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getEpiName(),
|
|
1276: 'ShipToName' => $SelectedShipToAddressInfo['ShipToName'],
|
|
1277: 'ShipToAddress1' => $SelectedShipToAddressInfo['ShipToAddress1'],
|
|
|
|
Line 1286 [match: epicor]:
|
|
1284: 'LastCartActivity' => (new \DateTime()),
|
|
1285: 'quest_Company' => [
|
|
>> 1286: 'ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getID()
|
|
1287: ],
|
|
1288: 'quest_User' => [
|
|
|
|
Line 1319 [match: epicor]:
|
|
1317: $DataHandler->commitTransaction();
|
|
1318: } catch(Exception $e) {
|
|
>> 1319: Log::error('SHIPMENT REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
1320: abort(500, 'An unexpected error was encountered cancelling this shipment release. Please try again.');
|
|
1321: }
|
|
|
|
Line 1335 [match: epicor]:
|
|
1333: public function getCompleteShipment(ShipmentCart $ShipmentCart, \App\Model\Repos\ship_Request $ship_Request, QuestPageValues $QuestPageValues)
|
|
1334: {
|
|
>> 1335: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1336:
|
|
1337: /** @var ship_Request $Results */
|
|
|
|
Line 1338 [match: epicor]:
|
|
1336:
|
|
1337: /** @var ship_Request $Results */
|
|
>> 1338: $Results = $ship_Request->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($epicorCustID, $QuestPageValues->getQuestUserID());
|
|
1339:
|
|
1340: $LineItems = [];
|
|
|
|
Line 1372 [match: epicor]:
|
|
1370: * @param QuestPageValues $QuestPageValues
|
|
1371: * @param quest_EmailEventRepo $ROEmailEventRepo
|
|
>> 1372: * @param EpicorDatabase $EpicorDatabase
|
|
1373: * @param MetadataFactory $MetadataFactory
|
|
1374: * @param DataHandler $DataHandler
|
|
|
|
Line 1381 [match: epicor]:
|
|
1379: * @throws \Throwable
|
|
1380: */
|
|
>> 1381: public function postCompleteShipment(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, ShipmentReleaseHelper $ShipmentReleaseHelper, paint_Plant $paint_PlantRepo)
|
|
1382: {
|
|
1383: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1404 [match: epicor]:
|
|
1402:
|
|
1403: try {
|
|
>> 1404: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($ShipmentCart->getPlant());
|
|
1405: } catch(Exception $e) {
|
|
1406: Log::error('Could not complete shipment release because could not get plant emails for '.$ShipmentCart->getPlant().' ('.$ShipmentCart->getCartID().')');
|
|
|
|
Line 1470 [match: epicor]:
|
|
1468: * @param MetadataFactory $MetadataFactory
|
|
1469: * @param DataHandler $DataHandler
|
|
>> 1470: * @param EpicorDatabase $EpicorDatabase
|
|
1471: * @return \Illuminate\Http\JsonResponse
|
|
1472: * @throws \Savvior\Data\DataHandlerException
|
|
|
|
Line 1474 [match: epicor]:
|
|
1472: * @throws \Savvior\Data\DataHandlerException
|
|
1473: */
|
|
>> 1474: public function postAddShipmentItem(ShipmentCart $ShipmentCart, ship_RequestRepo $ROShipmentRequestRepo, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, EpicorDatabase $EpicorDatabase)
|
|
1475: {
|
|
1476: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1479 [match: epicor]:
|
|
1477: abort(500, 'There is no active shipment release');
|
|
1478:
|
|
>> 1479: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1480: $PartNum = base64_decode(request()->route()->parameter('part'));
|
|
1481: $Plant = base64_decode(request()->route()->parameter('plant'));
|
|
|
|
Line 1488 [match: epicor]:
|
|
1486: $Skid = base64_decode(request()->input('skid'));
|
|
1487:
|
|
>> 1488: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($epicorCustID,$PartNum);
|
|
1489:
|
|
1490: if(is_null($LotNum) || is_null($OnHandQuantity))
|
|
|
|
Line 1501 [match: epicor]:
|
|
1499: abort(500, 'This item is already in your current shipment release');
|
|
1500: }
|
|
>> 1501: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
1502: {
|
|
1503: abort(500, 'This item is already part of another shipment release for this customer');
|
|
|
|
Line 1524 [match: epicor]:
|
|
1522: $DataHandler->commitTransaction();
|
|
1523: } catch (Exception $e) {
|
|
>> 1524: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1525: abort(500, 'There was an unexpected error adding this item to your shipment. Please try again.');
|
|
1526: }
|
|
|
|
Line 1571 [match: epicor]:
|
|
1569: /**
|
|
1570: * @param quest_EmailEventRepo $ROEmailEventRepo
|
|
>> 1571: * @param EpicorDatabase $EpicorDatabase
|
|
1572: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1573: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1576 [match: epicor]:
|
|
1574: * @return \Illuminate\Http\JsonResponse
|
|
1575: */
|
|
>> 1576: public function postShipToAddressInquiry(quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1577: {
|
|
1578: $EmailInquiryTo = $ROEmailEventRepo->getEmailsForActiveQuestUsersThatReceiveEmailEvent('SHIP_TO_ADDRESS_INQUIRY');
|
|
|
|
Line 1591 [match: epicor]:
|
|
1589: abort(500, 'Invalid inquiry type provided');
|
|
1590:
|
|
>> 1591: if(($Type == 'edit' || $Type == 'delete') && (is_null($ShipToNum = $ID) || is_null($ShipToInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum))))
|
|
1592: abort(500,'The ship to address for your inquiry no longer exists.' );
|
|
1593:
|
|
|
|
Line 1619 [match: epicor]:
|
|
1617:
|
|
1618: /**
|
|
>> 1619: * @param EpicorDatabase $EpicorDatabase
|
|
1620: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1621: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1624 [match: epicor]:
|
|
1622: * @return \Illuminate\Http\JsonResponse
|
|
1623: */
|
|
>> 1624: public function getOpenOrders(EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1625: {
|
|
1626: $OpenOrders = $EpicorDatabase->getJobStatusByPlanByCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
|
|
Line 1626 [match: epicor]:
|
|
1624: public function getOpenOrders(EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1625: {
|
|
>> 1626: $OpenOrders = $EpicorDatabase->getJobStatusByPlanByCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
1627:
|
|
1628: return response()->json([
|
|
|
|
Line 1765 [match: epicor]:
|
|
1763: /** @var \App\Model\Entities\inv_UploadEntry[] $inv_UploadEntry */
|
|
1764: $inv_UploadEntry = $inv_UploadEntryRepo
|
|
>> 1765: ->getAllInvoicesForCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
1766:
|
|
1767: $results = [];
|
|
|
|
Line 1792 [match: epicor]:
|
|
1790: 'SentDate' => !is_null($inv_UploadEntryItem->getSentDT()) ? $inv_UploadEntryItem->getSentDT()->format('m/d/Y') : '',
|
|
1791: 'Paid' => $inv_UploadEntryItem->getEpiInvcHead()->getOpenInvoice(),
|
|
>> 1792: 'DownloadLink' => action('API\WebAppAPI@downloadInvoice', [$SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), encrypt($inv_UploadEntryItem->getID())])
|
|
1793: ];
|
|
1794: }
|
|
|
|
Line 1886 [match: epicor]:
|
|
1884: private function _BOLContent($bolNum, $isLastPage=true)
|
|
1885: {
|
|
>> 1886: /** @var EpicorDatabase $epicore */
|
|
1887: $epicore = app(EpicorDatabase::class);
|
|
1888: $bolData = $epicore->getBOL($bolNum);
|
|
|
|
Line 1887 [match: epicor]:
|
|
1885: {
|
|
1886: /** @var EpicorDatabase $epicore */
|
|
>> 1887: $epicore = app(EpicorDatabase::class);
|
|
1888: $bolData = $epicore->getBOL($bolNum);
|
|
1889: $byPacker = [];
|
|
|
|
Line 1888 [match: epicor]:
|
|
1886: /** @var EpicorDatabase $epicore */
|
|
1887: $epicore = app(EpicorDatabase::class);
|
|
>> 1888: $bolData = $epicore->getBOL($bolNum);
|
|
1889: $byPacker = [];
|
|
1890:
|
|
|
|
Line 1903 [match: epicor]:
|
|
1901: }
|
|
1902:
|
|
>> 1903: public function getOrdersPdf(SelectedCompanyProvider $comp, EpicorDatabase $EpicorDatabase)
|
|
1904: {
|
|
1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
|
|
Line 1905 [match: epicor]:
|
|
1903: public function getOrdersPdf(SelectedCompanyProvider $comp, EpicorDatabase $EpicorDatabase)
|
|
1904: {
|
|
>> 1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
1906: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1907: $fileName = "JobStatusByPlantByCustomer-" . date("m-d-Y") . ".pdf";
|
|
|
|
Line 1906 [match: epicor]:
|
|
1904: {
|
|
1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
>> 1906: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1907: $fileName = "JobStatusByPlantByCustomer-" . date("m-d-Y") . ".pdf";
|
|
1908:
|
|
|
|
Line 18 [match: Epicor]:
|
|
16: use App\Notifications\ShipmentReleaseRequestCancellation;
|
|
17: use App\Notifications\ShipToAddressInquiry;
|
|
>> 18: use App\Services\EpicorDatabase;
|
|
19: use App\Services\HistoricalShipmentCart;
|
|
20: use App\Services\PaintScheduleService;
|
|
|
|
Line 169 [match: Epicor]:
|
|
167: /** @var quest_Company $Company */
|
|
168: $Company = app(quest_Company::class);
|
|
>> 169: /** @var EpicorDatabase $EpicorDB */
|
|
170: $EpicorDB = app(EpicorDatabase::class);
|
|
171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 170 [match: Epicor]:
|
|
168: $Company = app(quest_Company::class);
|
|
169: /** @var EpicorDatabase $EpicorDB */
|
|
>> 170: $EpicorDB = app(EpicorDatabase::class);
|
|
171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
172:
|
|
|
|
Line 171 [match: Epicor]:
|
|
169: /** @var EpicorDatabase $EpicorDB */
|
|
170: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
172:
|
|
173: // get notifications
|
|
|
|
Line 184 [match: Epicor]:
|
|
182:
|
|
183: // get shipments data
|
|
>> 184: $shipments_results = $EpicorDB->getTop5ShipmentsData($epicorCustID);
|
|
185: $shipments = array();
|
|
186: // rename to match json expected
|
|
|
|
Line 214 [match: Epicor]:
|
|
212:
|
|
213: // get the recent production orders
|
|
>> 214: $production_results = $EpicorDB->getTop5OrdersData($epicorCustID);
|
|
215: $production = array();
|
|
216:
|
|
|
|
Line 276 [match: Epicor]:
|
|
274: {
|
|
275: // variable init
|
|
>> 276: /** @var EpicorDatabase $EpicorDB */
|
|
277: $EpicorDB = app(EpicorDatabase::class);
|
|
278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 277 [match: Epicor]:
|
|
275: // variable init
|
|
276: /** @var EpicorDatabase $EpicorDB */
|
|
>> 277: $EpicorDB = app(EpicorDatabase::class);
|
|
278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
279: $type = request()->route()->parameter('type');
|
|
|
|
Line 278 [match: Epicor]:
|
|
276: /** @var EpicorDatabase $EpicorDB */
|
|
277: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
279: $type = request()->route()->parameter('type');
|
|
280: $raw_data = null;
|
|
|
|
Line 288 [match: Epicor]:
|
|
286: {
|
|
287: case "unprocessed":
|
|
>> 288: $raw_data = $EpicorDB->getInventoryUnprocessedSummaryData($epicorCustID);
|
|
289: $source = "portal_UnprocessedInventorySummary";
|
|
290: break;
|
|
|
|
Line 293 [match: Epicor]:
|
|
291:
|
|
292: case "unprocessedrr":
|
|
>> 293: $raw_data = $EpicorDB->getInventoryUnprocessedRRSummaryData($epicorCustID);
|
|
294: $source = "portal_UnprocessedInventoryRejectsAndReturnsSummary";
|
|
295: break;
|
|
|
|
Line 298 [match: Epicor]:
|
|
296:
|
|
297: case 'wip':
|
|
>> 298: $raw_data = $EpicorDB->getInventoryWorkInProgressSummaryData($epicorCustID);
|
|
299: $source = 'portal_WorkInProgressInventorySummary';
|
|
300: break;
|
|
|
|
Line 303 [match: Epicor]:
|
|
301:
|
|
302: case "fg":
|
|
>> 303: $raw_data = $EpicorDB->getInventoryFinishedGoodsSummaryData($epicorCustID);
|
|
304: $source = "portal_ProcessedInventorySummary";
|
|
305: break;
|
|
|
|
Line 308 [match: Epicor]:
|
|
306:
|
|
307: case 'processedother':
|
|
>> 308: $raw_data = $EpicorDB->getInventoryProcessedOtherSummaryData($epicorCustID);
|
|
309: $source = "portal_ProcessedOtherInventorySummary";
|
|
310: break;
|
|
|
|
Line 313 [match: Epicor]:
|
|
311:
|
|
312: case "processedrr":
|
|
>> 313: $raw_data = $EpicorDB->getInventoryProcessedRRSummaryData($epicorCustID);
|
|
314: $source = "portal_ProcessedInventoryRejectsAndReturnsSummary";
|
|
315: break;
|
|
|
|
Line 353 [match: Epicor]:
|
|
351: /**
|
|
352: * @return \Illuminate\Http\JsonResponse
|
|
>> 353: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
354: */
|
|
355: public function inventoryDetails() {
|
|
|
|
Line 361 [match: Epicor]:
|
|
359:
|
|
360: // variable init
|
|
>> 361: /** @var EpicorDatabase $EpicorDB */
|
|
362: $EpicorDB = app(EpicorDatabase::class);
|
|
363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 362 [match: Epicor]:
|
|
360: // variable init
|
|
361: /** @var EpicorDatabase $EpicorDB */
|
|
>> 362: $EpicorDB = app(EpicorDatabase::class);
|
|
363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
364: $encodedID = request()->isMethod('post') ? request()->input('id') : request()->route()->parameter('id');
|
|
|
|
Line 363 [match: Epicor]:
|
|
361: /** @var EpicorDatabase $EpicorDB */
|
|
362: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
364: $encodedID = request()->isMethod('post') ? request()->input('id') : request()->route()->parameter('id');
|
|
365: $type = "";
|
|
|
|
Line 384 [match: Epicor]:
|
|
382: {
|
|
383: case "portal_UnprocessedInventorySummary":
|
|
>> 384: $inventory_details_data = $EpicorDB->getInventoryUnprocessedDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
385: $header_details_data = $EpicorDB->getInventoryUnprocessedSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
386: $type = "Unprocessed";
|
|
|
|
Line 385 [match: Epicor]:
|
|
383: case "portal_UnprocessedInventorySummary":
|
|
384: $inventory_details_data = $EpicorDB->getInventoryUnprocessedDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 385: $header_details_data = $EpicorDB->getInventoryUnprocessedSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
386: $type = "Unprocessed";
|
|
387: break;
|
|
|
|
Line 389 [match: Epicor]:
|
|
387: break;
|
|
388: case "portal_UnprocessedInventoryRejectsAndReturnsSummary":
|
|
>> 389: $inventory_details_data = $EpicorDB->getInventoryUnprocessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
390: $header_details_data = $EpicorDB->getInventoryUnprocessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
391: $type = "Unprocessed (Rejects / Returns)";
|
|
|
|
Line 390 [match: Epicor]:
|
|
388: case "portal_UnprocessedInventoryRejectsAndReturnsSummary":
|
|
389: $inventory_details_data = $EpicorDB->getInventoryUnprocessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 390: $header_details_data = $EpicorDB->getInventoryUnprocessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
391: $type = "Unprocessed (Rejects / Returns)";
|
|
392: break;
|
|
|
|
Line 394 [match: Epicor]:
|
|
392: break;
|
|
393: case 'portal_WorkInProgressInventorySummary':
|
|
>> 394: $inventory_details_data = $EpicorDB->getInventoryWorkInProgressDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
395: $header_details_data = $EpicorDB->getInventoryWorkInProgressSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
396: $type = "Work In Progress";
|
|
|
|
Line 395 [match: Epicor]:
|
|
393: case 'portal_WorkInProgressInventorySummary':
|
|
394: $inventory_details_data = $EpicorDB->getInventoryWorkInProgressDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 395: $header_details_data = $EpicorDB->getInventoryWorkInProgressSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
396: $type = "Work In Progress";
|
|
397: break;
|
|
|
|
Line 399 [match: Epicor]:
|
|
397: break;
|
|
398: case "portal_FinishedGoodsInventorySummary":
|
|
>> 399: $inventory_details_data = $EpicorDB->getInventoryFinishedGoodsDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
400: $header_details_data = $EpicorDB->getInventoryFinishedGoodsSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
401: $type = "Finished Goods";
|
|
|
|
Line 400 [match: Epicor]:
|
|
398: case "portal_FinishedGoodsInventorySummary":
|
|
399: $inventory_details_data = $EpicorDB->getInventoryFinishedGoodsDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 400: $header_details_data = $EpicorDB->getInventoryFinishedGoodsSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
401: $type = "Finished Goods";
|
|
402: break;
|
|
|
|
Line 404 [match: Epicor]:
|
|
402: break;
|
|
403: case "portal_ProcessedOtherInventorySummary":
|
|
>> 404: $inventory_details_data = $EpicorDB->getInventoryProcessedOtherDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
405: $header_details_data = $EpicorDB->getInventoryProcessedOtherSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
406: $type = "Processed - Other";
|
|
|
|
Line 405 [match: Epicor]:
|
|
403: case "portal_ProcessedOtherInventorySummary":
|
|
404: $inventory_details_data = $EpicorDB->getInventoryProcessedOtherDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 405: $header_details_data = $EpicorDB->getInventoryProcessedOtherSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
406: $type = "Processed - Other";
|
|
407: break;
|
|
|
|
Line 409 [match: Epicor]:
|
|
407: break;
|
|
408: case "portal_ProcessedInventoryRejectsAndReturnsSummary":
|
|
>> 409: $inventory_details_data = $EpicorDB->getInventoryProcessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
410: $header_details_data = $EpicorDB->getInventoryProcessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
411: $type = "Processed (Rejects / Returns)";
|
|
|
|
Line 410 [match: Epicor]:
|
|
408: case "portal_ProcessedInventoryRejectsAndReturnsSummary":
|
|
409: $inventory_details_data = $EpicorDB->getInventoryProcessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 410: $header_details_data = $EpicorDB->getInventoryProcessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
411: $type = "Processed (Rejects / Returns)";
|
|
412: break;
|
|
|
|
Line 488 [match: Epicor]:
|
|
486:
|
|
487: // variable init
|
|
>> 488: /** @var EpicorDatabase $EpicorDB */
|
|
489: $EpicorDB = app(EpicorDatabase::class);
|
|
490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 489 [match: Epicor]:
|
|
487: // variable init
|
|
488: /** @var EpicorDatabase $EpicorDB */
|
|
>> 489: $EpicorDB = app(EpicorDatabase::class);
|
|
490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
|
|
Line 490 [match: Epicor]:
|
|
488: /** @var EpicorDatabase $EpicorDB */
|
|
489: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
492:
|
|
|
|
Line 493 [match: Epicor]:
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
492:
|
|
>> 493: $coil_by_coil_results = $EpicorDB->getCoilByCoil($jobNumber, $epicorCustID);
|
|
494:
|
|
495: // format as json expected
|
|
|
|
Line 532 [match: Epicor]:
|
|
530: public function getCoilByCoilPdf(Request $request)
|
|
531: {
|
|
>> 532: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
533: $job_num = $request->route()->parameter('job_num');
|
|
534:
|
|
|
|
Line 538 [match: Epicor]:
|
|
536: $job_num = base64_decode($job_num);
|
|
537:
|
|
>> 538: /** @var EpicorDatabase $epicore */
|
|
539: $epicore = app(EpicorDatabase::class);
|
|
540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
|
|
Line 539 [match: Epicor]:
|
|
537:
|
|
538: /** @var EpicorDatabase $epicore */
|
|
>> 539: $epicore = app(EpicorDatabase::class);
|
|
540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
541:
|
|
|
|
Line 540 [match: Epicor]:
|
|
538: /** @var EpicorDatabase $epicore */
|
|
539: $epicore = app(EpicorDatabase::class);
|
|
>> 540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
541:
|
|
542: $PartHeaders =[];
|
|
|
|
Line 850 [match: Epicor]:
|
|
848: /** @var \App\Model\Entities\paint_PlantLine $PaintLine */
|
|
849: foreach ($PaintPlant->getPaintPlantLine() AS $PaintLine)
|
|
>> 850: $Lines[$PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey(), 'name' => $PaintLine->getPaintLine()->getName(), 'category' => $PaintLine->getPaintLine()->getPaintLineType()->getType()];
|
|
851: array_multisort(array_map(function($element) {
|
|
852: return $element['name'];
|
|
|
|
Line 855 [match: Epicor]:
|
|
853: }, $Lines), SORT_ASC, $Lines);
|
|
854:
|
|
>> 855: $plants[$PaintPlant->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey(), 'offset' => $PaintPlant->getTimeZoneModifier(), 'can_edit' => isset($PlantEditAccess[$PaintPlant->getEpicorKey()]), 'name' => $PaintPlant->getName(), 'lines' => $Lines];
|
|
856: }
|
|
857:
|
|
|
|
Line 874 [match: Epicor]:
|
|
872:
|
|
873: // variable init
|
|
>> 874: /** @var EpicorDatabase $EpicorDB */
|
|
875: $EpicorDB = app(EpicorDatabase::class);
|
|
876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 875 [match: Epicor]:
|
|
873: // variable init
|
|
874: /** @var EpicorDatabase $EpicorDB */
|
|
>> 875: $EpicorDB = app(EpicorDatabase::class);
|
|
876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
877: $startDate = request()->route()->parameter('start');
|
|
|
|
Line 876 [match: Epicor]:
|
|
874: /** @var EpicorDatabase $EpicorDB */
|
|
875: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
877: $startDate = request()->route()->parameter('start');
|
|
878: $endDate = request()->route()->parameter('end');
|
|
|
|
Line 881 [match: Epicor]:
|
|
879:
|
|
880: // get the coil activity data
|
|
>> 881: $usages_data = $EpicorDB->getCoilActivityUsageData($epicorCustID, $startDate, $endDate);
|
|
882: $usages = array();
|
|
883:
|
|
|
|
Line 904 [match: Epicor]:
|
|
902: return response()->json([
|
|
903: 'usages' => $usages,
|
|
>> 904: 'id' => $epicorCustID,
|
|
905: 'start' => $startDate,
|
|
906: 'end' => $endDate
|
|
|
|
Line 918 [match: Epicor]:
|
|
916:
|
|
917: // variable init
|
|
>> 918: /** @var EpicorDatabase $EpicorDB */
|
|
919: $EpicorDB = app(EpicorDatabase::class);
|
|
920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 919 [match: Epicor]:
|
|
917: // variable init
|
|
918: /** @var EpicorDatabase $EpicorDB */
|
|
>> 919: $EpicorDB = app(EpicorDatabase::class);
|
|
920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
921: $startDate = request()->route()->parameter('start');//
|
|
|
|
Line 920 [match: Epicor]:
|
|
918: /** @var EpicorDatabase $EpicorDB */
|
|
919: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
921: $startDate = request()->route()->parameter('start');//
|
|
922: $endDate = request()->route()->parameter('end');//
|
|
|
|
Line 925 [match: Epicor]:
|
|
923:
|
|
924: // get the coil activity
|
|
>> 925: $receipts_data = $EpicorDB->getCoilActivityReceiptsData($epicorCustID, $startDate, $endDate);
|
|
926: $receipts = array();
|
|
927:
|
|
|
|
Line 951 [match: Epicor]:
|
|
949: return response()->json([
|
|
950: 'receipts' => $receipts,
|
|
>> 951: 'id' => $epicorCustID,
|
|
952: 'start' => $startDate,
|
|
953: 'end' => $endDate
|
|
|
|
Line 967 [match: Epicor]:
|
|
965: /** @var ship_RequestRepo $ShipRequest */
|
|
966: $ShipRequest = app(ship_RequestRepo::class);
|
|
>> 967: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
968:
|
|
969: // get the ship request data
|
|
|
|
Line 970 [match: Epicor]:
|
|
968:
|
|
969: // get the ship request data
|
|
>> 970: $releases_data = $ShipRequest->getShipmentReleaseData($epicorCustID);
|
|
971: $releases = array();
|
|
972:
|
|
|
|
Line 992 [match: Epicor]:
|
|
990: return response()->json([
|
|
991: 'releases' => $releases,
|
|
>> 992: 'id' => $epicorCustID
|
|
993: ]);
|
|
994: }
|
|
|
|
Line 1006 [match: Epicor]:
|
|
1004: /** @var ship_RequestRepo $ShipRequest */
|
|
1005: $ShipRequest = app(ship_RequestRepo::class);
|
|
>> 1006: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1007:
|
|
1008: $includeIncompleteShipments = request()->exists('incomplete_shipments') ? request()->query('incomplete_shipments') : false;
|
|
|
|
Line 1013 [match: Epicor]:
|
|
1011:
|
|
1012: /** @var ship_Request $details_data */
|
|
>> 1013: $d = $ShipRequest->getShipmentReleaseDetailsDataByID($epicorCustID, request()->route()->parameter('id'));
|
|
1014:
|
|
1015: /** @var ship_RequestRepo $ROShipmentRequestRepo */
|
|
|
|
Line 1102 [match: Epicor]:
|
|
1100: * @param ShipmentCart $ShipmentCart
|
|
1101: * @param QuestPageValues $QuestPageValues
|
|
>> 1102: * @param EpicorDatabase $EpicorDB
|
|
1103: * @param quest_Company $CompanyRepo
|
|
1104: * @param ship_RequestRepo $ship_Request
|
|
|
|
Line 1108 [match: Epicor]:
|
|
1106: * @throws \Doctrine\ORM\NonUniqueResultException
|
|
1107: */
|
|
>> 1108: public function getShipmentReleaseInformation(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, EpicorDatabase $EpicorDB, quest_Company $CompanyRepo, \App\Model\Repos\ship_Request $ship_Request)
|
|
1109: {
|
|
1110: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1110 [match: Epicor]:
|
|
1108: public function getShipmentReleaseInformation(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, EpicorDatabase $EpicorDB, quest_Company $CompanyRepo, \App\Model\Repos\ship_Request $ship_Request)
|
|
1109: {
|
|
>> 1110: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1111:
|
|
1112:
|
|
|
|
Line 1117 [match: Epicor]:
|
|
1115:
|
|
1116: /** @var \App\Model\Entities\quest_Company $Customer */
|
|
>> 1117: $Company = $CompanyRepo->findOneBy(['EpicorCustID' => $epicorCustID]);
|
|
1118:
|
|
1119: $ShipToData = $ShipmentCart->getShipToAddressData();
|
|
|
|
Line 1123 [match: Epicor]:
|
|
1121: if($ShipToData !== null && count($ShipToData) > 0 && isset($ShipToData['ShipToNum']))
|
|
1122: {
|
|
>> 1123: $SelectedShipToAddressInfo = ShipmentCart::convertShipmentShipToAddressDataToLines($EpicorDB->getCustomerSingleShipToAddressByNum($epicorCustID, $ShipToData['ShipToNum']));
|
|
1124: }
|
|
1125:
|
|
|
|
Line 1127 [match: Epicor]:
|
|
1125:
|
|
1126: /** @var ship_Request $Results */
|
|
>> 1127: $Results = $ship_Request->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($epicorCustID, $QuestPageValues->getQuestUserID());
|
|
1128: $TotalShipmentLbs = 0;
|
|
1129:
|
|
|
|
Line 1166 [match: Epicor]:
|
|
1164: public function postStartShipment(ShipmentCart $ShipmentCart, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues, SelectedCompanyProvider $SelectedCompanyProvider)
|
|
1165: {
|
|
>> 1166: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1167:
|
|
1168: if(!$ShipmentCart->getIsCartAvailable())
|
|
|
|
Line 1174 [match: Epicor]:
|
|
1172: abort(500, 'A shipment release cannot be started for this customer as there is already one in progress');
|
|
1173:
|
|
>> 1174: if(!$SelectedCompanyProvider->setSelectedCompanyEpicorCustID($epicorCustID))
|
|
1175: abort(500, 'Please select a customer before starting a shipment release');
|
|
1176:
|
|
|
|
Line 1182 [match: Epicor]:
|
|
1180: try {
|
|
1181: $DataHandler->handleInsertUpdate([
|
|
>> 1182: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
1183: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
1184: 'OpenCartConstraint' => true,
|
|
|
|
Line 1198 [match: Epicor]:
|
|
1196: } catch(Exception $e) {
|
|
1197:
|
|
>> 1198: Log::error('SHIPMENT REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
1199: abort(500, 'An unexpected error was encountered starting this shipment release. Please try again.');
|
|
1200:
|
|
|
|
Line 1208 [match: Epicor]:
|
|
1206: /**
|
|
1207: * @param ShipmentCart $ShipmentCart
|
|
>> 1208: * @param EpicorDatabase $EpicorDatabase
|
|
1209: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1210: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1214 [match: Epicor]:
|
|
1212: * @return \Illuminate\Http\JsonResponse
|
|
1213: */
|
|
>> 1214: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
1215: {
|
|
1216: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1216 [match: Epicor]:
|
|
1214: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
1215: {
|
|
>> 1216: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1217:
|
|
1218: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1221 [match: Epicor]:
|
|
1219: abort(500, 'This shipment release could not be started at this time');
|
|
1220:
|
|
>> 1221: $ShipToAddresses = $EpicorDatabase->getCustomerShipToAddresses($epicorCustID);
|
|
1222:
|
|
1223: $ShipToAddressLines = [];
|
|
|
|
Line 1225 [match: Epicor]:
|
|
1223: $ShipToAddressLines = [];
|
|
1224: $ShipToAddressNums = [];
|
|
>> 1225: $CustomerName = $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getEpiName();
|
|
1226: foreach($ShipToAddresses as $ShipToAddress)
|
|
1227: {
|
|
|
|
Line 1243 [match: Epicor]:
|
|
1241: /**
|
|
1242: * @param ShipmentCart $ShipmentCart
|
|
>> 1243: * @param EpicorDatabase $EpicorDatabase
|
|
1244: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1245: * @param MetadataFactory $MetadataFactory
|
|
|
|
Line 1251 [match: Epicor]:
|
|
1249: * @throws \Savvior\Data\DataHandlerException
|
|
1250: */
|
|
>> 1251: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
1252: {
|
|
1253: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1253 [match: Epicor]:
|
|
1251: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
1252: {
|
|
>> 1253: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1254:
|
|
1255: $data = request()->all();
|
|
|
|
Line 1264 [match: Epicor]:
|
|
1262: abort(500, 'The ship to address selected is not valid. Please try again.');
|
|
1263:
|
|
>> 1264: $SelectedShipToAddressInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum);
|
|
1265:
|
|
1266: if(is_null($SelectedShipToAddressInfo))
|
|
|
|
Line 1275 [match: Epicor]:
|
|
1273: 'ShipToSelected' => true,
|
|
1274: 'ShipToNum' => $ShipToNum,
|
|
>> 1275: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getEpiName(),
|
|
1276: 'ShipToName' => $SelectedShipToAddressInfo['ShipToName'],
|
|
1277: 'ShipToAddress1' => $SelectedShipToAddressInfo['ShipToAddress1'],
|
|
|
|
Line 1286 [match: Epicor]:
|
|
1284: 'LastCartActivity' => (new \DateTime()),
|
|
1285: 'quest_Company' => [
|
|
>> 1286: 'ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getID()
|
|
1287: ],
|
|
1288: 'quest_User' => [
|
|
|
|
Line 1319 [match: Epicor]:
|
|
1317: $DataHandler->commitTransaction();
|
|
1318: } catch(Exception $e) {
|
|
>> 1319: Log::error('SHIPMENT REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
1320: abort(500, 'An unexpected error was encountered cancelling this shipment release. Please try again.');
|
|
1321: }
|
|
|
|
Line 1335 [match: Epicor]:
|
|
1333: public function getCompleteShipment(ShipmentCart $ShipmentCart, \App\Model\Repos\ship_Request $ship_Request, QuestPageValues $QuestPageValues)
|
|
1334: {
|
|
>> 1335: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1336:
|
|
1337: /** @var ship_Request $Results */
|
|
|
|
Line 1338 [match: Epicor]:
|
|
1336:
|
|
1337: /** @var ship_Request $Results */
|
|
>> 1338: $Results = $ship_Request->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($epicorCustID, $QuestPageValues->getQuestUserID());
|
|
1339:
|
|
1340: $LineItems = [];
|
|
|
|
Line 1372 [match: Epicor]:
|
|
1370: * @param QuestPageValues $QuestPageValues
|
|
1371: * @param quest_EmailEventRepo $ROEmailEventRepo
|
|
>> 1372: * @param EpicorDatabase $EpicorDatabase
|
|
1373: * @param MetadataFactory $MetadataFactory
|
|
1374: * @param DataHandler $DataHandler
|
|
|
|
Line 1381 [match: Epicor]:
|
|
1379: * @throws \Throwable
|
|
1380: */
|
|
>> 1381: public function postCompleteShipment(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, ShipmentReleaseHelper $ShipmentReleaseHelper, paint_Plant $paint_PlantRepo)
|
|
1382: {
|
|
1383: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1404 [match: Epicor]:
|
|
1402:
|
|
1403: try {
|
|
>> 1404: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($ShipmentCart->getPlant());
|
|
1405: } catch(Exception $e) {
|
|
1406: Log::error('Could not complete shipment release because could not get plant emails for '.$ShipmentCart->getPlant().' ('.$ShipmentCart->getCartID().')');
|
|
|
|
Line 1470 [match: Epicor]:
|
|
1468: * @param MetadataFactory $MetadataFactory
|
|
1469: * @param DataHandler $DataHandler
|
|
>> 1470: * @param EpicorDatabase $EpicorDatabase
|
|
1471: * @return \Illuminate\Http\JsonResponse
|
|
1472: * @throws \Savvior\Data\DataHandlerException
|
|
|
|
Line 1474 [match: Epicor]:
|
|
1472: * @throws \Savvior\Data\DataHandlerException
|
|
1473: */
|
|
>> 1474: public function postAddShipmentItem(ShipmentCart $ShipmentCart, ship_RequestRepo $ROShipmentRequestRepo, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, EpicorDatabase $EpicorDatabase)
|
|
1475: {
|
|
1476: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1479 [match: Epicor]:
|
|
1477: abort(500, 'There is no active shipment release');
|
|
1478:
|
|
>> 1479: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1480: $PartNum = base64_decode(request()->route()->parameter('part'));
|
|
1481: $Plant = base64_decode(request()->route()->parameter('plant'));
|
|
|
|
Line 1488 [match: Epicor]:
|
|
1486: $Skid = base64_decode(request()->input('skid'));
|
|
1487:
|
|
>> 1488: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($epicorCustID,$PartNum);
|
|
1489:
|
|
1490: if(is_null($LotNum) || is_null($OnHandQuantity))
|
|
|
|
Line 1501 [match: Epicor]:
|
|
1499: abort(500, 'This item is already in your current shipment release');
|
|
1500: }
|
|
>> 1501: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
1502: {
|
|
1503: abort(500, 'This item is already part of another shipment release for this customer');
|
|
|
|
Line 1524 [match: Epicor]:
|
|
1522: $DataHandler->commitTransaction();
|
|
1523: } catch (Exception $e) {
|
|
>> 1524: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1525: abort(500, 'There was an unexpected error adding this item to your shipment. Please try again.');
|
|
1526: }
|
|
|
|
Line 1571 [match: Epicor]:
|
|
1569: /**
|
|
1570: * @param quest_EmailEventRepo $ROEmailEventRepo
|
|
>> 1571: * @param EpicorDatabase $EpicorDatabase
|
|
1572: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1573: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1576 [match: Epicor]:
|
|
1574: * @return \Illuminate\Http\JsonResponse
|
|
1575: */
|
|
>> 1576: public function postShipToAddressInquiry(quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1577: {
|
|
1578: $EmailInquiryTo = $ROEmailEventRepo->getEmailsForActiveQuestUsersThatReceiveEmailEvent('SHIP_TO_ADDRESS_INQUIRY');
|
|
|
|
Line 1591 [match: Epicor]:
|
|
1589: abort(500, 'Invalid inquiry type provided');
|
|
1590:
|
|
>> 1591: if(($Type == 'edit' || $Type == 'delete') && (is_null($ShipToNum = $ID) || is_null($ShipToInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum))))
|
|
1592: abort(500,'The ship to address for your inquiry no longer exists.' );
|
|
1593:
|
|
|
|
Line 1619 [match: Epicor]:
|
|
1617:
|
|
1618: /**
|
|
>> 1619: * @param EpicorDatabase $EpicorDatabase
|
|
1620: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1621: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1624 [match: Epicor]:
|
|
1622: * @return \Illuminate\Http\JsonResponse
|
|
1623: */
|
|
>> 1624: public function getOpenOrders(EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1625: {
|
|
1626: $OpenOrders = $EpicorDatabase->getJobStatusByPlanByCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
|
|
Line 1626 [match: Epicor]:
|
|
1624: public function getOpenOrders(EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1625: {
|
|
>> 1626: $OpenOrders = $EpicorDatabase->getJobStatusByPlanByCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
1627:
|
|
1628: return response()->json([
|
|
|
|
Line 1765 [match: Epicor]:
|
|
1763: /** @var \App\Model\Entities\inv_UploadEntry[] $inv_UploadEntry */
|
|
1764: $inv_UploadEntry = $inv_UploadEntryRepo
|
|
>> 1765: ->getAllInvoicesForCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
1766:
|
|
1767: $results = [];
|
|
|
|
Line 1792 [match: Epicor]:
|
|
1790: 'SentDate' => !is_null($inv_UploadEntryItem->getSentDT()) ? $inv_UploadEntryItem->getSentDT()->format('m/d/Y') : '',
|
|
1791: 'Paid' => $inv_UploadEntryItem->getEpiInvcHead()->getOpenInvoice(),
|
|
>> 1792: 'DownloadLink' => action('API\WebAppAPI@downloadInvoice', [$SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), encrypt($inv_UploadEntryItem->getID())])
|
|
1793: ];
|
|
1794: }
|
|
|
|
Line 1886 [match: Epicor]:
|
|
1884: private function _BOLContent($bolNum, $isLastPage=true)
|
|
1885: {
|
|
>> 1886: /** @var EpicorDatabase $epicore */
|
|
1887: $epicore = app(EpicorDatabase::class);
|
|
1888: $bolData = $epicore->getBOL($bolNum);
|
|
|
|
Line 1887 [match: Epicor]:
|
|
1885: {
|
|
1886: /** @var EpicorDatabase $epicore */
|
|
>> 1887: $epicore = app(EpicorDatabase::class);
|
|
1888: $bolData = $epicore->getBOL($bolNum);
|
|
1889: $byPacker = [];
|
|
|
|
Line 1888 [match: Epicor]:
|
|
1886: /** @var EpicorDatabase $epicore */
|
|
1887: $epicore = app(EpicorDatabase::class);
|
|
>> 1888: $bolData = $epicore->getBOL($bolNum);
|
|
1889: $byPacker = [];
|
|
1890:
|
|
|
|
Line 1903 [match: Epicor]:
|
|
1901: }
|
|
1902:
|
|
>> 1903: public function getOrdersPdf(SelectedCompanyProvider $comp, EpicorDatabase $EpicorDatabase)
|
|
1904: {
|
|
1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
|
|
Line 1905 [match: Epicor]:
|
|
1903: public function getOrdersPdf(SelectedCompanyProvider $comp, EpicorDatabase $EpicorDatabase)
|
|
1904: {
|
|
>> 1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
1906: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1907: $fileName = "JobStatusByPlantByCustomer-" . date("m-d-Y") . ".pdf";
|
|
|
|
Line 1906 [match: Epicor]:
|
|
1904: {
|
|
1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
>> 1906: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1907: $fileName = "JobStatusByPlantByCustomer-" . date("m-d-Y") . ".pdf";
|
|
1908:
|
|
|
|
Line 18 [match: EPICOR]:
|
|
16: use App\Notifications\ShipmentReleaseRequestCancellation;
|
|
17: use App\Notifications\ShipToAddressInquiry;
|
|
>> 18: use App\Services\EpicorDatabase;
|
|
19: use App\Services\HistoricalShipmentCart;
|
|
20: use App\Services\PaintScheduleService;
|
|
|
|
Line 169 [match: EPICOR]:
|
|
167: /** @var quest_Company $Company */
|
|
168: $Company = app(quest_Company::class);
|
|
>> 169: /** @var EpicorDatabase $EpicorDB */
|
|
170: $EpicorDB = app(EpicorDatabase::class);
|
|
171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 170 [match: EPICOR]:
|
|
168: $Company = app(quest_Company::class);
|
|
169: /** @var EpicorDatabase $EpicorDB */
|
|
>> 170: $EpicorDB = app(EpicorDatabase::class);
|
|
171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
172:
|
|
|
|
Line 171 [match: EPICOR]:
|
|
169: /** @var EpicorDatabase $EpicorDB */
|
|
170: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 171: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
172:
|
|
173: // get notifications
|
|
|
|
Line 184 [match: EPICOR]:
|
|
182:
|
|
183: // get shipments data
|
|
>> 184: $shipments_results = $EpicorDB->getTop5ShipmentsData($epicorCustID);
|
|
185: $shipments = array();
|
|
186: // rename to match json expected
|
|
|
|
Line 214 [match: EPICOR]:
|
|
212:
|
|
213: // get the recent production orders
|
|
>> 214: $production_results = $EpicorDB->getTop5OrdersData($epicorCustID);
|
|
215: $production = array();
|
|
216:
|
|
|
|
Line 276 [match: EPICOR]:
|
|
274: {
|
|
275: // variable init
|
|
>> 276: /** @var EpicorDatabase $EpicorDB */
|
|
277: $EpicorDB = app(EpicorDatabase::class);
|
|
278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 277 [match: EPICOR]:
|
|
275: // variable init
|
|
276: /** @var EpicorDatabase $EpicorDB */
|
|
>> 277: $EpicorDB = app(EpicorDatabase::class);
|
|
278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
279: $type = request()->route()->parameter('type');
|
|
|
|
Line 278 [match: EPICOR]:
|
|
276: /** @var EpicorDatabase $EpicorDB */
|
|
277: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 278: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
279: $type = request()->route()->parameter('type');
|
|
280: $raw_data = null;
|
|
|
|
Line 288 [match: EPICOR]:
|
|
286: {
|
|
287: case "unprocessed":
|
|
>> 288: $raw_data = $EpicorDB->getInventoryUnprocessedSummaryData($epicorCustID);
|
|
289: $source = "portal_UnprocessedInventorySummary";
|
|
290: break;
|
|
|
|
Line 293 [match: EPICOR]:
|
|
291:
|
|
292: case "unprocessedrr":
|
|
>> 293: $raw_data = $EpicorDB->getInventoryUnprocessedRRSummaryData($epicorCustID);
|
|
294: $source = "portal_UnprocessedInventoryRejectsAndReturnsSummary";
|
|
295: break;
|
|
|
|
Line 298 [match: EPICOR]:
|
|
296:
|
|
297: case 'wip':
|
|
>> 298: $raw_data = $EpicorDB->getInventoryWorkInProgressSummaryData($epicorCustID);
|
|
299: $source = 'portal_WorkInProgressInventorySummary';
|
|
300: break;
|
|
|
|
Line 303 [match: EPICOR]:
|
|
301:
|
|
302: case "fg":
|
|
>> 303: $raw_data = $EpicorDB->getInventoryFinishedGoodsSummaryData($epicorCustID);
|
|
304: $source = "portal_ProcessedInventorySummary";
|
|
305: break;
|
|
|
|
Line 308 [match: EPICOR]:
|
|
306:
|
|
307: case 'processedother':
|
|
>> 308: $raw_data = $EpicorDB->getInventoryProcessedOtherSummaryData($epicorCustID);
|
|
309: $source = "portal_ProcessedOtherInventorySummary";
|
|
310: break;
|
|
|
|
Line 313 [match: EPICOR]:
|
|
311:
|
|
312: case "processedrr":
|
|
>> 313: $raw_data = $EpicorDB->getInventoryProcessedRRSummaryData($epicorCustID);
|
|
314: $source = "portal_ProcessedInventoryRejectsAndReturnsSummary";
|
|
315: break;
|
|
|
|
Line 353 [match: EPICOR]:
|
|
351: /**
|
|
352: * @return \Illuminate\Http\JsonResponse
|
|
>> 353: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
354: */
|
|
355: public function inventoryDetails() {
|
|
|
|
Line 361 [match: EPICOR]:
|
|
359:
|
|
360: // variable init
|
|
>> 361: /** @var EpicorDatabase $EpicorDB */
|
|
362: $EpicorDB = app(EpicorDatabase::class);
|
|
363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 362 [match: EPICOR]:
|
|
360: // variable init
|
|
361: /** @var EpicorDatabase $EpicorDB */
|
|
>> 362: $EpicorDB = app(EpicorDatabase::class);
|
|
363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
364: $encodedID = request()->isMethod('post') ? request()->input('id') : request()->route()->parameter('id');
|
|
|
|
Line 363 [match: EPICOR]:
|
|
361: /** @var EpicorDatabase $EpicorDB */
|
|
362: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 363: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
364: $encodedID = request()->isMethod('post') ? request()->input('id') : request()->route()->parameter('id');
|
|
365: $type = "";
|
|
|
|
Line 384 [match: EPICOR]:
|
|
382: {
|
|
383: case "portal_UnprocessedInventorySummary":
|
|
>> 384: $inventory_details_data = $EpicorDB->getInventoryUnprocessedDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
385: $header_details_data = $EpicorDB->getInventoryUnprocessedSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
386: $type = "Unprocessed";
|
|
|
|
Line 385 [match: EPICOR]:
|
|
383: case "portal_UnprocessedInventorySummary":
|
|
384: $inventory_details_data = $EpicorDB->getInventoryUnprocessedDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 385: $header_details_data = $EpicorDB->getInventoryUnprocessedSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
386: $type = "Unprocessed";
|
|
387: break;
|
|
|
|
Line 389 [match: EPICOR]:
|
|
387: break;
|
|
388: case "portal_UnprocessedInventoryRejectsAndReturnsSummary":
|
|
>> 389: $inventory_details_data = $EpicorDB->getInventoryUnprocessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
390: $header_details_data = $EpicorDB->getInventoryUnprocessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
391: $type = "Unprocessed (Rejects / Returns)";
|
|
|
|
Line 390 [match: EPICOR]:
|
|
388: case "portal_UnprocessedInventoryRejectsAndReturnsSummary":
|
|
389: $inventory_details_data = $EpicorDB->getInventoryUnprocessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 390: $header_details_data = $EpicorDB->getInventoryUnprocessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
391: $type = "Unprocessed (Rejects / Returns)";
|
|
392: break;
|
|
|
|
Line 394 [match: EPICOR]:
|
|
392: break;
|
|
393: case 'portal_WorkInProgressInventorySummary':
|
|
>> 394: $inventory_details_data = $EpicorDB->getInventoryWorkInProgressDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
395: $header_details_data = $EpicorDB->getInventoryWorkInProgressSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
396: $type = "Work In Progress";
|
|
|
|
Line 395 [match: EPICOR]:
|
|
393: case 'portal_WorkInProgressInventorySummary':
|
|
394: $inventory_details_data = $EpicorDB->getInventoryWorkInProgressDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 395: $header_details_data = $EpicorDB->getInventoryWorkInProgressSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
396: $type = "Work In Progress";
|
|
397: break;
|
|
|
|
Line 399 [match: EPICOR]:
|
|
397: break;
|
|
398: case "portal_FinishedGoodsInventorySummary":
|
|
>> 399: $inventory_details_data = $EpicorDB->getInventoryFinishedGoodsDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
400: $header_details_data = $EpicorDB->getInventoryFinishedGoodsSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
401: $type = "Finished Goods";
|
|
|
|
Line 400 [match: EPICOR]:
|
|
398: case "portal_FinishedGoodsInventorySummary":
|
|
399: $inventory_details_data = $EpicorDB->getInventoryFinishedGoodsDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 400: $header_details_data = $EpicorDB->getInventoryFinishedGoodsSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
401: $type = "Finished Goods";
|
|
402: break;
|
|
|
|
Line 404 [match: EPICOR]:
|
|
402: break;
|
|
403: case "portal_ProcessedOtherInventorySummary":
|
|
>> 404: $inventory_details_data = $EpicorDB->getInventoryProcessedOtherDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
405: $header_details_data = $EpicorDB->getInventoryProcessedOtherSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
406: $type = "Processed - Other";
|
|
|
|
Line 405 [match: EPICOR]:
|
|
403: case "portal_ProcessedOtherInventorySummary":
|
|
404: $inventory_details_data = $EpicorDB->getInventoryProcessedOtherDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 405: $header_details_data = $EpicorDB->getInventoryProcessedOtherSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
406: $type = "Processed - Other";
|
|
407: break;
|
|
|
|
Line 409 [match: EPICOR]:
|
|
407: break;
|
|
408: case "portal_ProcessedInventoryRejectsAndReturnsSummary":
|
|
>> 409: $inventory_details_data = $EpicorDB->getInventoryProcessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
410: $header_details_data = $EpicorDB->getInventoryProcessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
411: $type = "Processed (Rejects / Returns)";
|
|
|
|
Line 410 [match: EPICOR]:
|
|
408: case "portal_ProcessedInventoryRejectsAndReturnsSummary":
|
|
409: $inventory_details_data = $EpicorDB->getInventoryProcessedRRDetailsData($epicorCustID, $partNum, $plant, $warehouse);
|
|
>> 410: $header_details_data = $EpicorDB->getInventoryProcessedRRSummaryData_Details($epicorCustID, $partNum, $plant, $warehouse);
|
|
411: $type = "Processed (Rejects / Returns)";
|
|
412: break;
|
|
|
|
Line 488 [match: EPICOR]:
|
|
486:
|
|
487: // variable init
|
|
>> 488: /** @var EpicorDatabase $EpicorDB */
|
|
489: $EpicorDB = app(EpicorDatabase::class);
|
|
490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 489 [match: EPICOR]:
|
|
487: // variable init
|
|
488: /** @var EpicorDatabase $EpicorDB */
|
|
>> 489: $EpicorDB = app(EpicorDatabase::class);
|
|
490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
|
|
Line 490 [match: EPICOR]:
|
|
488: /** @var EpicorDatabase $EpicorDB */
|
|
489: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 490: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
492:
|
|
|
|
Line 493 [match: EPICOR]:
|
|
491: $jobNumber = request()->route()->parameter('job_number');
|
|
492:
|
|
>> 493: $coil_by_coil_results = $EpicorDB->getCoilByCoil($jobNumber, $epicorCustID);
|
|
494:
|
|
495: // format as json expected
|
|
|
|
Line 532 [match: EPICOR]:
|
|
530: public function getCoilByCoilPdf(Request $request)
|
|
531: {
|
|
>> 532: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
533: $job_num = $request->route()->parameter('job_num');
|
|
534:
|
|
|
|
Line 538 [match: EPICOR]:
|
|
536: $job_num = base64_decode($job_num);
|
|
537:
|
|
>> 538: /** @var EpicorDatabase $epicore */
|
|
539: $epicore = app(EpicorDatabase::class);
|
|
540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
|
|
Line 539 [match: EPICOR]:
|
|
537:
|
|
538: /** @var EpicorDatabase $epicore */
|
|
>> 539: $epicore = app(EpicorDatabase::class);
|
|
540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
541:
|
|
|
|
Line 540 [match: EPICOR]:
|
|
538: /** @var EpicorDatabase $epicore */
|
|
539: $epicore = app(EpicorDatabase::class);
|
|
>> 540: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$epicorCustID);
|
|
541:
|
|
542: $PartHeaders =[];
|
|
|
|
Line 850 [match: EPICOR]:
|
|
848: /** @var \App\Model\Entities\paint_PlantLine $PaintLine */
|
|
849: foreach ($PaintPlant->getPaintPlantLine() AS $PaintLine)
|
|
>> 850: $Lines[$PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey(), 'name' => $PaintLine->getPaintLine()->getName(), 'category' => $PaintLine->getPaintLine()->getPaintLineType()->getType()];
|
|
851: array_multisort(array_map(function($element) {
|
|
852: return $element['name'];
|
|
|
|
Line 855 [match: EPICOR]:
|
|
853: }, $Lines), SORT_ASC, $Lines);
|
|
854:
|
|
>> 855: $plants[$PaintPlant->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey(), 'offset' => $PaintPlant->getTimeZoneModifier(), 'can_edit' => isset($PlantEditAccess[$PaintPlant->getEpicorKey()]), 'name' => $PaintPlant->getName(), 'lines' => $Lines];
|
|
856: }
|
|
857:
|
|
|
|
Line 874 [match: EPICOR]:
|
|
872:
|
|
873: // variable init
|
|
>> 874: /** @var EpicorDatabase $EpicorDB */
|
|
875: $EpicorDB = app(EpicorDatabase::class);
|
|
876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 875 [match: EPICOR]:
|
|
873: // variable init
|
|
874: /** @var EpicorDatabase $EpicorDB */
|
|
>> 875: $EpicorDB = app(EpicorDatabase::class);
|
|
876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
877: $startDate = request()->route()->parameter('start');
|
|
|
|
Line 876 [match: EPICOR]:
|
|
874: /** @var EpicorDatabase $EpicorDB */
|
|
875: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 876: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
877: $startDate = request()->route()->parameter('start');
|
|
878: $endDate = request()->route()->parameter('end');
|
|
|
|
Line 881 [match: EPICOR]:
|
|
879:
|
|
880: // get the coil activity data
|
|
>> 881: $usages_data = $EpicorDB->getCoilActivityUsageData($epicorCustID, $startDate, $endDate);
|
|
882: $usages = array();
|
|
883:
|
|
|
|
Line 904 [match: EPICOR]:
|
|
902: return response()->json([
|
|
903: 'usages' => $usages,
|
|
>> 904: 'id' => $epicorCustID,
|
|
905: 'start' => $startDate,
|
|
906: 'end' => $endDate
|
|
|
|
Line 918 [match: EPICOR]:
|
|
916:
|
|
917: // variable init
|
|
>> 918: /** @var EpicorDatabase $EpicorDB */
|
|
919: $EpicorDB = app(EpicorDatabase::class);
|
|
920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 919 [match: EPICOR]:
|
|
917: // variable init
|
|
918: /** @var EpicorDatabase $EpicorDB */
|
|
>> 919: $EpicorDB = app(EpicorDatabase::class);
|
|
920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
921: $startDate = request()->route()->parameter('start');//
|
|
|
|
Line 920 [match: EPICOR]:
|
|
918: /** @var EpicorDatabase $EpicorDB */
|
|
919: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 920: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
921: $startDate = request()->route()->parameter('start');//
|
|
922: $endDate = request()->route()->parameter('end');//
|
|
|
|
Line 925 [match: EPICOR]:
|
|
923:
|
|
924: // get the coil activity
|
|
>> 925: $receipts_data = $EpicorDB->getCoilActivityReceiptsData($epicorCustID, $startDate, $endDate);
|
|
926: $receipts = array();
|
|
927:
|
|
|
|
Line 951 [match: EPICOR]:
|
|
949: return response()->json([
|
|
950: 'receipts' => $receipts,
|
|
>> 951: 'id' => $epicorCustID,
|
|
952: 'start' => $startDate,
|
|
953: 'end' => $endDate
|
|
|
|
Line 967 [match: EPICOR]:
|
|
965: /** @var ship_RequestRepo $ShipRequest */
|
|
966: $ShipRequest = app(ship_RequestRepo::class);
|
|
>> 967: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
968:
|
|
969: // get the ship request data
|
|
|
|
Line 970 [match: EPICOR]:
|
|
968:
|
|
969: // get the ship request data
|
|
>> 970: $releases_data = $ShipRequest->getShipmentReleaseData($epicorCustID);
|
|
971: $releases = array();
|
|
972:
|
|
|
|
Line 992 [match: EPICOR]:
|
|
990: return response()->json([
|
|
991: 'releases' => $releases,
|
|
>> 992: 'id' => $epicorCustID
|
|
993: ]);
|
|
994: }
|
|
|
|
Line 1006 [match: EPICOR]:
|
|
1004: /** @var ship_RequestRepo $ShipRequest */
|
|
1005: $ShipRequest = app(ship_RequestRepo::class);
|
|
>> 1006: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1007:
|
|
1008: $includeIncompleteShipments = request()->exists('incomplete_shipments') ? request()->query('incomplete_shipments') : false;
|
|
|
|
Line 1013 [match: EPICOR]:
|
|
1011:
|
|
1012: /** @var ship_Request $details_data */
|
|
>> 1013: $d = $ShipRequest->getShipmentReleaseDetailsDataByID($epicorCustID, request()->route()->parameter('id'));
|
|
1014:
|
|
1015: /** @var ship_RequestRepo $ROShipmentRequestRepo */
|
|
|
|
Line 1102 [match: EPICOR]:
|
|
1100: * @param ShipmentCart $ShipmentCart
|
|
1101: * @param QuestPageValues $QuestPageValues
|
|
>> 1102: * @param EpicorDatabase $EpicorDB
|
|
1103: * @param quest_Company $CompanyRepo
|
|
1104: * @param ship_RequestRepo $ship_Request
|
|
|
|
Line 1108 [match: EPICOR]:
|
|
1106: * @throws \Doctrine\ORM\NonUniqueResultException
|
|
1107: */
|
|
>> 1108: public function getShipmentReleaseInformation(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, EpicorDatabase $EpicorDB, quest_Company $CompanyRepo, \App\Model\Repos\ship_Request $ship_Request)
|
|
1109: {
|
|
1110: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1110 [match: EPICOR]:
|
|
1108: public function getShipmentReleaseInformation(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, EpicorDatabase $EpicorDB, quest_Company $CompanyRepo, \App\Model\Repos\ship_Request $ship_Request)
|
|
1109: {
|
|
>> 1110: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1111:
|
|
1112:
|
|
|
|
Line 1117 [match: EPICOR]:
|
|
1115:
|
|
1116: /** @var \App\Model\Entities\quest_Company $Customer */
|
|
>> 1117: $Company = $CompanyRepo->findOneBy(['EpicorCustID' => $epicorCustID]);
|
|
1118:
|
|
1119: $ShipToData = $ShipmentCart->getShipToAddressData();
|
|
|
|
Line 1123 [match: EPICOR]:
|
|
1121: if($ShipToData !== null && count($ShipToData) > 0 && isset($ShipToData['ShipToNum']))
|
|
1122: {
|
|
>> 1123: $SelectedShipToAddressInfo = ShipmentCart::convertShipmentShipToAddressDataToLines($EpicorDB->getCustomerSingleShipToAddressByNum($epicorCustID, $ShipToData['ShipToNum']));
|
|
1124: }
|
|
1125:
|
|
|
|
Line 1127 [match: EPICOR]:
|
|
1125:
|
|
1126: /** @var ship_Request $Results */
|
|
>> 1127: $Results = $ship_Request->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($epicorCustID, $QuestPageValues->getQuestUserID());
|
|
1128: $TotalShipmentLbs = 0;
|
|
1129:
|
|
|
|
Line 1166 [match: EPICOR]:
|
|
1164: public function postStartShipment(ShipmentCart $ShipmentCart, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues, SelectedCompanyProvider $SelectedCompanyProvider)
|
|
1165: {
|
|
>> 1166: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1167:
|
|
1168: if(!$ShipmentCart->getIsCartAvailable())
|
|
|
|
Line 1174 [match: EPICOR]:
|
|
1172: abort(500, 'A shipment release cannot be started for this customer as there is already one in progress');
|
|
1173:
|
|
>> 1174: if(!$SelectedCompanyProvider->setSelectedCompanyEpicorCustID($epicorCustID))
|
|
1175: abort(500, 'Please select a customer before starting a shipment release');
|
|
1176:
|
|
|
|
Line 1182 [match: EPICOR]:
|
|
1180: try {
|
|
1181: $DataHandler->handleInsertUpdate([
|
|
>> 1182: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
1183: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
1184: 'OpenCartConstraint' => true,
|
|
|
|
Line 1198 [match: EPICOR]:
|
|
1196: } catch(Exception $e) {
|
|
1197:
|
|
>> 1198: Log::error('SHIPMENT REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
1199: abort(500, 'An unexpected error was encountered starting this shipment release. Please try again.');
|
|
1200:
|
|
|
|
Line 1208 [match: EPICOR]:
|
|
1206: /**
|
|
1207: * @param ShipmentCart $ShipmentCart
|
|
>> 1208: * @param EpicorDatabase $EpicorDatabase
|
|
1209: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1210: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1214 [match: EPICOR]:
|
|
1212: * @return \Illuminate\Http\JsonResponse
|
|
1213: */
|
|
>> 1214: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
1215: {
|
|
1216: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1216 [match: EPICOR]:
|
|
1214: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
1215: {
|
|
>> 1216: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1217:
|
|
1218: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1221 [match: EPICOR]:
|
|
1219: abort(500, 'This shipment release could not be started at this time');
|
|
1220:
|
|
>> 1221: $ShipToAddresses = $EpicorDatabase->getCustomerShipToAddresses($epicorCustID);
|
|
1222:
|
|
1223: $ShipToAddressLines = [];
|
|
|
|
Line 1225 [match: EPICOR]:
|
|
1223: $ShipToAddressLines = [];
|
|
1224: $ShipToAddressNums = [];
|
|
>> 1225: $CustomerName = $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getEpiName();
|
|
1226: foreach($ShipToAddresses as $ShipToAddress)
|
|
1227: {
|
|
|
|
Line 1243 [match: EPICOR]:
|
|
1241: /**
|
|
1242: * @param ShipmentCart $ShipmentCart
|
|
>> 1243: * @param EpicorDatabase $EpicorDatabase
|
|
1244: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1245: * @param MetadataFactory $MetadataFactory
|
|
|
|
Line 1251 [match: EPICOR]:
|
|
1249: * @throws \Savvior\Data\DataHandlerException
|
|
1250: */
|
|
>> 1251: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
1252: {
|
|
1253: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 1253 [match: EPICOR]:
|
|
1251: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
1252: {
|
|
>> 1253: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1254:
|
|
1255: $data = request()->all();
|
|
|
|
Line 1264 [match: EPICOR]:
|
|
1262: abort(500, 'The ship to address selected is not valid. Please try again.');
|
|
1263:
|
|
>> 1264: $SelectedShipToAddressInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum);
|
|
1265:
|
|
1266: if(is_null($SelectedShipToAddressInfo))
|
|
|
|
Line 1275 [match: EPICOR]:
|
|
1273: 'ShipToSelected' => true,
|
|
1274: 'ShipToNum' => $ShipToNum,
|
|
>> 1275: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getEpiName(),
|
|
1276: 'ShipToName' => $SelectedShipToAddressInfo['ShipToName'],
|
|
1277: 'ShipToAddress1' => $SelectedShipToAddressInfo['ShipToAddress1'],
|
|
|
|
Line 1286 [match: EPICOR]:
|
|
1284: 'LastCartActivity' => (new \DateTime()),
|
|
1285: 'quest_Company' => [
|
|
>> 1286: 'ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($epicorCustID)->getID()
|
|
1287: ],
|
|
1288: 'quest_User' => [
|
|
|
|
Line 1319 [match: EPICOR]:
|
|
1317: $DataHandler->commitTransaction();
|
|
1318: } catch(Exception $e) {
|
|
>> 1319: Log::error('SHIPMENT REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
1320: abort(500, 'An unexpected error was encountered cancelling this shipment release. Please try again.');
|
|
1321: }
|
|
|
|
Line 1335 [match: EPICOR]:
|
|
1333: public function getCompleteShipment(ShipmentCart $ShipmentCart, \App\Model\Repos\ship_Request $ship_Request, QuestPageValues $QuestPageValues)
|
|
1334: {
|
|
>> 1335: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1336:
|
|
1337: /** @var ship_Request $Results */
|
|
|
|
Line 1338 [match: EPICOR]:
|
|
1336:
|
|
1337: /** @var ship_Request $Results */
|
|
>> 1338: $Results = $ship_Request->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($epicorCustID, $QuestPageValues->getQuestUserID());
|
|
1339:
|
|
1340: $LineItems = [];
|
|
|
|
Line 1372 [match: EPICOR]:
|
|
1370: * @param QuestPageValues $QuestPageValues
|
|
1371: * @param quest_EmailEventRepo $ROEmailEventRepo
|
|
>> 1372: * @param EpicorDatabase $EpicorDatabase
|
|
1373: * @param MetadataFactory $MetadataFactory
|
|
1374: * @param DataHandler $DataHandler
|
|
|
|
Line 1381 [match: EPICOR]:
|
|
1379: * @throws \Throwable
|
|
1380: */
|
|
>> 1381: public function postCompleteShipment(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, ShipmentReleaseHelper $ShipmentReleaseHelper, paint_Plant $paint_PlantRepo)
|
|
1382: {
|
|
1383: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1404 [match: EPICOR]:
|
|
1402:
|
|
1403: try {
|
|
>> 1404: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($ShipmentCart->getPlant());
|
|
1405: } catch(Exception $e) {
|
|
1406: Log::error('Could not complete shipment release because could not get plant emails for '.$ShipmentCart->getPlant().' ('.$ShipmentCart->getCartID().')');
|
|
|
|
Line 1470 [match: EPICOR]:
|
|
1468: * @param MetadataFactory $MetadataFactory
|
|
1469: * @param DataHandler $DataHandler
|
|
>> 1470: * @param EpicorDatabase $EpicorDatabase
|
|
1471: * @return \Illuminate\Http\JsonResponse
|
|
1472: * @throws \Savvior\Data\DataHandlerException
|
|
|
|
Line 1474 [match: EPICOR]:
|
|
1472: * @throws \Savvior\Data\DataHandlerException
|
|
1473: */
|
|
>> 1474: public function postAddShipmentItem(ShipmentCart $ShipmentCart, ship_RequestRepo $ROShipmentRequestRepo, SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory, DataHandler $DataHandler, EpicorDatabase $EpicorDatabase)
|
|
1475: {
|
|
1476: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1479 [match: EPICOR]:
|
|
1477: abort(500, 'There is no active shipment release');
|
|
1478:
|
|
>> 1479: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1480: $PartNum = base64_decode(request()->route()->parameter('part'));
|
|
1481: $Plant = base64_decode(request()->route()->parameter('plant'));
|
|
|
|
Line 1488 [match: EPICOR]:
|
|
1486: $Skid = base64_decode(request()->input('skid'));
|
|
1487:
|
|
>> 1488: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($epicorCustID,$PartNum);
|
|
1489:
|
|
1490: if(is_null($LotNum) || is_null($OnHandQuantity))
|
|
|
|
Line 1501 [match: EPICOR]:
|
|
1499: abort(500, 'This item is already in your current shipment release');
|
|
1500: }
|
|
>> 1501: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
1502: {
|
|
1503: abort(500, 'This item is already part of another shipment release for this customer');
|
|
|
|
Line 1524 [match: EPICOR]:
|
|
1522: $DataHandler->commitTransaction();
|
|
1523: } catch (Exception $e) {
|
|
>> 1524: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1525: abort(500, 'There was an unexpected error adding this item to your shipment. Please try again.');
|
|
1526: }
|
|
|
|
Line 1571 [match: EPICOR]:
|
|
1569: /**
|
|
1570: * @param quest_EmailEventRepo $ROEmailEventRepo
|
|
>> 1571: * @param EpicorDatabase $EpicorDatabase
|
|
1572: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1573: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1576 [match: EPICOR]:
|
|
1574: * @return \Illuminate\Http\JsonResponse
|
|
1575: */
|
|
>> 1576: public function postShipToAddressInquiry(quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1577: {
|
|
1578: $EmailInquiryTo = $ROEmailEventRepo->getEmailsForActiveQuestUsersThatReceiveEmailEvent('SHIP_TO_ADDRESS_INQUIRY');
|
|
|
|
Line 1591 [match: EPICOR]:
|
|
1589: abort(500, 'Invalid inquiry type provided');
|
|
1590:
|
|
>> 1591: if(($Type == 'edit' || $Type == 'delete') && (is_null($ShipToNum = $ID) || is_null($ShipToInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum))))
|
|
1592: abort(500,'The ship to address for your inquiry no longer exists.' );
|
|
1593:
|
|
|
|
Line 1619 [match: EPICOR]:
|
|
1617:
|
|
1618: /**
|
|
>> 1619: * @param EpicorDatabase $EpicorDatabase
|
|
1620: * @param SelectedCompanyProvider $SelectedCompanyProvider
|
|
1621: * @param QuestPageValues $QuestPageValues
|
|
|
|
Line 1624 [match: EPICOR]:
|
|
1622: * @return \Illuminate\Http\JsonResponse
|
|
1623: */
|
|
>> 1624: public function getOpenOrders(EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1625: {
|
|
1626: $OpenOrders = $EpicorDatabase->getJobStatusByPlanByCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
|
|
Line 1626 [match: EPICOR]:
|
|
1624: public function getOpenOrders(EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1625: {
|
|
>> 1626: $OpenOrders = $EpicorDatabase->getJobStatusByPlanByCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
1627:
|
|
1628: return response()->json([
|
|
|
|
Line 1765 [match: EPICOR]:
|
|
1763: /** @var \App\Model\Entities\inv_UploadEntry[] $inv_UploadEntry */
|
|
1764: $inv_UploadEntry = $inv_UploadEntryRepo
|
|
>> 1765: ->getAllInvoicesForCustomer($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
1766:
|
|
1767: $results = [];
|
|
|
|
Line 1792 [match: EPICOR]:
|
|
1790: 'SentDate' => !is_null($inv_UploadEntryItem->getSentDT()) ? $inv_UploadEntryItem->getSentDT()->format('m/d/Y') : '',
|
|
1791: 'Paid' => $inv_UploadEntryItem->getEpiInvcHead()->getOpenInvoice(),
|
|
>> 1792: 'DownloadLink' => action('API\WebAppAPI@downloadInvoice', [$SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), encrypt($inv_UploadEntryItem->getID())])
|
|
1793: ];
|
|
1794: }
|
|
|
|
Line 1886 [match: EPICOR]:
|
|
1884: private function _BOLContent($bolNum, $isLastPage=true)
|
|
1885: {
|
|
>> 1886: /** @var EpicorDatabase $epicore */
|
|
1887: $epicore = app(EpicorDatabase::class);
|
|
1888: $bolData = $epicore->getBOL($bolNum);
|
|
|
|
Line 1887 [match: EPICOR]:
|
|
1885: {
|
|
1886: /** @var EpicorDatabase $epicore */
|
|
>> 1887: $epicore = app(EpicorDatabase::class);
|
|
1888: $bolData = $epicore->getBOL($bolNum);
|
|
1889: $byPacker = [];
|
|
|
|
Line 1888 [match: EPICOR]:
|
|
1886: /** @var EpicorDatabase $epicore */
|
|
1887: $epicore = app(EpicorDatabase::class);
|
|
>> 1888: $bolData = $epicore->getBOL($bolNum);
|
|
1889: $byPacker = [];
|
|
1890:
|
|
|
|
Line 1903 [match: EPICOR]:
|
|
1901: }
|
|
1902:
|
|
>> 1903: public function getOrdersPdf(SelectedCompanyProvider $comp, EpicorDatabase $EpicorDatabase)
|
|
1904: {
|
|
1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
|
|
Line 1905 [match: EPICOR]:
|
|
1903: public function getOrdersPdf(SelectedCompanyProvider $comp, EpicorDatabase $EpicorDatabase)
|
|
1904: {
|
|
>> 1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
1906: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1907: $fileName = "JobStatusByPlantByCustomer-" . date("m-d-Y") . ".pdf";
|
|
|
|
Line 1906 [match: EPICOR]:
|
|
1904: {
|
|
1905: $customer = $comp->getSelectedCompanyEpicorCustID();
|
|
>> 1906: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1907: $fileName = "JobStatusByPlantByCustomer-" . date("m-d-Y") . ".pdf";
|
|
1908:
|
|
|
|
Line 1008 [match: ->query(]:
|
|
1006: $epicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
1007:
|
|
>> 1008: $includeIncompleteShipments = request()->exists('incomplete_shipments') ? request()->query('incomplete_shipments') : false;
|
|
1009:
|
|
1010: // get the ship request release details data
|
|
|
|
Line 1584 [match: ->query(]:
|
|
1582: $ShipToNum = null;
|
|
1583: $ShipToInfo = null;
|
|
>> 1584: $Type = request()->query('type');
|
|
1585: $ID = request()->query('id');
|
|
1586: $Inquiry = request()->query('inquiry');
|
|
|
|
Line 1585 [match: ->query(]:
|
|
1583: $ShipToInfo = null;
|
|
1584: $Type = request()->query('type');
|
|
>> 1585: $ID = request()->query('id');
|
|
1586: $Inquiry = request()->query('inquiry');
|
|
1587:
|
|
|
|
Line 1586 [match: ->query(]:
|
|
1584: $Type = request()->query('type');
|
|
1585: $ID = request()->query('id');
|
|
>> 1586: $Inquiry = request()->query('inquiry');
|
|
1587:
|
|
1588: if(!in_array($Type, ['add','edit','delete']))
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Auth\RequestVerificationController.php
|
|
================================================================================
|
|
Line 17 [match: FROM ]:
|
|
15: | This controller is responsible for handling account verification request
|
|
16: | emails and includes a trait which assists in sending these notifications
|
|
>> 17: | from your application to your users. Feel free to explore this trait.
|
|
18: |
|
|
19: */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\ApCheckProcessingController.php
|
|
================================================================================
|
|
Line 341 [match: SELECT ]:
|
|
339:
|
|
340: if(is_null($excel)) {
|
|
>> 341: return redirect()->back()->withErrors(['You must select an excel file.']);
|
|
342: }
|
|
343:
|
|
|
|
Line 10 [match: epicor]:
|
|
8: use App\Model\Repos\finance_ApCheckProcessingStatus;
|
|
9: use App\Services\APCheckProcessingService;
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\QuestPageValues;
|
|
12: use Carbon\Carbon;
|
|
|
|
Line 133 [match: epicor]:
|
|
131: MetadataFactory $metadataFactory,
|
|
132: finance_ApCheckProcessingStatus $checkProcessingStatusesRepo,
|
|
>> 133: EpicorDatabase $epicorDatabase,
|
|
134: APCheckProcessingService $apCheckProcessingService
|
|
135: )
|
|
|
|
Line 254 [match: epicor]:
|
|
252: 'finance_ApCheckProcessingStatus' => ['ID' => $status->getID()]
|
|
253: ], $metadataFactory->getEntity('finance_ApCheckProcessingBatch'));
|
|
>> 254: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchID));
|
|
255: $dataHandler->commitTransaction();
|
|
256:
|
|
|
|
Line 393 [match: epicor]:
|
|
391: $csvArray = unserialize($returnInfo->csvSerialized);
|
|
392:
|
|
>> 393: /** @var EpicorDatabase $EpicorDatabase */
|
|
394: $epicorDatabase = app(EpicorDatabase::class);
|
|
395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
|
|
Line 394 [match: epicor]:
|
|
392:
|
|
393: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 394: $epicorDatabase = app(EpicorDatabase::class);
|
|
395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
396:
|
|
|
|
Line 395 [match: epicor]:
|
|
393: /** @var EpicorDatabase $EpicorDatabase */
|
|
394: $epicorDatabase = app(EpicorDatabase::class);
|
|
>> 395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
396:
|
|
397: return redirect()->action('Quest\Admin\ApCheckProcessingController@getIndex')->with('success', 'You have successfully started AP check processing group id ' . $batch->getGroupID() . '.');
|
|
|
|
Line 10 [match: Epicor]:
|
|
8: use App\Model\Repos\finance_ApCheckProcessingStatus;
|
|
9: use App\Services\APCheckProcessingService;
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\QuestPageValues;
|
|
12: use Carbon\Carbon;
|
|
|
|
Line 133 [match: Epicor]:
|
|
131: MetadataFactory $metadataFactory,
|
|
132: finance_ApCheckProcessingStatus $checkProcessingStatusesRepo,
|
|
>> 133: EpicorDatabase $epicorDatabase,
|
|
134: APCheckProcessingService $apCheckProcessingService
|
|
135: )
|
|
|
|
Line 254 [match: Epicor]:
|
|
252: 'finance_ApCheckProcessingStatus' => ['ID' => $status->getID()]
|
|
253: ], $metadataFactory->getEntity('finance_ApCheckProcessingBatch'));
|
|
>> 254: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchID));
|
|
255: $dataHandler->commitTransaction();
|
|
256:
|
|
|
|
Line 393 [match: Epicor]:
|
|
391: $csvArray = unserialize($returnInfo->csvSerialized);
|
|
392:
|
|
>> 393: /** @var EpicorDatabase $EpicorDatabase */
|
|
394: $epicorDatabase = app(EpicorDatabase::class);
|
|
395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
|
|
Line 394 [match: Epicor]:
|
|
392:
|
|
393: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 394: $epicorDatabase = app(EpicorDatabase::class);
|
|
395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
396:
|
|
|
|
Line 395 [match: Epicor]:
|
|
393: /** @var EpicorDatabase $EpicorDatabase */
|
|
394: $epicorDatabase = app(EpicorDatabase::class);
|
|
>> 395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
396:
|
|
397: return redirect()->action('Quest\Admin\ApCheckProcessingController@getIndex')->with('success', 'You have successfully started AP check processing group id ' . $batch->getGroupID() . '.');
|
|
|
|
Line 10 [match: EPICOR]:
|
|
8: use App\Model\Repos\finance_ApCheckProcessingStatus;
|
|
9: use App\Services\APCheckProcessingService;
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\QuestPageValues;
|
|
12: use Carbon\Carbon;
|
|
|
|
Line 133 [match: EPICOR]:
|
|
131: MetadataFactory $metadataFactory,
|
|
132: finance_ApCheckProcessingStatus $checkProcessingStatusesRepo,
|
|
>> 133: EpicorDatabase $epicorDatabase,
|
|
134: APCheckProcessingService $apCheckProcessingService
|
|
135: )
|
|
|
|
Line 254 [match: EPICOR]:
|
|
252: 'finance_ApCheckProcessingStatus' => ['ID' => $status->getID()]
|
|
253: ], $metadataFactory->getEntity('finance_ApCheckProcessingBatch'));
|
|
>> 254: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchID));
|
|
255: $dataHandler->commitTransaction();
|
|
256:
|
|
|
|
Line 393 [match: EPICOR]:
|
|
391: $csvArray = unserialize($returnInfo->csvSerialized);
|
|
392:
|
|
>> 393: /** @var EpicorDatabase $EpicorDatabase */
|
|
394: $epicorDatabase = app(EpicorDatabase::class);
|
|
395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
|
|
Line 394 [match: EPICOR]:
|
|
392:
|
|
393: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 394: $epicorDatabase = app(EpicorDatabase::class);
|
|
395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
396:
|
|
|
|
Line 395 [match: EPICOR]:
|
|
393: /** @var EpicorDatabase $EpicorDatabase */
|
|
394: $epicorDatabase = app(EpicorDatabase::class);
|
|
>> 395: $epicorDatabase->processCSVArray($csvArray, $apCheckProcessingService->getCsvOutputFilePath($batchObj->getID()));
|
|
396:
|
|
397: return redirect()->action('Quest\Admin\ApCheckProcessingController@getIndex')->with('success', 'You have successfully started AP check processing group id ' . $batch->getGroupID() . '.');
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\CoilAllocationRequestController.php
|
|
================================================================================
|
|
Line 8 [match: epicor]:
|
|
6: use App\Services\CoilAllocation\AllocCart;
|
|
7: use App\Services\CoilAllocationHelper;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use App\Services\FakeShipmentCart;
|
|
|
|
Line 9 [match: epicor]:
|
|
7: use App\Services\CoilAllocationHelper;
|
|
8: use App\Services\EpicorDatabase;
|
|
>> 9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use App\Services\FakeShipmentCart;
|
|
11: use App\Services\OrderHelper;
|
|
|
|
Line 273 [match: epicor]:
|
|
271:
|
|
272: } catch (Exception $e) {
|
|
>> 273: \Log::error('ADMIN ADDING ITEM TO ALLOCATION ('.$alloc_Request->getQuestCompany()->getEpicorCustID().','.$alloc_Request->getID().'): '.$e->getMessage());
|
|
274: \Log::error($e->getFile().":: ".$e->getLine());
|
|
275: \Log::error($e->getTraceAsString());
|
|
|
|
Line 302 [match: epicor]:
|
|
300: // dd($data);
|
|
301:
|
|
>> 302: /** @var EpicorDatabase $EpicorDB */
|
|
303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
|
|
Line 303 [match: epicor]:
|
|
301:
|
|
302: /** @var EpicorDatabase $EpicorDB */
|
|
>> 303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
305: $Data = $EpicorDB->getCoilAllocationsByJobNumber($allocRequest->getJobNum());
|
|
|
|
Line 305 [match: epicor]:
|
|
303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
>> 305: $Data = $EpicorDB->getCoilAllocationsByJobNumber($allocRequest->getJobNum());
|
|
306: /** @var AllocCart $AllocCart */
|
|
307: $AllocCart = app(AllocCart::class);
|
|
|
|
Line 8 [match: Epicor]:
|
|
6: use App\Services\CoilAllocation\AllocCart;
|
|
7: use App\Services\CoilAllocationHelper;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use App\Services\FakeShipmentCart;
|
|
|
|
Line 9 [match: Epicor]:
|
|
7: use App\Services\CoilAllocationHelper;
|
|
8: use App\Services\EpicorDatabase;
|
|
>> 9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use App\Services\FakeShipmentCart;
|
|
11: use App\Services\OrderHelper;
|
|
|
|
Line 273 [match: Epicor]:
|
|
271:
|
|
272: } catch (Exception $e) {
|
|
>> 273: \Log::error('ADMIN ADDING ITEM TO ALLOCATION ('.$alloc_Request->getQuestCompany()->getEpicorCustID().','.$alloc_Request->getID().'): '.$e->getMessage());
|
|
274: \Log::error($e->getFile().":: ".$e->getLine());
|
|
275: \Log::error($e->getTraceAsString());
|
|
|
|
Line 302 [match: Epicor]:
|
|
300: // dd($data);
|
|
301:
|
|
>> 302: /** @var EpicorDatabase $EpicorDB */
|
|
303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
|
|
Line 303 [match: Epicor]:
|
|
301:
|
|
302: /** @var EpicorDatabase $EpicorDB */
|
|
>> 303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
305: $Data = $EpicorDB->getCoilAllocationsByJobNumber($allocRequest->getJobNum());
|
|
|
|
Line 305 [match: Epicor]:
|
|
303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
>> 305: $Data = $EpicorDB->getCoilAllocationsByJobNumber($allocRequest->getJobNum());
|
|
306: /** @var AllocCart $AllocCart */
|
|
307: $AllocCart = app(AllocCart::class);
|
|
|
|
Line 8 [match: EPICOR]:
|
|
6: use App\Services\CoilAllocation\AllocCart;
|
|
7: use App\Services\CoilAllocationHelper;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use App\Services\FakeShipmentCart;
|
|
|
|
Line 9 [match: EPICOR]:
|
|
7: use App\Services\CoilAllocationHelper;
|
|
8: use App\Services\EpicorDatabase;
|
|
>> 9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use App\Services\FakeShipmentCart;
|
|
11: use App\Services\OrderHelper;
|
|
|
|
Line 273 [match: EPICOR]:
|
|
271:
|
|
272: } catch (Exception $e) {
|
|
>> 273: \Log::error('ADMIN ADDING ITEM TO ALLOCATION ('.$alloc_Request->getQuestCompany()->getEpicorCustID().','.$alloc_Request->getID().'): '.$e->getMessage());
|
|
274: \Log::error($e->getFile().":: ".$e->getLine());
|
|
275: \Log::error($e->getTraceAsString());
|
|
|
|
Line 302 [match: EPICOR]:
|
|
300: // dd($data);
|
|
301:
|
|
>> 302: /** @var EpicorDatabase $EpicorDB */
|
|
303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
|
|
Line 303 [match: EPICOR]:
|
|
301:
|
|
302: /** @var EpicorDatabase $EpicorDB */
|
|
>> 303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
305: $Data = $EpicorDB->getCoilAllocationsByJobNumber($allocRequest->getJobNum());
|
|
|
|
Line 305 [match: EPICOR]:
|
|
303: $EpicorDB = app(EpicorDatabase::class);
|
|
304:
|
|
>> 305: $Data = $EpicorDB->getCoilAllocationsByJobNumber($allocRequest->getJobNum());
|
|
306: /** @var AllocCart $AllocCart */
|
|
307: $AllocCart = app(AllocCart::class);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\CompanyController.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
|
|
Line 5 [match: epicor]:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
4: use App\Services\EpicorDatabase;
|
|
>> 5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
|
|
Line 6 [match: epicor]:
|
|
4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
>> 6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
8: use Log;
|
|
|
|
Line 133 [match: epicor]:
|
|
131: {
|
|
132: $Form = parent::_getFormAdd($Metadata, $forPost);
|
|
>> 133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
134: ->addInputValidator(new UniqueEpicorCustID())
|
|
135: ->addInputValidator(new ValidEpicorCustID());
|
|
|
|
Line 134 [match: epicor]:
|
|
132: $Form = parent::_getFormAdd($Metadata, $forPost);
|
|
133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
>> 134: ->addInputValidator(new UniqueEpicorCustID())
|
|
135: ->addInputValidator(new ValidEpicorCustID());
|
|
136: return $Form;
|
|
|
|
Line 135 [match: epicor]:
|
|
133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
134: ->addInputValidator(new UniqueEpicorCustID())
|
|
>> 135: ->addInputValidator(new ValidEpicorCustID());
|
|
136: return $Form;
|
|
137: }
|
|
|
|
Line 141 [match: epicor]:
|
|
139: protected function _getFormEdit(EntityMetadataInterface $Metadata, $id, $forPost = false)
|
|
140: {
|
|
>> 141: $Metadata->getField('EpicorCustID')->setIsReadOnly(true);
|
|
142: // $Metadata->getField('IsDeactivated')->setIsDisplayedInForms(false);
|
|
143: return parent::_getFormEdit($Metadata, $id, $forPost);
|
|
|
|
Line 148 [match: epicor]:
|
|
146: protected function _doDBSave(array $Data, $FormAction)
|
|
147: {
|
|
>> 148: /** @var EpicorDatabase $EpicorDatabase */
|
|
149: $EpicorDatabase = app(EpicorDatabase::class);
|
|
150:
|
|
|
|
Line 149 [match: epicor]:
|
|
147: {
|
|
148: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 149: $EpicorDatabase = app(EpicorDatabase::class);
|
|
150:
|
|
151: if($FormAction == self::FORM_ACTION_ADD)
|
|
|
|
Line 153 [match: epicor]:
|
|
151: if($FormAction == self::FORM_ACTION_ADD)
|
|
152: {
|
|
>> 153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
|
|
Line 154 [match: epicor]:
|
|
152: {
|
|
153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
>> 154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
|
|
Line 155 [match: epicor]:
|
|
153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
>> 155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
157: }
|
|
|
|
Line 156 [match: epicor]:
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
>> 156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
157: }
|
|
158:
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
|
|
Line 5 [match: Epicor]:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
4: use App\Services\EpicorDatabase;
|
|
>> 5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
|
|
Line 6 [match: Epicor]:
|
|
4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
>> 6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
8: use Log;
|
|
|
|
Line 133 [match: Epicor]:
|
|
131: {
|
|
132: $Form = parent::_getFormAdd($Metadata, $forPost);
|
|
>> 133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
134: ->addInputValidator(new UniqueEpicorCustID())
|
|
135: ->addInputValidator(new ValidEpicorCustID());
|
|
|
|
Line 134 [match: Epicor]:
|
|
132: $Form = parent::_getFormAdd($Metadata, $forPost);
|
|
133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
>> 134: ->addInputValidator(new UniqueEpicorCustID())
|
|
135: ->addInputValidator(new ValidEpicorCustID());
|
|
136: return $Form;
|
|
|
|
Line 135 [match: Epicor]:
|
|
133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
134: ->addInputValidator(new UniqueEpicorCustID())
|
|
>> 135: ->addInputValidator(new ValidEpicorCustID());
|
|
136: return $Form;
|
|
137: }
|
|
|
|
Line 141 [match: Epicor]:
|
|
139: protected function _getFormEdit(EntityMetadataInterface $Metadata, $id, $forPost = false)
|
|
140: {
|
|
>> 141: $Metadata->getField('EpicorCustID')->setIsReadOnly(true);
|
|
142: // $Metadata->getField('IsDeactivated')->setIsDisplayedInForms(false);
|
|
143: return parent::_getFormEdit($Metadata, $id, $forPost);
|
|
|
|
Line 148 [match: Epicor]:
|
|
146: protected function _doDBSave(array $Data, $FormAction)
|
|
147: {
|
|
>> 148: /** @var EpicorDatabase $EpicorDatabase */
|
|
149: $EpicorDatabase = app(EpicorDatabase::class);
|
|
150:
|
|
|
|
Line 149 [match: Epicor]:
|
|
147: {
|
|
148: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 149: $EpicorDatabase = app(EpicorDatabase::class);
|
|
150:
|
|
151: if($FormAction == self::FORM_ACTION_ADD)
|
|
|
|
Line 153 [match: Epicor]:
|
|
151: if($FormAction == self::FORM_ACTION_ADD)
|
|
152: {
|
|
>> 153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
|
|
Line 154 [match: Epicor]:
|
|
152: {
|
|
153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
>> 154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
|
|
Line 155 [match: Epicor]:
|
|
153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
>> 155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
157: }
|
|
|
|
Line 156 [match: Epicor]:
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
>> 156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
157: }
|
|
158:
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
|
|
Line 5 [match: EPICOR]:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
4: use App\Services\EpicorDatabase;
|
|
>> 5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
|
|
Line 6 [match: EPICOR]:
|
|
4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
>> 6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
8: use Log;
|
|
|
|
Line 133 [match: EPICOR]:
|
|
131: {
|
|
132: $Form = parent::_getFormAdd($Metadata, $forPost);
|
|
>> 133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
134: ->addInputValidator(new UniqueEpicorCustID())
|
|
135: ->addInputValidator(new ValidEpicorCustID());
|
|
|
|
Line 134 [match: EPICOR]:
|
|
132: $Form = parent::_getFormAdd($Metadata, $forPost);
|
|
133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
>> 134: ->addInputValidator(new UniqueEpicorCustID())
|
|
135: ->addInputValidator(new ValidEpicorCustID());
|
|
136: return $Form;
|
|
|
|
Line 135 [match: EPICOR]:
|
|
133: $Form->getFormObjectFromDriver()->getInputElementByName('EpicorCustID')
|
|
134: ->addInputValidator(new UniqueEpicorCustID())
|
|
>> 135: ->addInputValidator(new ValidEpicorCustID());
|
|
136: return $Form;
|
|
137: }
|
|
|
|
Line 141 [match: EPICOR]:
|
|
139: protected function _getFormEdit(EntityMetadataInterface $Metadata, $id, $forPost = false)
|
|
140: {
|
|
>> 141: $Metadata->getField('EpicorCustID')->setIsReadOnly(true);
|
|
142: // $Metadata->getField('IsDeactivated')->setIsDisplayedInForms(false);
|
|
143: return parent::_getFormEdit($Metadata, $id, $forPost);
|
|
|
|
Line 148 [match: EPICOR]:
|
|
146: protected function _doDBSave(array $Data, $FormAction)
|
|
147: {
|
|
>> 148: /** @var EpicorDatabase $EpicorDatabase */
|
|
149: $EpicorDatabase = app(EpicorDatabase::class);
|
|
150:
|
|
|
|
Line 149 [match: EPICOR]:
|
|
147: {
|
|
148: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 149: $EpicorDatabase = app(EpicorDatabase::class);
|
|
150:
|
|
151: if($FormAction == self::FORM_ACTION_ADD)
|
|
|
|
Line 153 [match: EPICOR]:
|
|
151: if($FormAction == self::FORM_ACTION_ADD)
|
|
152: {
|
|
>> 153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
|
|
Line 154 [match: EPICOR]:
|
|
152: {
|
|
153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
>> 154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
|
|
Line 155 [match: EPICOR]:
|
|
153: if((($EpicorInfo = $EpicorDatabase->getCustInfoIfExists($Data['EpicorCustID'])) !== FALSE) && strlen($EpicorInfo['Name']))
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
>> 155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
157: }
|
|
|
|
Line 156 [match: EPICOR]:
|
|
154: $Data['epi_Name'] = $EpicorInfo['Name'];
|
|
155: else // shouldn't happen since we have a valid epicor cust id validator already
|
|
>> 156: Log::error('Epicor name failed for company add '.$Data['EpicorCustID']);
|
|
157: }
|
|
158:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\InventoryTypeController.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
|
|
Line 5 [match: epicor]:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
4: use App\Services\EpicorDatabase;
|
|
>> 5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
|
|
Line 6 [match: epicor]:
|
|
4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
>> 6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
8: use Log;
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
|
|
Line 5 [match: Epicor]:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
4: use App\Services\EpicorDatabase;
|
|
>> 5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
|
|
Line 6 [match: Epicor]:
|
|
4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
>> 6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
8: use Log;
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
|
|
Line 5 [match: EPICOR]:
|
|
3: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
4: use App\Services\EpicorDatabase;
|
|
>> 5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
|
|
Line 6 [match: EPICOR]:
|
|
4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\InputValidators\UniqueEpicorCustID;
|
|
>> 6: use App\Services\InputValidators\ValidEpicorCustID;
|
|
7: use Exception;
|
|
8: use Log;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\InvoiceUploadController.php
|
|
================================================================================
|
|
Line 527 [match: SELECT ]:
|
|
525:
|
|
526: if(is_null($DoEmail))
|
|
>> 527: return redirect()->back()->withErrors('You must select whether to send emails or not');
|
|
528:
|
|
529: $DoEmail = ($DoEmail ? true : false);
|
|
|
|
Line 15 [match: epicor]:
|
|
13: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
14: use App\Notifications\InvoicePDFs;
|
|
>> 15: use App\Services\EpicorDatabase;
|
|
16: use Carbon\Carbon;
|
|
17: use Exception;
|
|
|
|
Line 87 [match: epicor]:
|
|
85: /** @var DataHandler $DataHandler */
|
|
86: $DataHandler = app(DataHandler::class);
|
|
>> 87: /** @var EpicorDatabase $EpicorDatabase */
|
|
88: $EpicorDatabase = app(EpicorDatabase::class);
|
|
89: /** @var EMContainer $EMContainer */
|
|
|
|
Line 88 [match: epicor]:
|
|
86: $DataHandler = app(DataHandler::class);
|
|
87: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 88: $EpicorDatabase = app(EpicorDatabase::class);
|
|
89: /** @var EMContainer $EMContainer */
|
|
90: $EMContainer = app(EMContainer::class);
|
|
|
|
Line 230 [match: epicor]:
|
|
228: $UploadEntryIDToInvoiceNumberMapping[$InvoiceUploadEntryID] = $InvoiceNumber;
|
|
229:
|
|
>> 230: /** @var epi_InvcHead $EpicorInvoice */
|
|
231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
232: if(!is_null($EpicorInvoice))
|
|
|
|
Line 231 [match: epicor]:
|
|
229:
|
|
230: /** @var epi_InvcHead $EpicorInvoice */
|
|
>> 231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
232: if(!is_null($EpicorInvoice))
|
|
233: {
|
|
|
|
Line 232 [match: epicor]:
|
|
230: /** @var epi_InvcHead $EpicorInvoice */
|
|
231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
>> 232: if(!is_null($EpicorInvoice))
|
|
233: {
|
|
234: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 237 [match: epicor]:
|
|
235: 'ID' => $InvoiceUploadEntryID,
|
|
236: 'epi_InvcHead' => ['InvoiceNum' => $InvoiceNumber],
|
|
>> 237: 'JobNumber' => $EpicorDatabase->getJobNumberByInvoiceNumber($InvoiceNumber),
|
|
238: 'IsIgnored' => (bccomp($EpicorInvoice->getInvoiceAmt(),'0',2) <= 0)
|
|
239: ], $MetadataFactory->getEntity('inv_UploadEntry'));
|
|
|
|
Line 238 [match: epicor]:
|
|
236: 'epi_InvcHead' => ['InvoiceNum' => $InvoiceNumber],
|
|
237: 'JobNumber' => $EpicorDatabase->getJobNumberByInvoiceNumber($InvoiceNumber),
|
|
>> 238: 'IsIgnored' => (bccomp($EpicorInvoice->getInvoiceAmt(),'0',2) <= 0)
|
|
239: ], $MetadataFactory->getEntity('inv_UploadEntry'));
|
|
240: }
|
|
|
|
Line 282 [match: epicor]:
|
|
280: }
|
|
281:
|
|
>> 282: $CustomerIDInvoiceNumberMapping = $EpicorDatabase->getCustomerIDsForInvoiceNumbers($UploadEntryIDToInvoiceNumberMapping);
|
|
283: $CompanyIDCustomerIDMapping = $RWCompanyRepo->getCompanyIDsForCustomerIDs(array_filter($CustomerIDInvoiceNumberMapping,function($val){return !is_null($val);}));
|
|
284:
|
|
|
|
Line 372 [match: epicor]:
|
|
370: {
|
|
371: $InvoiceNumbersToLink = array_column($AttemptToLinkInvoiceEntries, 'InvoiceNumber');
|
|
>> 372: $EpicorInvoiceNumbers = $ROEpiInvoiceRepo->filterExistingInvoices($InvoiceNumbersToLink);
|
|
373: //dd($InvoiceNumbersToLink, $EpicorInvoiceNumbers);
|
|
374: $DataHandler->startTransaction();
|
|
|
|
Line 373 [match: epicor]:
|
|
371: $InvoiceNumbersToLink = array_column($AttemptToLinkInvoiceEntries, 'InvoiceNumber');
|
|
372: $EpicorInvoiceNumbers = $ROEpiInvoiceRepo->filterExistingInvoices($InvoiceNumbersToLink);
|
|
>> 373: //dd($InvoiceNumbersToLink, $EpicorInvoiceNumbers);
|
|
374: $DataHandler->startTransaction();
|
|
375: try {
|
|
|
|
Line 378 [match: epicor]:
|
|
376: foreach($AttemptToLinkInvoiceEntries as $AttemptToLinkInvoiceEntry)
|
|
377: {
|
|
>> 378: if(!in_array($AttemptToLinkInvoiceEntry['InvoiceNumber'],$EpicorInvoiceNumbers))
|
|
379: continue;
|
|
380: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 434 [match: epicor]:
|
|
432:
|
|
433: if(is_null($UploadEntryInfo['EntryError']) && is_null($UploadEntryInfo['epi_InvcHead']))
|
|
>> 434: $UploadEntryInfo['EntryError'] = 'Invoice not found in Epicor';
|
|
435:
|
|
436: if($UploadEntryInfo['IsSent'])
|
|
|
|
Line 15 [match: Epicor]:
|
|
13: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
14: use App\Notifications\InvoicePDFs;
|
|
>> 15: use App\Services\EpicorDatabase;
|
|
16: use Carbon\Carbon;
|
|
17: use Exception;
|
|
|
|
Line 87 [match: Epicor]:
|
|
85: /** @var DataHandler $DataHandler */
|
|
86: $DataHandler = app(DataHandler::class);
|
|
>> 87: /** @var EpicorDatabase $EpicorDatabase */
|
|
88: $EpicorDatabase = app(EpicorDatabase::class);
|
|
89: /** @var EMContainer $EMContainer */
|
|
|
|
Line 88 [match: Epicor]:
|
|
86: $DataHandler = app(DataHandler::class);
|
|
87: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 88: $EpicorDatabase = app(EpicorDatabase::class);
|
|
89: /** @var EMContainer $EMContainer */
|
|
90: $EMContainer = app(EMContainer::class);
|
|
|
|
Line 230 [match: Epicor]:
|
|
228: $UploadEntryIDToInvoiceNumberMapping[$InvoiceUploadEntryID] = $InvoiceNumber;
|
|
229:
|
|
>> 230: /** @var epi_InvcHead $EpicorInvoice */
|
|
231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
232: if(!is_null($EpicorInvoice))
|
|
|
|
Line 231 [match: Epicor]:
|
|
229:
|
|
230: /** @var epi_InvcHead $EpicorInvoice */
|
|
>> 231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
232: if(!is_null($EpicorInvoice))
|
|
233: {
|
|
|
|
Line 232 [match: Epicor]:
|
|
230: /** @var epi_InvcHead $EpicorInvoice */
|
|
231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
>> 232: if(!is_null($EpicorInvoice))
|
|
233: {
|
|
234: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 237 [match: Epicor]:
|
|
235: 'ID' => $InvoiceUploadEntryID,
|
|
236: 'epi_InvcHead' => ['InvoiceNum' => $InvoiceNumber],
|
|
>> 237: 'JobNumber' => $EpicorDatabase->getJobNumberByInvoiceNumber($InvoiceNumber),
|
|
238: 'IsIgnored' => (bccomp($EpicorInvoice->getInvoiceAmt(),'0',2) <= 0)
|
|
239: ], $MetadataFactory->getEntity('inv_UploadEntry'));
|
|
|
|
Line 238 [match: Epicor]:
|
|
236: 'epi_InvcHead' => ['InvoiceNum' => $InvoiceNumber],
|
|
237: 'JobNumber' => $EpicorDatabase->getJobNumberByInvoiceNumber($InvoiceNumber),
|
|
>> 238: 'IsIgnored' => (bccomp($EpicorInvoice->getInvoiceAmt(),'0',2) <= 0)
|
|
239: ], $MetadataFactory->getEntity('inv_UploadEntry'));
|
|
240: }
|
|
|
|
Line 282 [match: Epicor]:
|
|
280: }
|
|
281:
|
|
>> 282: $CustomerIDInvoiceNumberMapping = $EpicorDatabase->getCustomerIDsForInvoiceNumbers($UploadEntryIDToInvoiceNumberMapping);
|
|
283: $CompanyIDCustomerIDMapping = $RWCompanyRepo->getCompanyIDsForCustomerIDs(array_filter($CustomerIDInvoiceNumberMapping,function($val){return !is_null($val);}));
|
|
284:
|
|
|
|
Line 372 [match: Epicor]:
|
|
370: {
|
|
371: $InvoiceNumbersToLink = array_column($AttemptToLinkInvoiceEntries, 'InvoiceNumber');
|
|
>> 372: $EpicorInvoiceNumbers = $ROEpiInvoiceRepo->filterExistingInvoices($InvoiceNumbersToLink);
|
|
373: //dd($InvoiceNumbersToLink, $EpicorInvoiceNumbers);
|
|
374: $DataHandler->startTransaction();
|
|
|
|
Line 373 [match: Epicor]:
|
|
371: $InvoiceNumbersToLink = array_column($AttemptToLinkInvoiceEntries, 'InvoiceNumber');
|
|
372: $EpicorInvoiceNumbers = $ROEpiInvoiceRepo->filterExistingInvoices($InvoiceNumbersToLink);
|
|
>> 373: //dd($InvoiceNumbersToLink, $EpicorInvoiceNumbers);
|
|
374: $DataHandler->startTransaction();
|
|
375: try {
|
|
|
|
Line 378 [match: Epicor]:
|
|
376: foreach($AttemptToLinkInvoiceEntries as $AttemptToLinkInvoiceEntry)
|
|
377: {
|
|
>> 378: if(!in_array($AttemptToLinkInvoiceEntry['InvoiceNumber'],$EpicorInvoiceNumbers))
|
|
379: continue;
|
|
380: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 434 [match: Epicor]:
|
|
432:
|
|
433: if(is_null($UploadEntryInfo['EntryError']) && is_null($UploadEntryInfo['epi_InvcHead']))
|
|
>> 434: $UploadEntryInfo['EntryError'] = 'Invoice not found in Epicor';
|
|
435:
|
|
436: if($UploadEntryInfo['IsSent'])
|
|
|
|
Line 15 [match: EPICOR]:
|
|
13: use App\Model\Repos\quest_Company as quest_CompanyRepo;
|
|
14: use App\Notifications\InvoicePDFs;
|
|
>> 15: use App\Services\EpicorDatabase;
|
|
16: use Carbon\Carbon;
|
|
17: use Exception;
|
|
|
|
Line 87 [match: EPICOR]:
|
|
85: /** @var DataHandler $DataHandler */
|
|
86: $DataHandler = app(DataHandler::class);
|
|
>> 87: /** @var EpicorDatabase $EpicorDatabase */
|
|
88: $EpicorDatabase = app(EpicorDatabase::class);
|
|
89: /** @var EMContainer $EMContainer */
|
|
|
|
Line 88 [match: EPICOR]:
|
|
86: $DataHandler = app(DataHandler::class);
|
|
87: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 88: $EpicorDatabase = app(EpicorDatabase::class);
|
|
89: /** @var EMContainer $EMContainer */
|
|
90: $EMContainer = app(EMContainer::class);
|
|
|
|
Line 230 [match: EPICOR]:
|
|
228: $UploadEntryIDToInvoiceNumberMapping[$InvoiceUploadEntryID] = $InvoiceNumber;
|
|
229:
|
|
>> 230: /** @var epi_InvcHead $EpicorInvoice */
|
|
231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
232: if(!is_null($EpicorInvoice))
|
|
|
|
Line 231 [match: EPICOR]:
|
|
229:
|
|
230: /** @var epi_InvcHead $EpicorInvoice */
|
|
>> 231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
232: if(!is_null($EpicorInvoice))
|
|
233: {
|
|
|
|
Line 232 [match: EPICOR]:
|
|
230: /** @var epi_InvcHead $EpicorInvoice */
|
|
231: $EpicorInvoice = $RWEpiInvoiceRepo->find($InvoiceNumber);
|
|
>> 232: if(!is_null($EpicorInvoice))
|
|
233: {
|
|
234: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 237 [match: EPICOR]:
|
|
235: 'ID' => $InvoiceUploadEntryID,
|
|
236: 'epi_InvcHead' => ['InvoiceNum' => $InvoiceNumber],
|
|
>> 237: 'JobNumber' => $EpicorDatabase->getJobNumberByInvoiceNumber($InvoiceNumber),
|
|
238: 'IsIgnored' => (bccomp($EpicorInvoice->getInvoiceAmt(),'0',2) <= 0)
|
|
239: ], $MetadataFactory->getEntity('inv_UploadEntry'));
|
|
|
|
Line 238 [match: EPICOR]:
|
|
236: 'epi_InvcHead' => ['InvoiceNum' => $InvoiceNumber],
|
|
237: 'JobNumber' => $EpicorDatabase->getJobNumberByInvoiceNumber($InvoiceNumber),
|
|
>> 238: 'IsIgnored' => (bccomp($EpicorInvoice->getInvoiceAmt(),'0',2) <= 0)
|
|
239: ], $MetadataFactory->getEntity('inv_UploadEntry'));
|
|
240: }
|
|
|
|
Line 282 [match: EPICOR]:
|
|
280: }
|
|
281:
|
|
>> 282: $CustomerIDInvoiceNumberMapping = $EpicorDatabase->getCustomerIDsForInvoiceNumbers($UploadEntryIDToInvoiceNumberMapping);
|
|
283: $CompanyIDCustomerIDMapping = $RWCompanyRepo->getCompanyIDsForCustomerIDs(array_filter($CustomerIDInvoiceNumberMapping,function($val){return !is_null($val);}));
|
|
284:
|
|
|
|
Line 372 [match: EPICOR]:
|
|
370: {
|
|
371: $InvoiceNumbersToLink = array_column($AttemptToLinkInvoiceEntries, 'InvoiceNumber');
|
|
>> 372: $EpicorInvoiceNumbers = $ROEpiInvoiceRepo->filterExistingInvoices($InvoiceNumbersToLink);
|
|
373: //dd($InvoiceNumbersToLink, $EpicorInvoiceNumbers);
|
|
374: $DataHandler->startTransaction();
|
|
|
|
Line 373 [match: EPICOR]:
|
|
371: $InvoiceNumbersToLink = array_column($AttemptToLinkInvoiceEntries, 'InvoiceNumber');
|
|
372: $EpicorInvoiceNumbers = $ROEpiInvoiceRepo->filterExistingInvoices($InvoiceNumbersToLink);
|
|
>> 373: //dd($InvoiceNumbersToLink, $EpicorInvoiceNumbers);
|
|
374: $DataHandler->startTransaction();
|
|
375: try {
|
|
|
|
Line 378 [match: EPICOR]:
|
|
376: foreach($AttemptToLinkInvoiceEntries as $AttemptToLinkInvoiceEntry)
|
|
377: {
|
|
>> 378: if(!in_array($AttemptToLinkInvoiceEntry['InvoiceNumber'],$EpicorInvoiceNumbers))
|
|
379: continue;
|
|
380: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 434 [match: EPICOR]:
|
|
432:
|
|
433: if(is_null($UploadEntryInfo['EntryError']) && is_null($UploadEntryInfo['epi_InvcHead']))
|
|
>> 434: $UploadEntryInfo['EntryError'] = 'Invoice not found in Epicor';
|
|
435:
|
|
436: if($UploadEntryInfo['IsSent'])
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\ShipmentReleaseController.php
|
|
================================================================================
|
|
Line 262 [match: FROM ]:
|
|
260:
|
|
261: if($ShipmentCart->getSelectionCount() && $Plant !== $ShipmentCart->getPlant())
|
|
>> 262: return response()->json(['success' => 0, 'reason' => 'The current shipment release already contains items from another plant', 'action' => 'bad_plant']);
|
|
263: elseif($ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
264: return response()->json(['success' => 0, 'reason' => 'This item is already in your current shipment release', 'action' => 'in_cart']);
|
|
|
|
Line 589 [match: SELECT ]:
|
|
587: return view('quest.admin.shipment_requests.additemsstep1', $this->_appendTemplateInfoForView(
|
|
588: [
|
|
>> 589: 'ShipmentReleaseCrudTitle' => 'Select Area'
|
|
590: ,'sections' => $section
|
|
591: ]));
|
|
|
|
Line 10 [match: epicor]:
|
|
8: use App\Model\Repos\ship_Request as ship_RequestRepo;
|
|
9:
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
12: use App\Services\FakeShipmentCart;
|
|
|
|
Line 11 [match: epicor]:
|
|
9:
|
|
10: use App\Services\EpicorDatabase;
|
|
>> 11: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
12: use App\Services\FakeShipmentCart;
|
|
13: use App\Services\InventoryHelper;
|
|
|
|
Line 235 [match: epicor]:
|
|
233: $srEN = $relRo->find(request()->route()->parameter('crud_edit_id'));
|
|
234:
|
|
>> 235: $selectedCustomer = $srEN->getQuestCompany()->getEpicorCustID();
|
|
236:
|
|
237:
|
|
|
|
Line 238 [match: epicor]:
|
|
236:
|
|
237:
|
|
>> 238: /** @var EpicorDatabase $EpicorDatabase */
|
|
239: $EpicorDatabase = app(EpicorDatabase::class);
|
|
240:
|
|
|
|
Line 239 [match: epicor]:
|
|
237:
|
|
238: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 239: $EpicorDatabase = app(EpicorDatabase::class);
|
|
240:
|
|
241: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 268 [match: epicor]:
|
|
266: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
267:
|
|
>> 268: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($selectedCustomer,$PartNum);
|
|
269:
|
|
270: $DataHandler->startTransaction();
|
|
|
|
Line 307 [match: epicor]:
|
|
305: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
306: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 307: /** @var EpicorDatabase $EpicorDB */
|
|
308: $EpicorDB = app(EpicorDatabase::class);
|
|
309: /** @var ShipmentCart $ShipmentCart */
|
|
|
|
Line 308 [match: epicor]:
|
|
306: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
307: /** @var EpicorDatabase $EpicorDB */
|
|
>> 308: $EpicorDB = app(EpicorDatabase::class);
|
|
309: /** @var ShipmentCart $ShipmentCart */
|
|
310: $ShipmentCart = app(ShipmentCart::class);
|
|
|
|
Line 324 [match: epicor]:
|
|
322: $srEN = $relRo->find(request()->route()->parameter('crud_edit_id'));
|
|
323:
|
|
>> 324: $customer = $srEN->getQuestCompany()->getEpicorCustID();
|
|
325:
|
|
326:
|
|
|
|
Line 329 [match: epicor]:
|
|
327:
|
|
328:
|
|
>> 329: $PartDesc = $EpicorDB->getVorPartDescriptionFromPartNumber($customer, $Part);
|
|
330:
|
|
331:
|
|
|
|
Line 339 [match: epicor]:
|
|
337: $SourceName = 'Unprocessed';
|
|
338: $WrapClass = 'vor-orange';
|
|
>> 339: $TotalQOH = $EpicorDB->getInventoryUnprocessedQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
340: break;
|
|
341: case 'UP-REJECTSRETURNS':
|
|
|
|
Line 345 [match: epicor]:
|
|
343: $SourceName = 'Unprocessed (Rejects / Returns)';
|
|
344: $WrapClass = 'vor-purple';
|
|
>> 345: $TotalQOH = $EpicorDB->getInventoryUnprocessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
346: break;
|
|
347: case 'WIP':
|
|
|
|
Line 351 [match: epicor]:
|
|
349: $SourceName = 'Work In Progress';
|
|
350: $WrapClass = 'vor-green';
|
|
>> 351: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
352: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,' portal_WorkInProgressInventoryV6');
|
|
353: break;
|
|
|
|
Line 352 [match: epicor]:
|
|
350: $WrapClass = 'vor-green';
|
|
351: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 352: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,' portal_WorkInProgressInventoryV6');
|
|
353: break;
|
|
354: case 'FG':
|
|
|
|
Line 358 [match: epicor]:
|
|
356: $SourceName = 'Finished Goods';
|
|
357: $WrapClass = 'vor-blue';
|
|
>> 358: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
359: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
360: break;
|
|
|
|
Line 359 [match: epicor]:
|
|
357: $WrapClass = 'vor-blue';
|
|
358: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 359: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
360: break;
|
|
361: case 'P-OTHER':
|
|
|
|
Line 365 [match: epicor]:
|
|
363: $SourceName = 'Processed - Other';
|
|
364: $WrapClass = 'vor-yellow';
|
|
>> 365: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
366: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
367: break;
|
|
|
|
Line 366 [match: epicor]:
|
|
364: $WrapClass = 'vor-yellow';
|
|
365: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 366: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
367: break;
|
|
368: case 'P-REJECTSRETURNS':
|
|
|
|
Line 372 [match: epicor]:
|
|
370: $SourceName = 'Processed (Rejects / Returns)';
|
|
371: $WrapClass = 'vor-red';
|
|
>> 372: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
373: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
374: break;
|
|
|
|
Line 373 [match: epicor]:
|
|
371: $WrapClass = 'vor-red';
|
|
372: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 373: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
374: break;
|
|
375: default:
|
|
|
|
Line 490 [match: epicor]:
|
|
488: private function _getGridSummary($dataFunc, $metaFunc, $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
489: {
|
|
>> 490: /** @var EpicorDatabase $EpicorDB */
|
|
491: $EpicorDB = app(EpicorDatabase::class);
|
|
492: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 491 [match: epicor]:
|
|
489: {
|
|
490: /** @var EpicorDatabase $EpicorDB */
|
|
>> 491: $EpicorDB = app(EpicorDatabase::class);
|
|
492: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
493: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 495 [match: epicor]:
|
|
493: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
494:
|
|
>> 495: // dd($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
496:
|
|
497: $ceid = request()->route()->parameter('crud_edit_id');
|
|
|
|
Line 505 [match: epicor]:
|
|
503: $shipment = $sr->find($ceid);
|
|
504:
|
|
>> 505: $company = $shipment->getQuestCompany()->getEpicorCustID();
|
|
506:
|
|
507:
|
|
|
|
Line 508 [match: epicor]:
|
|
506:
|
|
507:
|
|
>> 508: $Data = $EpicorDB->$dataFunc($company);
|
|
509:
|
|
510:
|
|
|
|
Line 536 [match: epicor]:
|
|
534: public function getUnprocessedSummaryRRGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
535: {
|
|
>> 536: /** @var EpicorDatabase $EpicorDB */
|
|
537: $EpicorDB = app(EpicorDatabase::class);
|
|
538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
|
|
Line 537 [match: epicor]:
|
|
535: {
|
|
536: /** @var EpicorDatabase $EpicorDB */
|
|
>> 537: $EpicorDB = app(EpicorDatabase::class);
|
|
538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
539: return $this->_getGridSummary('getInventoryUnprocessedRRSummaryData', '_getUnprocessedRRSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 538 [match: epicor]:
|
|
536: /** @var EpicorDatabase $EpicorDB */
|
|
537: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
539: return $this->_getGridSummary('getInventoryUnprocessedRRSummaryData', '_getUnprocessedRRSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
540: }
|
|
|
|
Line 544 [match: epicor]:
|
|
542: public function getWorkInProgressSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
543: {
|
|
>> 544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 545 [match: epicor]:
|
|
543: {
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
>> 545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
547: return $this->_getGridSummary('getInventoryWorkInProgressSummaryData', '_getWorkInProgressSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 546 [match: epicor]:
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
547: return $this->_getGridSummary('getInventoryWorkInProgressSummaryData', '_getWorkInProgressSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
548: }
|
|
|
|
Line 552 [match: epicor]:
|
|
550: public function getFinishedGoodsSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
551: {
|
|
>> 552: /** @var EpicorDatabase $EpicorDB */
|
|
553: $EpicorDB = app(EpicorDatabase::class);
|
|
554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 553 [match: epicor]:
|
|
551: {
|
|
552: /** @var EpicorDatabase $EpicorDB */
|
|
>> 553: $EpicorDB = app(EpicorDatabase::class);
|
|
554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
555: return $this->_getGridSummary('getInventoryFinishedGoodsSummaryData', '_getFinishedGoodsSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 554 [match: epicor]:
|
|
552: /** @var EpicorDatabase $EpicorDB */
|
|
553: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
555: return $this->_getGridSummary('getInventoryFinishedGoodsSummaryData', '_getFinishedGoodsSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
556: }
|
|
|
|
Line 560 [match: epicor]:
|
|
558: public function getProcessedOtherSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
559: {
|
|
>> 560: /** @var EpicorDatabase $EpicorDB */
|
|
561: $EpicorDB = app(EpicorDatabase::class);
|
|
562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 561 [match: epicor]:
|
|
559: {
|
|
560: /** @var EpicorDatabase $EpicorDB */
|
|
>> 561: $EpicorDB = app(EpicorDatabase::class);
|
|
562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
563: return $this->_getGridSummary('getInventoryProcessedOtherSummaryData', '_getProcessedOtherSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 562 [match: epicor]:
|
|
560: /** @var EpicorDatabase $EpicorDB */
|
|
561: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
563: return $this->_getGridSummary('getInventoryProcessedOtherSummaryData', '_getProcessedOtherSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
564: }
|
|
|
|
Line 10 [match: Epicor]:
|
|
8: use App\Model\Repos\ship_Request as ship_RequestRepo;
|
|
9:
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
12: use App\Services\FakeShipmentCart;
|
|
|
|
Line 11 [match: Epicor]:
|
|
9:
|
|
10: use App\Services\EpicorDatabase;
|
|
>> 11: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
12: use App\Services\FakeShipmentCart;
|
|
13: use App\Services\InventoryHelper;
|
|
|
|
Line 235 [match: Epicor]:
|
|
233: $srEN = $relRo->find(request()->route()->parameter('crud_edit_id'));
|
|
234:
|
|
>> 235: $selectedCustomer = $srEN->getQuestCompany()->getEpicorCustID();
|
|
236:
|
|
237:
|
|
|
|
Line 238 [match: Epicor]:
|
|
236:
|
|
237:
|
|
>> 238: /** @var EpicorDatabase $EpicorDatabase */
|
|
239: $EpicorDatabase = app(EpicorDatabase::class);
|
|
240:
|
|
|
|
Line 239 [match: Epicor]:
|
|
237:
|
|
238: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 239: $EpicorDatabase = app(EpicorDatabase::class);
|
|
240:
|
|
241: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 268 [match: Epicor]:
|
|
266: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
267:
|
|
>> 268: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($selectedCustomer,$PartNum);
|
|
269:
|
|
270: $DataHandler->startTransaction();
|
|
|
|
Line 307 [match: Epicor]:
|
|
305: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
306: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 307: /** @var EpicorDatabase $EpicorDB */
|
|
308: $EpicorDB = app(EpicorDatabase::class);
|
|
309: /** @var ShipmentCart $ShipmentCart */
|
|
|
|
Line 308 [match: Epicor]:
|
|
306: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
307: /** @var EpicorDatabase $EpicorDB */
|
|
>> 308: $EpicorDB = app(EpicorDatabase::class);
|
|
309: /** @var ShipmentCart $ShipmentCart */
|
|
310: $ShipmentCart = app(ShipmentCart::class);
|
|
|
|
Line 324 [match: Epicor]:
|
|
322: $srEN = $relRo->find(request()->route()->parameter('crud_edit_id'));
|
|
323:
|
|
>> 324: $customer = $srEN->getQuestCompany()->getEpicorCustID();
|
|
325:
|
|
326:
|
|
|
|
Line 329 [match: Epicor]:
|
|
327:
|
|
328:
|
|
>> 329: $PartDesc = $EpicorDB->getVorPartDescriptionFromPartNumber($customer, $Part);
|
|
330:
|
|
331:
|
|
|
|
Line 339 [match: Epicor]:
|
|
337: $SourceName = 'Unprocessed';
|
|
338: $WrapClass = 'vor-orange';
|
|
>> 339: $TotalQOH = $EpicorDB->getInventoryUnprocessedQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
340: break;
|
|
341: case 'UP-REJECTSRETURNS':
|
|
|
|
Line 345 [match: Epicor]:
|
|
343: $SourceName = 'Unprocessed (Rejects / Returns)';
|
|
344: $WrapClass = 'vor-purple';
|
|
>> 345: $TotalQOH = $EpicorDB->getInventoryUnprocessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
346: break;
|
|
347: case 'WIP':
|
|
|
|
Line 351 [match: Epicor]:
|
|
349: $SourceName = 'Work In Progress';
|
|
350: $WrapClass = 'vor-green';
|
|
>> 351: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
352: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,' portal_WorkInProgressInventoryV6');
|
|
353: break;
|
|
|
|
Line 352 [match: Epicor]:
|
|
350: $WrapClass = 'vor-green';
|
|
351: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 352: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,' portal_WorkInProgressInventoryV6');
|
|
353: break;
|
|
354: case 'FG':
|
|
|
|
Line 358 [match: Epicor]:
|
|
356: $SourceName = 'Finished Goods';
|
|
357: $WrapClass = 'vor-blue';
|
|
>> 358: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
359: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
360: break;
|
|
|
|
Line 359 [match: Epicor]:
|
|
357: $WrapClass = 'vor-blue';
|
|
358: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 359: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
360: break;
|
|
361: case 'P-OTHER':
|
|
|
|
Line 365 [match: Epicor]:
|
|
363: $SourceName = 'Processed - Other';
|
|
364: $WrapClass = 'vor-yellow';
|
|
>> 365: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
366: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
367: break;
|
|
|
|
Line 366 [match: Epicor]:
|
|
364: $WrapClass = 'vor-yellow';
|
|
365: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 366: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
367: break;
|
|
368: case 'P-REJECTSRETURNS':
|
|
|
|
Line 372 [match: Epicor]:
|
|
370: $SourceName = 'Processed (Rejects / Returns)';
|
|
371: $WrapClass = 'vor-red';
|
|
>> 372: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
373: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
374: break;
|
|
|
|
Line 373 [match: Epicor]:
|
|
371: $WrapClass = 'vor-red';
|
|
372: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 373: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
374: break;
|
|
375: default:
|
|
|
|
Line 490 [match: Epicor]:
|
|
488: private function _getGridSummary($dataFunc, $metaFunc, $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
489: {
|
|
>> 490: /** @var EpicorDatabase $EpicorDB */
|
|
491: $EpicorDB = app(EpicorDatabase::class);
|
|
492: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 491 [match: Epicor]:
|
|
489: {
|
|
490: /** @var EpicorDatabase $EpicorDB */
|
|
>> 491: $EpicorDB = app(EpicorDatabase::class);
|
|
492: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
493: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 495 [match: Epicor]:
|
|
493: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
494:
|
|
>> 495: // dd($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
496:
|
|
497: $ceid = request()->route()->parameter('crud_edit_id');
|
|
|
|
Line 505 [match: Epicor]:
|
|
503: $shipment = $sr->find($ceid);
|
|
504:
|
|
>> 505: $company = $shipment->getQuestCompany()->getEpicorCustID();
|
|
506:
|
|
507:
|
|
|
|
Line 508 [match: Epicor]:
|
|
506:
|
|
507:
|
|
>> 508: $Data = $EpicorDB->$dataFunc($company);
|
|
509:
|
|
510:
|
|
|
|
Line 536 [match: Epicor]:
|
|
534: public function getUnprocessedSummaryRRGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
535: {
|
|
>> 536: /** @var EpicorDatabase $EpicorDB */
|
|
537: $EpicorDB = app(EpicorDatabase::class);
|
|
538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
|
|
Line 537 [match: Epicor]:
|
|
535: {
|
|
536: /** @var EpicorDatabase $EpicorDB */
|
|
>> 537: $EpicorDB = app(EpicorDatabase::class);
|
|
538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
539: return $this->_getGridSummary('getInventoryUnprocessedRRSummaryData', '_getUnprocessedRRSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 538 [match: Epicor]:
|
|
536: /** @var EpicorDatabase $EpicorDB */
|
|
537: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
539: return $this->_getGridSummary('getInventoryUnprocessedRRSummaryData', '_getUnprocessedRRSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
540: }
|
|
|
|
Line 544 [match: Epicor]:
|
|
542: public function getWorkInProgressSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
543: {
|
|
>> 544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 545 [match: Epicor]:
|
|
543: {
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
>> 545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
547: return $this->_getGridSummary('getInventoryWorkInProgressSummaryData', '_getWorkInProgressSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 546 [match: Epicor]:
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
547: return $this->_getGridSummary('getInventoryWorkInProgressSummaryData', '_getWorkInProgressSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
548: }
|
|
|
|
Line 552 [match: Epicor]:
|
|
550: public function getFinishedGoodsSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
551: {
|
|
>> 552: /** @var EpicorDatabase $EpicorDB */
|
|
553: $EpicorDB = app(EpicorDatabase::class);
|
|
554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 553 [match: Epicor]:
|
|
551: {
|
|
552: /** @var EpicorDatabase $EpicorDB */
|
|
>> 553: $EpicorDB = app(EpicorDatabase::class);
|
|
554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
555: return $this->_getGridSummary('getInventoryFinishedGoodsSummaryData', '_getFinishedGoodsSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 554 [match: Epicor]:
|
|
552: /** @var EpicorDatabase $EpicorDB */
|
|
553: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
555: return $this->_getGridSummary('getInventoryFinishedGoodsSummaryData', '_getFinishedGoodsSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
556: }
|
|
|
|
Line 560 [match: Epicor]:
|
|
558: public function getProcessedOtherSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
559: {
|
|
>> 560: /** @var EpicorDatabase $EpicorDB */
|
|
561: $EpicorDB = app(EpicorDatabase::class);
|
|
562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 561 [match: Epicor]:
|
|
559: {
|
|
560: /** @var EpicorDatabase $EpicorDB */
|
|
>> 561: $EpicorDB = app(EpicorDatabase::class);
|
|
562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
563: return $this->_getGridSummary('getInventoryProcessedOtherSummaryData', '_getProcessedOtherSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 562 [match: Epicor]:
|
|
560: /** @var EpicorDatabase $EpicorDB */
|
|
561: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
563: return $this->_getGridSummary('getInventoryProcessedOtherSummaryData', '_getProcessedOtherSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
564: }
|
|
|
|
Line 10 [match: EPICOR]:
|
|
8: use App\Model\Repos\ship_Request as ship_RequestRepo;
|
|
9:
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
12: use App\Services\FakeShipmentCart;
|
|
|
|
Line 11 [match: EPICOR]:
|
|
9:
|
|
10: use App\Services\EpicorDatabase;
|
|
>> 11: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
12: use App\Services\FakeShipmentCart;
|
|
13: use App\Services\InventoryHelper;
|
|
|
|
Line 235 [match: EPICOR]:
|
|
233: $srEN = $relRo->find(request()->route()->parameter('crud_edit_id'));
|
|
234:
|
|
>> 235: $selectedCustomer = $srEN->getQuestCompany()->getEpicorCustID();
|
|
236:
|
|
237:
|
|
|
|
Line 238 [match: EPICOR]:
|
|
236:
|
|
237:
|
|
>> 238: /** @var EpicorDatabase $EpicorDatabase */
|
|
239: $EpicorDatabase = app(EpicorDatabase::class);
|
|
240:
|
|
|
|
Line 239 [match: EPICOR]:
|
|
237:
|
|
238: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 239: $EpicorDatabase = app(EpicorDatabase::class);
|
|
240:
|
|
241: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 268 [match: EPICOR]:
|
|
266: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
267:
|
|
>> 268: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($selectedCustomer,$PartNum);
|
|
269:
|
|
270: $DataHandler->startTransaction();
|
|
|
|
Line 307 [match: EPICOR]:
|
|
305: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
306: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 307: /** @var EpicorDatabase $EpicorDB */
|
|
308: $EpicorDB = app(EpicorDatabase::class);
|
|
309: /** @var ShipmentCart $ShipmentCart */
|
|
|
|
Line 308 [match: EPICOR]:
|
|
306: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
307: /** @var EpicorDatabase $EpicorDB */
|
|
>> 308: $EpicorDB = app(EpicorDatabase::class);
|
|
309: /** @var ShipmentCart $ShipmentCart */
|
|
310: $ShipmentCart = app(ShipmentCart::class);
|
|
|
|
Line 324 [match: EPICOR]:
|
|
322: $srEN = $relRo->find(request()->route()->parameter('crud_edit_id'));
|
|
323:
|
|
>> 324: $customer = $srEN->getQuestCompany()->getEpicorCustID();
|
|
325:
|
|
326:
|
|
|
|
Line 329 [match: EPICOR]:
|
|
327:
|
|
328:
|
|
>> 329: $PartDesc = $EpicorDB->getVorPartDescriptionFromPartNumber($customer, $Part);
|
|
330:
|
|
331:
|
|
|
|
Line 339 [match: EPICOR]:
|
|
337: $SourceName = 'Unprocessed';
|
|
338: $WrapClass = 'vor-orange';
|
|
>> 339: $TotalQOH = $EpicorDB->getInventoryUnprocessedQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
340: break;
|
|
341: case 'UP-REJECTSRETURNS':
|
|
|
|
Line 345 [match: EPICOR]:
|
|
343: $SourceName = 'Unprocessed (Rejects / Returns)';
|
|
344: $WrapClass = 'vor-purple';
|
|
>> 345: $TotalQOH = $EpicorDB->getInventoryUnprocessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
346: break;
|
|
347: case 'WIP':
|
|
|
|
Line 351 [match: EPICOR]:
|
|
349: $SourceName = 'Work In Progress';
|
|
350: $WrapClass = 'vor-green';
|
|
>> 351: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
352: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,' portal_WorkInProgressInventoryV6');
|
|
353: break;
|
|
|
|
Line 352 [match: EPICOR]:
|
|
350: $WrapClass = 'vor-green';
|
|
351: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 352: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,' portal_WorkInProgressInventoryV6');
|
|
353: break;
|
|
354: case 'FG':
|
|
|
|
Line 358 [match: EPICOR]:
|
|
356: $SourceName = 'Finished Goods';
|
|
357: $WrapClass = 'vor-blue';
|
|
>> 358: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
359: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
360: break;
|
|
|
|
Line 359 [match: EPICOR]:
|
|
357: $WrapClass = 'vor-blue';
|
|
358: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 359: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
360: break;
|
|
361: case 'P-OTHER':
|
|
|
|
Line 365 [match: EPICOR]:
|
|
363: $SourceName = 'Processed - Other';
|
|
364: $WrapClass = 'vor-yellow';
|
|
>> 365: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
366: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
367: break;
|
|
|
|
Line 366 [match: EPICOR]:
|
|
364: $WrapClass = 'vor-yellow';
|
|
365: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 366: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
367: break;
|
|
368: case 'P-REJECTSRETURNS':
|
|
|
|
Line 372 [match: EPICOR]:
|
|
370: $SourceName = 'Processed (Rejects / Returns)';
|
|
371: $WrapClass = 'vor-red';
|
|
>> 372: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
373: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
374: break;
|
|
|
|
Line 373 [match: EPICOR]:
|
|
371: $WrapClass = 'vor-red';
|
|
372: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($customer, $Part, $Plant, $Warehouse);
|
|
>> 373: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($customer, $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
374: break;
|
|
375: default:
|
|
|
|
Line 490 [match: EPICOR]:
|
|
488: private function _getGridSummary($dataFunc, $metaFunc, $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
489: {
|
|
>> 490: /** @var EpicorDatabase $EpicorDB */
|
|
491: $EpicorDB = app(EpicorDatabase::class);
|
|
492: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 491 [match: EPICOR]:
|
|
489: {
|
|
490: /** @var EpicorDatabase $EpicorDB */
|
|
>> 491: $EpicorDB = app(EpicorDatabase::class);
|
|
492: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
493: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 495 [match: EPICOR]:
|
|
493: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
494:
|
|
>> 495: // dd($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
496:
|
|
497: $ceid = request()->route()->parameter('crud_edit_id');
|
|
|
|
Line 505 [match: EPICOR]:
|
|
503: $shipment = $sr->find($ceid);
|
|
504:
|
|
>> 505: $company = $shipment->getQuestCompany()->getEpicorCustID();
|
|
506:
|
|
507:
|
|
|
|
Line 508 [match: EPICOR]:
|
|
506:
|
|
507:
|
|
>> 508: $Data = $EpicorDB->$dataFunc($company);
|
|
509:
|
|
510:
|
|
|
|
Line 536 [match: EPICOR]:
|
|
534: public function getUnprocessedSummaryRRGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
535: {
|
|
>> 536: /** @var EpicorDatabase $EpicorDB */
|
|
537: $EpicorDB = app(EpicorDatabase::class);
|
|
538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
|
|
Line 537 [match: EPICOR]:
|
|
535: {
|
|
536: /** @var EpicorDatabase $EpicorDB */
|
|
>> 537: $EpicorDB = app(EpicorDatabase::class);
|
|
538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
539: return $this->_getGridSummary('getInventoryUnprocessedRRSummaryData', '_getUnprocessedRRSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 538 [match: EPICOR]:
|
|
536: /** @var EpicorDatabase $EpicorDB */
|
|
537: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 538: // $EpicorDB->getInventoryUnprocessedRRSummaryData()
|
|
539: return $this->_getGridSummary('getInventoryUnprocessedRRSummaryData', '_getUnprocessedRRSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
540: }
|
|
|
|
Line 544 [match: EPICOR]:
|
|
542: public function getWorkInProgressSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
543: {
|
|
>> 544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 545 [match: EPICOR]:
|
|
543: {
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
>> 545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
547: return $this->_getGridSummary('getInventoryWorkInProgressSummaryData', '_getWorkInProgressSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 546 [match: EPICOR]:
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 546: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
547: return $this->_getGridSummary('getInventoryWorkInProgressSummaryData', '_getWorkInProgressSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
548: }
|
|
|
|
Line 552 [match: EPICOR]:
|
|
550: public function getFinishedGoodsSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
551: {
|
|
>> 552: /** @var EpicorDatabase $EpicorDB */
|
|
553: $EpicorDB = app(EpicorDatabase::class);
|
|
554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 553 [match: EPICOR]:
|
|
551: {
|
|
552: /** @var EpicorDatabase $EpicorDB */
|
|
>> 553: $EpicorDB = app(EpicorDatabase::class);
|
|
554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
555: return $this->_getGridSummary('getInventoryFinishedGoodsSummaryData', '_getFinishedGoodsSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 554 [match: EPICOR]:
|
|
552: /** @var EpicorDatabase $EpicorDB */
|
|
553: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 554: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
555: return $this->_getGridSummary('getInventoryFinishedGoodsSummaryData', '_getFinishedGoodsSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
556: }
|
|
|
|
Line 560 [match: EPICOR]:
|
|
558: public function getProcessedOtherSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
559: {
|
|
>> 560: /** @var EpicorDatabase $EpicorDB */
|
|
561: $EpicorDB = app(EpicorDatabase::class);
|
|
562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
|
|
Line 561 [match: EPICOR]:
|
|
559: {
|
|
560: /** @var EpicorDatabase $EpicorDB */
|
|
>> 561: $EpicorDB = app(EpicorDatabase::class);
|
|
562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
563: return $this->_getGridSummary('getInventoryProcessedOtherSummaryData', '_getProcessedOtherSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
|
|
Line 562 [match: EPICOR]:
|
|
560: /** @var EpicorDatabase $EpicorDB */
|
|
561: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 562: // $EpicorDB->getInventoryProcessedSummaryData()
|
|
563: return $this->_getGridSummary('getInventoryProcessedOtherSummaryData', '_getProcessedOtherSummaryMetadata', $GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData);
|
|
564: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\Admin\WaveProcessController.php
|
|
================================================================================
|
|
Line 5 [match: wave]:
|
|
3: namespace App\Http\Controllers\Quest\Admin;
|
|
4:
|
|
>> 5: use App\Model\Entities\wave_ProcessHistory;
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Entities\wave_ProcessHistory;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
8: use Savvior\Data\RecordListResult;
|
|
|
|
Line 7 [match: wave]:
|
|
5: use App\Model\Entities\wave_ProcessHistory;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use Savvior\Data\RecordListResult;
|
|
9: use Savvior\Laravel\App\Services\RouteHelper;
|
|
|
|
Line 18 [match: wave]:
|
|
16: use Savvior\UI\Grid\Menu\Template\MenuTemplate;
|
|
17:
|
|
>> 18: class WaveProcessController extends CrudBase
|
|
19: {
|
|
20: protected $entityName = 'wave_Process';
|
|
|
|
Line 20 [match: wave]:
|
|
18: class WaveProcessController extends CrudBase
|
|
19: {
|
|
>> 20: protected $entityName = 'wave_Process';
|
|
21: protected $masterTemplate = 'quest.admin.wave_edi.index';
|
|
22: protected $templateMainSection = 'crud_main';
|
|
|
|
Line 21 [match: wave]:
|
|
19: {
|
|
20: protected $entityName = 'wave_Process';
|
|
>> 21: protected $masterTemplate = 'quest.admin.wave_edi.index';
|
|
22: protected $templateMainSection = 'crud_main';
|
|
23: protected $templateScriptsSection = 'crud_scripts';
|
|
|
|
Line 37 [match: wave]:
|
|
35: public function getView()
|
|
36: {
|
|
>> 37: $this->masterTemplate = 'quest.admin.wave_edi.show';
|
|
38:
|
|
39: /** @var wave_Process $wave_ProcessRepo */
|
|
|
|
Line 39 [match: wave]:
|
|
37: $this->masterTemplate = 'quest.admin.wave_edi.show';
|
|
38:
|
|
>> 39: /** @var wave_Process $wave_ProcessRepo */
|
|
40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
|
|
Line 40 [match: wave]:
|
|
38:
|
|
39: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 42 [match: wave]:
|
|
40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
>> 42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
|
|
Line 43 [match: wave]:
|
|
41:
|
|
42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
45: $wave_ProcessHistoryGrid = $this->_makeProcessHistoryGrid($wave_Process);
|
|
|
|
Line 45 [match: wave]:
|
|
43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
>> 45: $wave_ProcessHistoryGrid = $this->_makeProcessHistoryGrid($wave_Process);
|
|
46:
|
|
47: /** @var RouteHelper $RouteHelper */
|
|
|
|
Line 65 [match: wave]:
|
|
63: $DisplayHTML = $Display->render();
|
|
64:
|
|
>> 65: return view('lcrudbase::view', $this->_appendTemplateInfoForView(array_merge($wave_ProcessHistoryGrid, compact('DisplayHTML'))));
|
|
66: }
|
|
67:
|
|
|
|
Line 69 [match: wave]:
|
|
67:
|
|
68: /**
|
|
>> 69: * @param WaveService $WaveService
|
|
70: * @param wave_Process $wave_ProcessRepo
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
|
|
Line 70 [match: wave]:
|
|
68: /**
|
|
69: * @param WaveService $WaveService
|
|
>> 70: * @param wave_Process $wave_ProcessRepo
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
72: */
|
|
|
|
Line 73 [match: wave]:
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
72: */
|
|
>> 73: public function reprocessStep(WaveService $WaveService, wave_Process $wave_ProcessRepo)
|
|
74: {
|
|
75: try {
|
|
|
|
Line 84 [match: wave]:
|
|
82: else
|
|
83: {
|
|
>> 84: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
85: if($wave_Process === null)
|
|
86: return redirect()->back()->withErrors('Process CodingKey not found');
|
|
|
|
Line 85 [match: wave]:
|
|
83: {
|
|
84: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
>> 85: if($wave_Process === null)
|
|
86: return redirect()->back()->withErrors('Process CodingKey not found');
|
|
87:
|
|
|
|
Line 100 [match: wave]:
|
|
98:
|
|
99: /**
|
|
>> 100: * @param WaveService $WaveService
|
|
101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
102: * @param $wave_ProcessHistory_PK
|
|
|
|
Line 101 [match: wave]:
|
|
99: /**
|
|
100: * @param WaveService $WaveService
|
|
>> 101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
102: * @param $wave_ProcessHistory_PK
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
|
|
Line 102 [match: wave]:
|
|
100: * @param WaveService $WaveService
|
|
101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
>> 102: * @param $wave_ProcessHistory_PK
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
104: */
|
|
|
|
Line 105 [match: wave]:
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
104: */
|
|
>> 105: public function downloadResults(WaveService $WaveService, \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo, $wave_ProcessHistory_PK)
|
|
106: {
|
|
107: try{
|
|
|
|
Line 108 [match: wave]:
|
|
106: {
|
|
107: try{
|
|
>> 108: /** @var wave_ProcessHistory $wave_ProcessHistory */
|
|
109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
|
|
Line 109 [match: wave]:
|
|
107: try{
|
|
108: /** @var wave_ProcessHistory $wave_ProcessHistory */
|
|
>> 109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
111: if($wave_ProcessHistory === null || $wave_ProcessHistory->getResultsFilePath() === null)
|
|
|
|
Line 111 [match: wave]:
|
|
109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
>> 111: if($wave_ProcessHistory === null || $wave_ProcessHistory->getResultsFilePath() === null)
|
|
112: return redirect()->back()->withErrors('No results file exists');
|
|
113:
|
|
|
|
Line 114 [match: wave]:
|
|
112: return redirect()->back()->withErrors('No results file exists');
|
|
113:
|
|
>> 114: return response()->download(storage_path('app\\' . $wave_ProcessHistory->getResultsFilePath()));
|
|
115: }
|
|
116: catch(\Exception $e) {
|
|
|
|
Line 134 [match: wave]:
|
|
132: /**
|
|
133: * Creates the HTML and JavaScript for the one-to-many
|
|
>> 134: * relationship of wave_Process(1) -> wave_ProcessHistory(M)
|
|
135: *
|
|
136: * @param \App\Model\Entities\wave_Process $wave_Process
|
|
|
|
Line 136 [match: wave]:
|
|
134: * relationship of wave_Process(1) -> wave_ProcessHistory(M)
|
|
135: *
|
|
>> 136: * @param \App\Model\Entities\wave_Process $wave_Process
|
|
137: * @return array
|
|
138: * @throws \Exception
|
|
|
|
Line 140 [match: wave]:
|
|
138: * @throws \Exception
|
|
139: */
|
|
>> 140: private function _makeProcessHistoryGrid(\App\Model\Entities\wave_Process $wave_Process)
|
|
141: {
|
|
142: try{
|
|
|
|
Line 143 [match: wave]:
|
|
141: {
|
|
142: try{
|
|
>> 143: $Grid = $this->_getProcessHistoryGridObject($wave_Process);
|
|
144: $GridID = $Grid->getGridID();
|
|
145: $GridJS = $Grid->render();
|
|
|
|
Line 150 [match: wave]:
|
|
148: }
|
|
149: catch(\Exception $e) {
|
|
>> 150: throw new \Exception('Exception thrown when creating the wave_ProcessHistory grid: ' . $e->getMessage());
|
|
151: }
|
|
152: }
|
|
|
|
Line 163 [match: wave]:
|
|
161: $MetadataFactory = app(MetadataFactory::class);
|
|
162:
|
|
>> 163: $Metadata = $MetadataFactory->getEntity('wave_ProcessHistory');
|
|
164: $Metadata->setLabel('Run History');
|
|
165: $Metadata->getField('RanDT')->setType(FieldMetadataField::TYPE_DATETIME)->setIsFilterableInRecordLists(true);
|
|
|
|
Line 174 [match: wave]:
|
|
172:
|
|
173: /**
|
|
>> 174: * @param $wave_Process
|
|
175: * @return \Savvior\UI\Grid\Grid
|
|
176: * @throws \Savvior\UI\Grid\GridException
|
|
|
|
Line 179 [match: wave]:
|
|
177: * @throws \Savvior\UI\Grid\Menu\GridMenuException
|
|
178: */
|
|
>> 179: private function _getProcessHistoryGridObject($wave_Process)
|
|
180: {
|
|
181: /** @var GridFactory $GridFactory */
|
|
|
|
Line 186 [match: wave]:
|
|
184:
|
|
185: $Data = [];
|
|
>> 186: /** @var wave_ProcessHistory $wave_ProcessHistoryItem */
|
|
187: foreach($wave_Process->getWaveProcessHistory() as $wave_ProcessHistoryItem)
|
|
188: {
|
|
|
|
Line 187 [match: wave]:
|
|
185: $Data = [];
|
|
186: /** @var wave_ProcessHistory $wave_ProcessHistoryItem */
|
|
>> 187: foreach($wave_Process->getWaveProcessHistory() as $wave_ProcessHistoryItem)
|
|
188: {
|
|
189: $Data[] = [
|
|
|
|
Line 190 [match: wave]:
|
|
188: {
|
|
189: $Data[] = [
|
|
>> 190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
|
|
Line 191 [match: wave]:
|
|
189: $Data[] = [
|
|
190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
>> 191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
|
|
Line 192 [match: wave]:
|
|
190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
>> 192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
|
|
Line 193 [match: wave]:
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
>> 193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
|
|
Line 194 [match: wave]:
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
>> 194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
196: ];
|
|
|
|
Line 195 [match: wave]:
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
>> 195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
196: ];
|
|
197: }
|
|
|
|
Line 5 [match: Wave]:
|
|
3: namespace App\Http\Controllers\Quest\Admin;
|
|
4:
|
|
>> 5: use App\Model\Entities\wave_ProcessHistory;
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Entities\wave_ProcessHistory;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
8: use Savvior\Data\RecordListResult;
|
|
|
|
Line 7 [match: Wave]:
|
|
5: use App\Model\Entities\wave_ProcessHistory;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use Savvior\Data\RecordListResult;
|
|
9: use Savvior\Laravel\App\Services\RouteHelper;
|
|
|
|
Line 18 [match: Wave]:
|
|
16: use Savvior\UI\Grid\Menu\Template\MenuTemplate;
|
|
17:
|
|
>> 18: class WaveProcessController extends CrudBase
|
|
19: {
|
|
20: protected $entityName = 'wave_Process';
|
|
|
|
Line 20 [match: Wave]:
|
|
18: class WaveProcessController extends CrudBase
|
|
19: {
|
|
>> 20: protected $entityName = 'wave_Process';
|
|
21: protected $masterTemplate = 'quest.admin.wave_edi.index';
|
|
22: protected $templateMainSection = 'crud_main';
|
|
|
|
Line 21 [match: Wave]:
|
|
19: {
|
|
20: protected $entityName = 'wave_Process';
|
|
>> 21: protected $masterTemplate = 'quest.admin.wave_edi.index';
|
|
22: protected $templateMainSection = 'crud_main';
|
|
23: protected $templateScriptsSection = 'crud_scripts';
|
|
|
|
Line 37 [match: Wave]:
|
|
35: public function getView()
|
|
36: {
|
|
>> 37: $this->masterTemplate = 'quest.admin.wave_edi.show';
|
|
38:
|
|
39: /** @var wave_Process $wave_ProcessRepo */
|
|
|
|
Line 39 [match: Wave]:
|
|
37: $this->masterTemplate = 'quest.admin.wave_edi.show';
|
|
38:
|
|
>> 39: /** @var wave_Process $wave_ProcessRepo */
|
|
40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
|
|
Line 40 [match: Wave]:
|
|
38:
|
|
39: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 42 [match: Wave]:
|
|
40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
>> 42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
|
|
Line 43 [match: Wave]:
|
|
41:
|
|
42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
45: $wave_ProcessHistoryGrid = $this->_makeProcessHistoryGrid($wave_Process);
|
|
|
|
Line 45 [match: Wave]:
|
|
43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
>> 45: $wave_ProcessHistoryGrid = $this->_makeProcessHistoryGrid($wave_Process);
|
|
46:
|
|
47: /** @var RouteHelper $RouteHelper */
|
|
|
|
Line 65 [match: Wave]:
|
|
63: $DisplayHTML = $Display->render();
|
|
64:
|
|
>> 65: return view('lcrudbase::view', $this->_appendTemplateInfoForView(array_merge($wave_ProcessHistoryGrid, compact('DisplayHTML'))));
|
|
66: }
|
|
67:
|
|
|
|
Line 69 [match: Wave]:
|
|
67:
|
|
68: /**
|
|
>> 69: * @param WaveService $WaveService
|
|
70: * @param wave_Process $wave_ProcessRepo
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
|
|
Line 70 [match: Wave]:
|
|
68: /**
|
|
69: * @param WaveService $WaveService
|
|
>> 70: * @param wave_Process $wave_ProcessRepo
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
72: */
|
|
|
|
Line 73 [match: Wave]:
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
72: */
|
|
>> 73: public function reprocessStep(WaveService $WaveService, wave_Process $wave_ProcessRepo)
|
|
74: {
|
|
75: try {
|
|
|
|
Line 84 [match: Wave]:
|
|
82: else
|
|
83: {
|
|
>> 84: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
85: if($wave_Process === null)
|
|
86: return redirect()->back()->withErrors('Process CodingKey not found');
|
|
|
|
Line 85 [match: Wave]:
|
|
83: {
|
|
84: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
>> 85: if($wave_Process === null)
|
|
86: return redirect()->back()->withErrors('Process CodingKey not found');
|
|
87:
|
|
|
|
Line 100 [match: Wave]:
|
|
98:
|
|
99: /**
|
|
>> 100: * @param WaveService $WaveService
|
|
101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
102: * @param $wave_ProcessHistory_PK
|
|
|
|
Line 101 [match: Wave]:
|
|
99: /**
|
|
100: * @param WaveService $WaveService
|
|
>> 101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
102: * @param $wave_ProcessHistory_PK
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
|
|
Line 102 [match: Wave]:
|
|
100: * @param WaveService $WaveService
|
|
101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
>> 102: * @param $wave_ProcessHistory_PK
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
104: */
|
|
|
|
Line 105 [match: Wave]:
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
104: */
|
|
>> 105: public function downloadResults(WaveService $WaveService, \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo, $wave_ProcessHistory_PK)
|
|
106: {
|
|
107: try{
|
|
|
|
Line 108 [match: Wave]:
|
|
106: {
|
|
107: try{
|
|
>> 108: /** @var wave_ProcessHistory $wave_ProcessHistory */
|
|
109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
|
|
Line 109 [match: Wave]:
|
|
107: try{
|
|
108: /** @var wave_ProcessHistory $wave_ProcessHistory */
|
|
>> 109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
111: if($wave_ProcessHistory === null || $wave_ProcessHistory->getResultsFilePath() === null)
|
|
|
|
Line 111 [match: Wave]:
|
|
109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
>> 111: if($wave_ProcessHistory === null || $wave_ProcessHistory->getResultsFilePath() === null)
|
|
112: return redirect()->back()->withErrors('No results file exists');
|
|
113:
|
|
|
|
Line 114 [match: Wave]:
|
|
112: return redirect()->back()->withErrors('No results file exists');
|
|
113:
|
|
>> 114: return response()->download(storage_path('app\\' . $wave_ProcessHistory->getResultsFilePath()));
|
|
115: }
|
|
116: catch(\Exception $e) {
|
|
|
|
Line 134 [match: Wave]:
|
|
132: /**
|
|
133: * Creates the HTML and JavaScript for the one-to-many
|
|
>> 134: * relationship of wave_Process(1) -> wave_ProcessHistory(M)
|
|
135: *
|
|
136: * @param \App\Model\Entities\wave_Process $wave_Process
|
|
|
|
Line 136 [match: Wave]:
|
|
134: * relationship of wave_Process(1) -> wave_ProcessHistory(M)
|
|
135: *
|
|
>> 136: * @param \App\Model\Entities\wave_Process $wave_Process
|
|
137: * @return array
|
|
138: * @throws \Exception
|
|
|
|
Line 140 [match: Wave]:
|
|
138: * @throws \Exception
|
|
139: */
|
|
>> 140: private function _makeProcessHistoryGrid(\App\Model\Entities\wave_Process $wave_Process)
|
|
141: {
|
|
142: try{
|
|
|
|
Line 143 [match: Wave]:
|
|
141: {
|
|
142: try{
|
|
>> 143: $Grid = $this->_getProcessHistoryGridObject($wave_Process);
|
|
144: $GridID = $Grid->getGridID();
|
|
145: $GridJS = $Grid->render();
|
|
|
|
Line 150 [match: Wave]:
|
|
148: }
|
|
149: catch(\Exception $e) {
|
|
>> 150: throw new \Exception('Exception thrown when creating the wave_ProcessHistory grid: ' . $e->getMessage());
|
|
151: }
|
|
152: }
|
|
|
|
Line 163 [match: Wave]:
|
|
161: $MetadataFactory = app(MetadataFactory::class);
|
|
162:
|
|
>> 163: $Metadata = $MetadataFactory->getEntity('wave_ProcessHistory');
|
|
164: $Metadata->setLabel('Run History');
|
|
165: $Metadata->getField('RanDT')->setType(FieldMetadataField::TYPE_DATETIME)->setIsFilterableInRecordLists(true);
|
|
|
|
Line 174 [match: Wave]:
|
|
172:
|
|
173: /**
|
|
>> 174: * @param $wave_Process
|
|
175: * @return \Savvior\UI\Grid\Grid
|
|
176: * @throws \Savvior\UI\Grid\GridException
|
|
|
|
Line 179 [match: Wave]:
|
|
177: * @throws \Savvior\UI\Grid\Menu\GridMenuException
|
|
178: */
|
|
>> 179: private function _getProcessHistoryGridObject($wave_Process)
|
|
180: {
|
|
181: /** @var GridFactory $GridFactory */
|
|
|
|
Line 186 [match: Wave]:
|
|
184:
|
|
185: $Data = [];
|
|
>> 186: /** @var wave_ProcessHistory $wave_ProcessHistoryItem */
|
|
187: foreach($wave_Process->getWaveProcessHistory() as $wave_ProcessHistoryItem)
|
|
188: {
|
|
|
|
Line 187 [match: Wave]:
|
|
185: $Data = [];
|
|
186: /** @var wave_ProcessHistory $wave_ProcessHistoryItem */
|
|
>> 187: foreach($wave_Process->getWaveProcessHistory() as $wave_ProcessHistoryItem)
|
|
188: {
|
|
189: $Data[] = [
|
|
|
|
Line 190 [match: Wave]:
|
|
188: {
|
|
189: $Data[] = [
|
|
>> 190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
|
|
Line 191 [match: Wave]:
|
|
189: $Data[] = [
|
|
190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
>> 191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
|
|
Line 192 [match: Wave]:
|
|
190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
>> 192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
|
|
Line 193 [match: Wave]:
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
>> 193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
|
|
Line 194 [match: Wave]:
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
>> 194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
196: ];
|
|
|
|
Line 195 [match: Wave]:
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
>> 195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
196: ];
|
|
197: }
|
|
|
|
Line 5 [match: WAVE]:
|
|
3: namespace App\Http\Controllers\Quest\Admin;
|
|
4:
|
|
>> 5: use App\Model\Entities\wave_ProcessHistory;
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Entities\wave_ProcessHistory;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Services\WaveEdi\WaveService;
|
|
8: use Savvior\Data\RecordListResult;
|
|
|
|
Line 7 [match: WAVE]:
|
|
5: use App\Model\Entities\wave_ProcessHistory;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Services\WaveEdi\WaveService;
|
|
8: use Savvior\Data\RecordListResult;
|
|
9: use Savvior\Laravel\App\Services\RouteHelper;
|
|
|
|
Line 18 [match: WAVE]:
|
|
16: use Savvior\UI\Grid\Menu\Template\MenuTemplate;
|
|
17:
|
|
>> 18: class WaveProcessController extends CrudBase
|
|
19: {
|
|
20: protected $entityName = 'wave_Process';
|
|
|
|
Line 20 [match: WAVE]:
|
|
18: class WaveProcessController extends CrudBase
|
|
19: {
|
|
>> 20: protected $entityName = 'wave_Process';
|
|
21: protected $masterTemplate = 'quest.admin.wave_edi.index';
|
|
22: protected $templateMainSection = 'crud_main';
|
|
|
|
Line 21 [match: WAVE]:
|
|
19: {
|
|
20: protected $entityName = 'wave_Process';
|
|
>> 21: protected $masterTemplate = 'quest.admin.wave_edi.index';
|
|
22: protected $templateMainSection = 'crud_main';
|
|
23: protected $templateScriptsSection = 'crud_scripts';
|
|
|
|
Line 37 [match: WAVE]:
|
|
35: public function getView()
|
|
36: {
|
|
>> 37: $this->masterTemplate = 'quest.admin.wave_edi.show';
|
|
38:
|
|
39: /** @var wave_Process $wave_ProcessRepo */
|
|
|
|
Line 39 [match: WAVE]:
|
|
37: $this->masterTemplate = 'quest.admin.wave_edi.show';
|
|
38:
|
|
>> 39: /** @var wave_Process $wave_ProcessRepo */
|
|
40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
|
|
Line 40 [match: WAVE]:
|
|
38:
|
|
39: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 42 [match: WAVE]:
|
|
40: $wave_ProcessRepo = app(wave_Process::class);
|
|
41:
|
|
>> 42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
|
|
Line 43 [match: WAVE]:
|
|
41:
|
|
42: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
45: $wave_ProcessHistoryGrid = $this->_makeProcessHistoryGrid($wave_Process);
|
|
|
|
Line 45 [match: WAVE]:
|
|
43: $wave_Process = $wave_ProcessRepo->findOneBy(['ID' => \Route::getCurrentRoute()->parameter('crud_view_id')]);
|
|
44:
|
|
>> 45: $wave_ProcessHistoryGrid = $this->_makeProcessHistoryGrid($wave_Process);
|
|
46:
|
|
47: /** @var RouteHelper $RouteHelper */
|
|
|
|
Line 65 [match: WAVE]:
|
|
63: $DisplayHTML = $Display->render();
|
|
64:
|
|
>> 65: return view('lcrudbase::view', $this->_appendTemplateInfoForView(array_merge($wave_ProcessHistoryGrid, compact('DisplayHTML'))));
|
|
66: }
|
|
67:
|
|
|
|
Line 69 [match: WAVE]:
|
|
67:
|
|
68: /**
|
|
>> 69: * @param WaveService $WaveService
|
|
70: * @param wave_Process $wave_ProcessRepo
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
|
|
Line 70 [match: WAVE]:
|
|
68: /**
|
|
69: * @param WaveService $WaveService
|
|
>> 70: * @param wave_Process $wave_ProcessRepo
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
72: */
|
|
|
|
Line 73 [match: WAVE]:
|
|
71: * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
|
|
72: */
|
|
>> 73: public function reprocessStep(WaveService $WaveService, wave_Process $wave_ProcessRepo)
|
|
74: {
|
|
75: try {
|
|
|
|
Line 84 [match: WAVE]:
|
|
82: else
|
|
83: {
|
|
>> 84: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
85: if($wave_Process === null)
|
|
86: return redirect()->back()->withErrors('Process CodingKey not found');
|
|
|
|
Line 85 [match: WAVE]:
|
|
83: {
|
|
84: $wave_Process = $WaveService->lookupProcess($ProcessCodingKey);
|
|
>> 85: if($wave_Process === null)
|
|
86: return redirect()->back()->withErrors('Process CodingKey not found');
|
|
87:
|
|
|
|
Line 100 [match: WAVE]:
|
|
98:
|
|
99: /**
|
|
>> 100: * @param WaveService $WaveService
|
|
101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
102: * @param $wave_ProcessHistory_PK
|
|
|
|
Line 101 [match: WAVE]:
|
|
99: /**
|
|
100: * @param WaveService $WaveService
|
|
>> 101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
102: * @param $wave_ProcessHistory_PK
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
|
|
Line 102 [match: WAVE]:
|
|
100: * @param WaveService $WaveService
|
|
101: * @param \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo
|
|
>> 102: * @param $wave_ProcessHistory_PK
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
104: */
|
|
|
|
Line 105 [match: WAVE]:
|
|
103: * @return \Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
104: */
|
|
>> 105: public function downloadResults(WaveService $WaveService, \App\Model\Repos\wave_ProcessHistory $wave_ProcessHistoryRepo, $wave_ProcessHistory_PK)
|
|
106: {
|
|
107: try{
|
|
|
|
Line 108 [match: WAVE]:
|
|
106: {
|
|
107: try{
|
|
>> 108: /** @var wave_ProcessHistory $wave_ProcessHistory */
|
|
109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
|
|
Line 109 [match: WAVE]:
|
|
107: try{
|
|
108: /** @var wave_ProcessHistory $wave_ProcessHistory */
|
|
>> 109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
111: if($wave_ProcessHistory === null || $wave_ProcessHistory->getResultsFilePath() === null)
|
|
|
|
Line 111 [match: WAVE]:
|
|
109: $wave_ProcessHistory = $wave_ProcessHistoryRepo->findOneBy(['ID' => $wave_ProcessHistory_PK]);
|
|
110:
|
|
>> 111: if($wave_ProcessHistory === null || $wave_ProcessHistory->getResultsFilePath() === null)
|
|
112: return redirect()->back()->withErrors('No results file exists');
|
|
113:
|
|
|
|
Line 114 [match: WAVE]:
|
|
112: return redirect()->back()->withErrors('No results file exists');
|
|
113:
|
|
>> 114: return response()->download(storage_path('app\\' . $wave_ProcessHistory->getResultsFilePath()));
|
|
115: }
|
|
116: catch(\Exception $e) {
|
|
|
|
Line 134 [match: WAVE]:
|
|
132: /**
|
|
133: * Creates the HTML and JavaScript for the one-to-many
|
|
>> 134: * relationship of wave_Process(1) -> wave_ProcessHistory(M)
|
|
135: *
|
|
136: * @param \App\Model\Entities\wave_Process $wave_Process
|
|
|
|
Line 136 [match: WAVE]:
|
|
134: * relationship of wave_Process(1) -> wave_ProcessHistory(M)
|
|
135: *
|
|
>> 136: * @param \App\Model\Entities\wave_Process $wave_Process
|
|
137: * @return array
|
|
138: * @throws \Exception
|
|
|
|
Line 140 [match: WAVE]:
|
|
138: * @throws \Exception
|
|
139: */
|
|
>> 140: private function _makeProcessHistoryGrid(\App\Model\Entities\wave_Process $wave_Process)
|
|
141: {
|
|
142: try{
|
|
|
|
Line 143 [match: WAVE]:
|
|
141: {
|
|
142: try{
|
|
>> 143: $Grid = $this->_getProcessHistoryGridObject($wave_Process);
|
|
144: $GridID = $Grid->getGridID();
|
|
145: $GridJS = $Grid->render();
|
|
|
|
Line 150 [match: WAVE]:
|
|
148: }
|
|
149: catch(\Exception $e) {
|
|
>> 150: throw new \Exception('Exception thrown when creating the wave_ProcessHistory grid: ' . $e->getMessage());
|
|
151: }
|
|
152: }
|
|
|
|
Line 163 [match: WAVE]:
|
|
161: $MetadataFactory = app(MetadataFactory::class);
|
|
162:
|
|
>> 163: $Metadata = $MetadataFactory->getEntity('wave_ProcessHistory');
|
|
164: $Metadata->setLabel('Run History');
|
|
165: $Metadata->getField('RanDT')->setType(FieldMetadataField::TYPE_DATETIME)->setIsFilterableInRecordLists(true);
|
|
|
|
Line 174 [match: WAVE]:
|
|
172:
|
|
173: /**
|
|
>> 174: * @param $wave_Process
|
|
175: * @return \Savvior\UI\Grid\Grid
|
|
176: * @throws \Savvior\UI\Grid\GridException
|
|
|
|
Line 179 [match: WAVE]:
|
|
177: * @throws \Savvior\UI\Grid\Menu\GridMenuException
|
|
178: */
|
|
>> 179: private function _getProcessHistoryGridObject($wave_Process)
|
|
180: {
|
|
181: /** @var GridFactory $GridFactory */
|
|
|
|
Line 186 [match: WAVE]:
|
|
184:
|
|
185: $Data = [];
|
|
>> 186: /** @var wave_ProcessHistory $wave_ProcessHistoryItem */
|
|
187: foreach($wave_Process->getWaveProcessHistory() as $wave_ProcessHistoryItem)
|
|
188: {
|
|
|
|
Line 187 [match: WAVE]:
|
|
185: $Data = [];
|
|
186: /** @var wave_ProcessHistory $wave_ProcessHistoryItem */
|
|
>> 187: foreach($wave_Process->getWaveProcessHistory() as $wave_ProcessHistoryItem)
|
|
188: {
|
|
189: $Data[] = [
|
|
|
|
Line 190 [match: WAVE]:
|
|
188: {
|
|
189: $Data[] = [
|
|
>> 190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
|
|
Line 191 [match: WAVE]:
|
|
189: $Data[] = [
|
|
190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
>> 191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
|
|
Line 192 [match: WAVE]:
|
|
190: 'ID' => $wave_ProcessHistoryItem->getID(),
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
>> 192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
|
|
Line 193 [match: WAVE]:
|
|
191: 'Results' => $wave_ProcessHistoryItem->getResults(),
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
>> 193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
|
|
Line 194 [match: WAVE]:
|
|
192: 'WasSuccessful' => $wave_ProcessHistoryItem->getWasSuccessful(),
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
>> 194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
196: ];
|
|
|
|
Line 195 [match: WAVE]:
|
|
193: 'WasManual' => $wave_ProcessHistoryItem->getWasManual(),
|
|
194: 'RanDT' => $wave_ProcessHistoryItem->getRanDT(),
|
|
>> 195: 'ResultsFilePath' => $wave_ProcessHistoryItem->getResultsFilePath(),
|
|
196: ];
|
|
197: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\CoilAllocation\BaseCoilAllocationRequestController.php
|
|
================================================================================
|
|
Line 10 [match: epicor]:
|
|
8: use App\Services\CoilAllocation\HistoricalAllocationCart;
|
|
9: use App\Services\CoilAllocationHelper;
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\QuestPageValues;
|
|
12: use App\Services\SelectedCompanyProvider;
|
|
|
|
Line 197 [match: epicor]:
|
|
195: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
196: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 197: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
198: }
|
|
199:
|
|
|
|
Line 352 [match: epicor]:
|
|
350: /** @var DataHandler $DataHandler */
|
|
351: $DataHandler = app(DataHandler::class);
|
|
>> 352: /** @var EpicorDatabase $EpicorDatabase */
|
|
353: $EpicorDatabase = app(EpicorDatabase::class);
|
|
354: /** @var alloc_Request $coilAllocationRequestsRepo */
|
|
|
|
Line 353 [match: epicor]:
|
|
351: $DataHandler = app(DataHandler::class);
|
|
352: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 353: $EpicorDatabase = app(EpicorDatabase::class);
|
|
354: /** @var alloc_Request $coilAllocationRequestsRepo */
|
|
355: $coilAllocationRequestsRepo = app(alloc_Request::class);
|
|
|
|
Line 376 [match: epicor]:
|
|
374: /*
|
|
375: try {
|
|
>> 376: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
377: } catch(Exception $e) {
|
|
378: $PlantUserEmails = [];
|
|
|
|
Line 10 [match: Epicor]:
|
|
8: use App\Services\CoilAllocation\HistoricalAllocationCart;
|
|
9: use App\Services\CoilAllocationHelper;
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\QuestPageValues;
|
|
12: use App\Services\SelectedCompanyProvider;
|
|
|
|
Line 197 [match: Epicor]:
|
|
195: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
196: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 197: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
198: }
|
|
199:
|
|
|
|
Line 352 [match: Epicor]:
|
|
350: /** @var DataHandler $DataHandler */
|
|
351: $DataHandler = app(DataHandler::class);
|
|
>> 352: /** @var EpicorDatabase $EpicorDatabase */
|
|
353: $EpicorDatabase = app(EpicorDatabase::class);
|
|
354: /** @var alloc_Request $coilAllocationRequestsRepo */
|
|
|
|
Line 353 [match: Epicor]:
|
|
351: $DataHandler = app(DataHandler::class);
|
|
352: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 353: $EpicorDatabase = app(EpicorDatabase::class);
|
|
354: /** @var alloc_Request $coilAllocationRequestsRepo */
|
|
355: $coilAllocationRequestsRepo = app(alloc_Request::class);
|
|
|
|
Line 376 [match: Epicor]:
|
|
374: /*
|
|
375: try {
|
|
>> 376: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
377: } catch(Exception $e) {
|
|
378: $PlantUserEmails = [];
|
|
|
|
Line 10 [match: EPICOR]:
|
|
8: use App\Services\CoilAllocation\HistoricalAllocationCart;
|
|
9: use App\Services\CoilAllocationHelper;
|
|
>> 10: use App\Services\EpicorDatabase;
|
|
11: use App\Services\QuestPageValues;
|
|
12: use App\Services\SelectedCompanyProvider;
|
|
|
|
Line 197 [match: EPICOR]:
|
|
195: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
196: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 197: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
198: }
|
|
199:
|
|
|
|
Line 352 [match: EPICOR]:
|
|
350: /** @var DataHandler $DataHandler */
|
|
351: $DataHandler = app(DataHandler::class);
|
|
>> 352: /** @var EpicorDatabase $EpicorDatabase */
|
|
353: $EpicorDatabase = app(EpicorDatabase::class);
|
|
354: /** @var alloc_Request $coilAllocationRequestsRepo */
|
|
|
|
Line 353 [match: EPICOR]:
|
|
351: $DataHandler = app(DataHandler::class);
|
|
352: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 353: $EpicorDatabase = app(EpicorDatabase::class);
|
|
354: /** @var alloc_Request $coilAllocationRequestsRepo */
|
|
355: $coilAllocationRequestsRepo = app(alloc_Request::class);
|
|
|
|
Line 376 [match: EPICOR]:
|
|
374: /*
|
|
375: try {
|
|
>> 376: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
377: } catch(Exception $e) {
|
|
378: $PlantUserEmails = [];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\CoilAllocation\CoilAllocationRequestController.php
|
|
================================================================================
|
|
Line 59 [match: epicor]:
|
|
57: $Data = request()->except(['_token']);
|
|
58:
|
|
>> 59: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
60:
|
|
61: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
Line 59 [match: Epicor]:
|
|
57: $Data = request()->except(['_token']);
|
|
58:
|
|
>> 59: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
60:
|
|
61: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
Line 59 [match: EPICOR]:
|
|
57: $Data = request()->except(['_token']);
|
|
58:
|
|
>> 59: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
60:
|
|
61: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\BaseCoilAllocationController.php
|
|
================================================================================
|
|
Line 11 [match: epicor]:
|
|
9: use App\Notifications\CoilAllocationCancelled;
|
|
10: use App\Notifications\CoilAllocationRequestCancellationNotification;
|
|
>> 11: use App\Services\EpicorDatabase;
|
|
12: use App\Services\CoilAllocation\HistoricalAllocationCart;
|
|
13: use App\Services\QuestPageValues;
|
|
|
|
Line 188 [match: epicor]:
|
|
186: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
187: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 188: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
189: }
|
|
190:
|
|
|
|
Line 351 [match: epicor]:
|
|
349: $MetadataFactory = app(MetadataFactory::class);
|
|
350: $DataHandler = app(DataHandler::class);
|
|
>> 351: $EpicorDatabase = app(EpicorDatabase::class);
|
|
352: $ROShipmentReleaseRepo = app(\App\Model\Repos\alloc_Request::class);
|
|
353: $ROEmailEventRepo = app(quest_EmailEventRepo::class);
|
|
|
|
Line 366 [match: epicor]:
|
|
364:
|
|
365: try {
|
|
>> 366: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
367: } catch(Exception $e) {
|
|
368: $PlantUserEmails = [];
|
|
|
|
Line 416 [match: epicor]:
|
|
414: private function __fetchJobInformationForHeader($JobNum)
|
|
415: {
|
|
>> 416: /** @var EpicorDatabase $EpicorDB */
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
|
|
Line 417 [match: epicor]:
|
|
415: {
|
|
416: /** @var EpicorDatabase $EpicorDB */
|
|
>> 417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
419: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
|
|
Line 419 [match: epicor]:
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
>> 419: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
420: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
421: //$CustomerName = $Job['Customer_Name'];
|
|
|
|
Line 11 [match: Epicor]:
|
|
9: use App\Notifications\CoilAllocationCancelled;
|
|
10: use App\Notifications\CoilAllocationRequestCancellationNotification;
|
|
>> 11: use App\Services\EpicorDatabase;
|
|
12: use App\Services\CoilAllocation\HistoricalAllocationCart;
|
|
13: use App\Services\QuestPageValues;
|
|
|
|
Line 188 [match: Epicor]:
|
|
186: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
187: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 188: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
189: }
|
|
190:
|
|
|
|
Line 351 [match: Epicor]:
|
|
349: $MetadataFactory = app(MetadataFactory::class);
|
|
350: $DataHandler = app(DataHandler::class);
|
|
>> 351: $EpicorDatabase = app(EpicorDatabase::class);
|
|
352: $ROShipmentReleaseRepo = app(\App\Model\Repos\alloc_Request::class);
|
|
353: $ROEmailEventRepo = app(quest_EmailEventRepo::class);
|
|
|
|
Line 366 [match: Epicor]:
|
|
364:
|
|
365: try {
|
|
>> 366: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
367: } catch(Exception $e) {
|
|
368: $PlantUserEmails = [];
|
|
|
|
Line 416 [match: Epicor]:
|
|
414: private function __fetchJobInformationForHeader($JobNum)
|
|
415: {
|
|
>> 416: /** @var EpicorDatabase $EpicorDB */
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
|
|
Line 417 [match: Epicor]:
|
|
415: {
|
|
416: /** @var EpicorDatabase $EpicorDB */
|
|
>> 417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
419: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
|
|
Line 419 [match: Epicor]:
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
>> 419: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
420: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
421: //$CustomerName = $Job['Customer_Name'];
|
|
|
|
Line 11 [match: EPICOR]:
|
|
9: use App\Notifications\CoilAllocationCancelled;
|
|
10: use App\Notifications\CoilAllocationRequestCancellationNotification;
|
|
>> 11: use App\Services\EpicorDatabase;
|
|
12: use App\Services\CoilAllocation\HistoricalAllocationCart;
|
|
13: use App\Services\QuestPageValues;
|
|
|
|
Line 188 [match: EPICOR]:
|
|
186: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
187: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 188: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
189: }
|
|
190:
|
|
|
|
Line 351 [match: EPICOR]:
|
|
349: $MetadataFactory = app(MetadataFactory::class);
|
|
350: $DataHandler = app(DataHandler::class);
|
|
>> 351: $EpicorDatabase = app(EpicorDatabase::class);
|
|
352: $ROShipmentReleaseRepo = app(\App\Model\Repos\alloc_Request::class);
|
|
353: $ROEmailEventRepo = app(quest_EmailEventRepo::class);
|
|
|
|
Line 366 [match: EPICOR]:
|
|
364:
|
|
365: try {
|
|
>> 366: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
367: } catch(Exception $e) {
|
|
368: $PlantUserEmails = [];
|
|
|
|
Line 416 [match: EPICOR]:
|
|
414: private function __fetchJobInformationForHeader($JobNum)
|
|
415: {
|
|
>> 416: /** @var EpicorDatabase $EpicorDB */
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
|
|
Line 417 [match: EPICOR]:
|
|
415: {
|
|
416: /** @var EpicorDatabase $EpicorDB */
|
|
>> 417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
419: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
|
|
Line 419 [match: EPICOR]:
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418:
|
|
>> 419: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
420: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
421: //$CustomerName = $Job['Customer_Name'];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\BaseShipmentReleaseController.php
|
|
================================================================================
|
|
Line 8 [match: epicor]:
|
|
6: use App\Notifications\ShipmentReleaseCancelled;
|
|
7: use App\Notifications\ShipmentReleaseRequestCancellation;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\HistoricalShipmentCart;
|
|
10: use App\Services\QuestPageValues;
|
|
|
|
Line 210 [match: epicor]:
|
|
208: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
209: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 210: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
211: }
|
|
212:
|
|
|
|
Line 377 [match: epicor]:
|
|
375: /** @var DataHandler $DataHandler */
|
|
376: $DataHandler = app(DataHandler::class);
|
|
>> 377: /** @var EpicorDatabase $EpicorDatabase */
|
|
378: $EpicorDatabase = app(EpicorDatabase::class);
|
|
379: /** @var ship_RequestRepo $ROShipmentReleaseRepo */
|
|
|
|
Line 378 [match: epicor]:
|
|
376: $DataHandler = app(DataHandler::class);
|
|
377: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 378: $EpicorDatabase = app(EpicorDatabase::class);
|
|
379: /** @var ship_RequestRepo $ROShipmentReleaseRepo */
|
|
380: $ROShipmentReleaseRepo = app(ship_RequestRepo::class);
|
|
|
|
Line 397 [match: epicor]:
|
|
395:
|
|
396: try {
|
|
>> 397: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
398: } catch(Exception $e) {
|
|
399: $PlantUserEmails = [];
|
|
|
|
Line 8 [match: Epicor]:
|
|
6: use App\Notifications\ShipmentReleaseCancelled;
|
|
7: use App\Notifications\ShipmentReleaseRequestCancellation;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\HistoricalShipmentCart;
|
|
10: use App\Services\QuestPageValues;
|
|
|
|
Line 210 [match: Epicor]:
|
|
208: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
209: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 210: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
211: }
|
|
212:
|
|
|
|
Line 377 [match: Epicor]:
|
|
375: /** @var DataHandler $DataHandler */
|
|
376: $DataHandler = app(DataHandler::class);
|
|
>> 377: /** @var EpicorDatabase $EpicorDatabase */
|
|
378: $EpicorDatabase = app(EpicorDatabase::class);
|
|
379: /** @var ship_RequestRepo $ROShipmentReleaseRepo */
|
|
|
|
Line 378 [match: Epicor]:
|
|
376: $DataHandler = app(DataHandler::class);
|
|
377: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 378: $EpicorDatabase = app(EpicorDatabase::class);
|
|
379: /** @var ship_RequestRepo $ROShipmentReleaseRepo */
|
|
380: $ROShipmentReleaseRepo = app(ship_RequestRepo::class);
|
|
|
|
Line 397 [match: Epicor]:
|
|
395:
|
|
396: try {
|
|
>> 397: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
398: } catch(Exception $e) {
|
|
399: $PlantUserEmails = [];
|
|
|
|
Line 8 [match: EPICOR]:
|
|
6: use App\Notifications\ShipmentReleaseCancelled;
|
|
7: use App\Notifications\ShipmentReleaseRequestCancellation;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\HistoricalShipmentCart;
|
|
10: use App\Services\QuestPageValues;
|
|
|
|
Line 210 [match: EPICOR]:
|
|
208: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
209: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 210: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID',FilterField::OPERATOR_EQUAL,$SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
211: }
|
|
212:
|
|
|
|
Line 377 [match: EPICOR]:
|
|
375: /** @var DataHandler $DataHandler */
|
|
376: $DataHandler = app(DataHandler::class);
|
|
>> 377: /** @var EpicorDatabase $EpicorDatabase */
|
|
378: $EpicorDatabase = app(EpicorDatabase::class);
|
|
379: /** @var ship_RequestRepo $ROShipmentReleaseRepo */
|
|
|
|
Line 378 [match: EPICOR]:
|
|
376: $DataHandler = app(DataHandler::class);
|
|
377: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 378: $EpicorDatabase = app(EpicorDatabase::class);
|
|
379: /** @var ship_RequestRepo $ROShipmentReleaseRepo */
|
|
380: $ROShipmentReleaseRepo = app(ship_RequestRepo::class);
|
|
|
|
Line 397 [match: EPICOR]:
|
|
395:
|
|
396: try {
|
|
>> 397: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($RequestInfo['Plant']);
|
|
398: } catch(Exception $e) {
|
|
399: $PlantUserEmails = [];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\CoilAllocationController.php
|
|
================================================================================
|
|
Line 58 [match: epicor]:
|
|
56: $Data = request()->except(['_token']);
|
|
57:
|
|
>> 58: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
59:
|
|
60: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
Line 58 [match: Epicor]:
|
|
56: $Data = request()->except(['_token']);
|
|
57:
|
|
>> 58: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
59:
|
|
60: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
Line 58 [match: EPICOR]:
|
|
56: $Data = request()->except(['_token']);
|
|
57:
|
|
>> 58: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
59:
|
|
60: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\DashboardController.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Notification as quest_NotificationRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\SelectedCompanyProvider;
|
|
6: use Savvior\LTabbyPages\Controllers\BaseTabbyPagesController;
|
|
|
|
Line 9 [match: epicor]:
|
|
7: use Savvior\LTabbyPages\TabbyPageManager;
|
|
8: use Savvior\LTabbyPages\TabbyPage;
|
|
>> 9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use Savvior\Metadata\FieldMetadataField;
|
|
11: use Savvior\Metadata\UI\CustomRecordListTemplate;
|
|
|
|
Line 78 [match: epicor]:
|
|
76: protected function getLatestShipments()
|
|
77: {
|
|
>> 78: /** @var EpicorDatabase $EpicorDB */
|
|
79: $EpicorDB = app(EpicorDatabase::class);
|
|
80: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 79 [match: epicor]:
|
|
77: {
|
|
78: /** @var EpicorDatabase $EpicorDB */
|
|
>> 79: $EpicorDB = app(EpicorDatabase::class);
|
|
80: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
81: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 84 [match: epicor]:
|
|
82:
|
|
83: $ShipmentData = collect(
|
|
>> 84: $EpicorDB->getTop100ShipmentsData(
|
|
85: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
86: )
|
|
|
|
Line 85 [match: epicor]:
|
|
83: $ShipmentData = collect(
|
|
84: $EpicorDB->getTop100ShipmentsData(
|
|
>> 85: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
86: )
|
|
87: );
|
|
|
|
Line 127 [match: epicor]:
|
|
125: private function getShipmentsMetadata()
|
|
126: {
|
|
>> 127: $Metadata = new EpicorEntityMetadata('ShipmentsData'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
128:
|
|
129: $PlantName = $Metadata->addNewField('PlantName', FieldMetadataField::class);
|
|
|
|
Line 182 [match: epicor]:
|
|
180: protected function getLatestOrders()
|
|
181: {
|
|
>> 182: /** @var EpicorDatabase $EpicorDB */
|
|
183: $EpicorDB = app(EpicorDatabase::class);
|
|
184: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 183 [match: epicor]:
|
|
181: {
|
|
182: /** @var EpicorDatabase $EpicorDB */
|
|
>> 183: $EpicorDB = app(EpicorDatabase::class);
|
|
184: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
185: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 189 [match: epicor]:
|
|
187: //Put the data into a collection so we can transform using collection methods
|
|
188: $OrderData = collect(
|
|
>> 189: $EpicorDB->getTop100OrdersData(
|
|
190: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
191: )
|
|
|
|
Line 190 [match: epicor]:
|
|
188: $OrderData = collect(
|
|
189: $EpicorDB->getTop100OrdersData(
|
|
>> 190: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
191: )
|
|
192: );
|
|
|
|
Line 240 [match: epicor]:
|
|
238: private function getOrdersMetadata()
|
|
239: {
|
|
>> 240: $Metadata = new EpicorEntityMetadata('OrdersData'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
241:
|
|
242: /** @var FieldMetadataField $PhonyKey */
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Notification as quest_NotificationRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\SelectedCompanyProvider;
|
|
6: use Savvior\LTabbyPages\Controllers\BaseTabbyPagesController;
|
|
|
|
Line 9 [match: Epicor]:
|
|
7: use Savvior\LTabbyPages\TabbyPageManager;
|
|
8: use Savvior\LTabbyPages\TabbyPage;
|
|
>> 9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use Savvior\Metadata\FieldMetadataField;
|
|
11: use Savvior\Metadata\UI\CustomRecordListTemplate;
|
|
|
|
Line 78 [match: Epicor]:
|
|
76: protected function getLatestShipments()
|
|
77: {
|
|
>> 78: /** @var EpicorDatabase $EpicorDB */
|
|
79: $EpicorDB = app(EpicorDatabase::class);
|
|
80: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 79 [match: Epicor]:
|
|
77: {
|
|
78: /** @var EpicorDatabase $EpicorDB */
|
|
>> 79: $EpicorDB = app(EpicorDatabase::class);
|
|
80: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
81: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 84 [match: Epicor]:
|
|
82:
|
|
83: $ShipmentData = collect(
|
|
>> 84: $EpicorDB->getTop100ShipmentsData(
|
|
85: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
86: )
|
|
|
|
Line 85 [match: Epicor]:
|
|
83: $ShipmentData = collect(
|
|
84: $EpicorDB->getTop100ShipmentsData(
|
|
>> 85: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
86: )
|
|
87: );
|
|
|
|
Line 127 [match: Epicor]:
|
|
125: private function getShipmentsMetadata()
|
|
126: {
|
|
>> 127: $Metadata = new EpicorEntityMetadata('ShipmentsData'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
128:
|
|
129: $PlantName = $Metadata->addNewField('PlantName', FieldMetadataField::class);
|
|
|
|
Line 182 [match: Epicor]:
|
|
180: protected function getLatestOrders()
|
|
181: {
|
|
>> 182: /** @var EpicorDatabase $EpicorDB */
|
|
183: $EpicorDB = app(EpicorDatabase::class);
|
|
184: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 183 [match: Epicor]:
|
|
181: {
|
|
182: /** @var EpicorDatabase $EpicorDB */
|
|
>> 183: $EpicorDB = app(EpicorDatabase::class);
|
|
184: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
185: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 189 [match: Epicor]:
|
|
187: //Put the data into a collection so we can transform using collection methods
|
|
188: $OrderData = collect(
|
|
>> 189: $EpicorDB->getTop100OrdersData(
|
|
190: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
191: )
|
|
|
|
Line 190 [match: Epicor]:
|
|
188: $OrderData = collect(
|
|
189: $EpicorDB->getTop100OrdersData(
|
|
>> 190: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
191: )
|
|
192: );
|
|
|
|
Line 240 [match: Epicor]:
|
|
238: private function getOrdersMetadata()
|
|
239: {
|
|
>> 240: $Metadata = new EpicorEntityMetadata('OrdersData'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
241:
|
|
242: /** @var FieldMetadataField $PhonyKey */
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Model\Repos\quest_Notification as quest_NotificationRepo;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\SelectedCompanyProvider;
|
|
6: use Savvior\LTabbyPages\Controllers\BaseTabbyPagesController;
|
|
|
|
Line 9 [match: EPICOR]:
|
|
7: use Savvior\LTabbyPages\TabbyPageManager;
|
|
8: use Savvior\LTabbyPages\TabbyPage;
|
|
>> 9: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
10: use Savvior\Metadata\FieldMetadataField;
|
|
11: use Savvior\Metadata\UI\CustomRecordListTemplate;
|
|
|
|
Line 78 [match: EPICOR]:
|
|
76: protected function getLatestShipments()
|
|
77: {
|
|
>> 78: /** @var EpicorDatabase $EpicorDB */
|
|
79: $EpicorDB = app(EpicorDatabase::class);
|
|
80: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 79 [match: EPICOR]:
|
|
77: {
|
|
78: /** @var EpicorDatabase $EpicorDB */
|
|
>> 79: $EpicorDB = app(EpicorDatabase::class);
|
|
80: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
81: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 84 [match: EPICOR]:
|
|
82:
|
|
83: $ShipmentData = collect(
|
|
>> 84: $EpicorDB->getTop100ShipmentsData(
|
|
85: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
86: )
|
|
|
|
Line 85 [match: EPICOR]:
|
|
83: $ShipmentData = collect(
|
|
84: $EpicorDB->getTop100ShipmentsData(
|
|
>> 85: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
86: )
|
|
87: );
|
|
|
|
Line 127 [match: EPICOR]:
|
|
125: private function getShipmentsMetadata()
|
|
126: {
|
|
>> 127: $Metadata = new EpicorEntityMetadata('ShipmentsData'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
128:
|
|
129: $PlantName = $Metadata->addNewField('PlantName', FieldMetadataField::class);
|
|
|
|
Line 182 [match: EPICOR]:
|
|
180: protected function getLatestOrders()
|
|
181: {
|
|
>> 182: /** @var EpicorDatabase $EpicorDB */
|
|
183: $EpicorDB = app(EpicorDatabase::class);
|
|
184: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 183 [match: EPICOR]:
|
|
181: {
|
|
182: /** @var EpicorDatabase $EpicorDB */
|
|
>> 183: $EpicorDB = app(EpicorDatabase::class);
|
|
184: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
185: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 189 [match: EPICOR]:
|
|
187: //Put the data into a collection so we can transform using collection methods
|
|
188: $OrderData = collect(
|
|
>> 189: $EpicorDB->getTop100OrdersData(
|
|
190: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
191: )
|
|
|
|
Line 190 [match: EPICOR]:
|
|
188: $OrderData = collect(
|
|
189: $EpicorDB->getTop100OrdersData(
|
|
>> 190: $SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()
|
|
191: )
|
|
192: );
|
|
|
|
Line 240 [match: EPICOR]:
|
|
238: private function getOrdersMetadata()
|
|
239: {
|
|
>> 240: $Metadata = new EpicorEntityMetadata('OrdersData'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
241:
|
|
242: /** @var FieldMetadataField $PhonyKey */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\InventoryController.php
|
|
================================================================================
|
|
Line 1063 [match: FROM ]:
|
|
1061:
|
|
1062: if($ShipmentCart->getSelectionCount() && $Plant !== $ShipmentCart->getPlant())
|
|
>> 1063: return response()->json(['success' => 0, 'reason' => 'The current shipment release already contains items from another plant', 'action' => 'bad_plant']);
|
|
1064: elseif($ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
1065: return response()->json(['success' => 0, 'reason' => 'This item is already in your current shipment release', 'action' => 'in_cart']);
|
|
|
|
Line 1126 [match: FROM ]:
|
|
1124:
|
|
1125: if($ShipmentCart->getSelectionCount() && $Plant != $ShipmentCart->getPlant())
|
|
>> 1126: return response()->json(['success' => 0, 'reason' => 'The current shipment release already contains items from another plant', 'action' => 'bad_plant']);
|
|
1127:
|
|
1128: $DetailLinesThatExistInRelease = $ROShipmentRequestDetailRepo->getDetailLinesThatExistForNonCancelledShipments($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $Part, $Warehouse, $Data);
|
|
|
|
Line 1192 [match: FROM ]:
|
|
1190: $DataHandler->commitTransaction();
|
|
1191: } catch(Exception $e) {
|
|
>> 1192: Log::error('Deleting item from shipment: '.$e->getMessage());
|
|
1193: return redirect()->back()->withErrors('An unexpected error was encountered removing this item from your shipment. Please try again.');
|
|
1194: }
|
|
|
|
Line 1193 [match: FROM ]:
|
|
1191: } catch(Exception $e) {
|
|
1192: Log::error('Deleting item from shipment: '.$e->getMessage());
|
|
>> 1193: return redirect()->back()->withErrors('An unexpected error was encountered removing this item from your shipment. Please try again.');
|
|
1194: }
|
|
1195:
|
|
|
|
Line 1196 [match: FROM ]:
|
|
1194: }
|
|
1195:
|
|
>> 1196: return redirect()->back()->with(['success' => 'Item successfully removed from shipment release']);
|
|
1197: }
|
|
1198:
|
|
|
|
Line 819 [match: SELECT ]:
|
|
817:
|
|
818: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
>> 819: return redirect()->back()->withErrors('Please select a customer before starting a shipment release');
|
|
820:
|
|
821: $Now = new \DateTime();
|
|
|
|
Line 1417 [match: UPDATE ]:
|
|
1415: $ShipmentReleaseHelper->generateCompletedReleasePDF($ShipmentCart, array_diff_key($DBData, array_flip($ExcludeDataLockKeys)));
|
|
1416:
|
|
>> 1417: // update DB
|
|
1418: $DataHandler->startTransaction();
|
|
1419: $DataHandler->handleInsertUpdate($DBData, $MetadataFactory->getEntity('ship_Request'));
|
|
|
|
Line 14 [match: epicor]:
|
|
12: use App\Notifications\ShipmentReleaseConfirmation;
|
|
13: use App\Notifications\ShipToAddressInquiry;
|
|
>> 14: use App\Services\EpicorDatabase;
|
|
15: use App\Services\InventoryHelper;
|
|
16: use App\Services\PDFHelper;
|
|
|
|
Line 60 [match: epicor]:
|
|
58: /** @var SelectedCompanyProvider $customer */
|
|
59: $customer = app(SelectedCompanyProvider::class);
|
|
>> 60: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
61:
|
|
62: /** @var quest_Company $quest_CompanyRepo */
|
|
|
|
Line 65 [match: epicor]:
|
|
63: $quest_CompanyRepo = app(quest_Company::class);
|
|
64: /** @var \App\Model\Entities\quest_Company $quest_Company */
|
|
>> 65: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customer]);
|
|
66:
|
|
67: /** @var \App\Model\Entities\quest_User[] $quest_CompanyUsers */
|
|
|
|
Line 299 [match: epicor]:
|
|
297:
|
|
298:
|
|
>> 299: /** @var EpicorDatabase $epicore */
|
|
300: $epicore = app(EpicorDatabase::class);
|
|
301:
|
|
|
|
Line 300 [match: epicor]:
|
|
298:
|
|
299: /** @var EpicorDatabase $epicore */
|
|
>> 300: $epicore = app(EpicorDatabase::class);
|
|
301:
|
|
302:
|
|
|
|
Line 305 [match: epicor]:
|
|
303:
|
|
304: /** @todo - get service call NICK L */
|
|
>> 305: // $bolData = $epicore->getBOL($bolNum);
|
|
306:
|
|
307: $plant = 'Valencia Plant';
|
|
|
|
Line 379 [match: epicor]:
|
|
377:
|
|
378:
|
|
>> 379: /** @var EpicorDatabase $epicore */
|
|
380: $epicore = app(EpicorDatabase::class);
|
|
381:
|
|
|
|
Line 380 [match: epicor]:
|
|
378:
|
|
379: /** @var EpicorDatabase $epicore */
|
|
>> 380: $epicore = app(EpicorDatabase::class);
|
|
381:
|
|
382:
|
|
|
|
Line 383 [match: epicor]:
|
|
381:
|
|
382:
|
|
>> 383: $bolData = $epicore->getBOL($bolNum);
|
|
384: // $packerData = $epicore->getPacker($bolNum);
|
|
385:
|
|
|
|
Line 384 [match: epicor]:
|
|
382:
|
|
383: $bolData = $epicore->getBOL($bolNum);
|
|
>> 384: // $packerData = $epicore->getPacker($bolNum);
|
|
385:
|
|
386:
|
|
|
|
Line 462 [match: epicor]:
|
|
460:
|
|
461:
|
|
>> 462: /** @var EpicorDatabase $epicore */
|
|
463: $epicore = app(EpicorDatabase::class);
|
|
464:
|
|
|
|
Line 463 [match: epicor]:
|
|
461:
|
|
462: /** @var EpicorDatabase $epicore */
|
|
>> 463: $epicore = app(EpicorDatabase::class);
|
|
464:
|
|
465:
|
|
|
|
Line 466 [match: epicor]:
|
|
464:
|
|
465:
|
|
>> 466: $jobTravelerData = $epicore->getJobTraveler($job_num);
|
|
467:
|
|
468: if (count($jobTravelerData) == 0)
|
|
|
|
Line 669 [match: epicor]:
|
|
667: /** @var SelectedCompanyProvider $customer */
|
|
668: $customer = app(SelectedCompanyProvider::class);
|
|
>> 669: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
670:
|
|
671: /** @var EpicorDatabase $epicore */
|
|
|
|
Line 671 [match: epicor]:
|
|
669: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
670:
|
|
>> 671: /** @var EpicorDatabase $epicore */
|
|
672: $epicore = app(EpicorDatabase::class);
|
|
673:
|
|
|
|
Line 672 [match: epicor]:
|
|
670:
|
|
671: /** @var EpicorDatabase $epicore */
|
|
>> 672: $epicore = app(EpicorDatabase::class);
|
|
673:
|
|
674:
|
|
|
|
Line 675 [match: epicor]:
|
|
673:
|
|
674:
|
|
>> 675: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$customer);
|
|
676:
|
|
677:
|
|
|
|
Line 818 [match: epicor]:
|
|
816: return redirect()->back()->withErrors('A shipment release cannot be started for this customer as there is already one in progress');
|
|
817:
|
|
>> 818: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
819: return redirect()->back()->withErrors('Please select a customer before starting a shipment release');
|
|
820:
|
|
|
|
Line 826 [match: epicor]:
|
|
824: try {
|
|
825: $DataHandler->handleInsertUpdate([
|
|
>> 826: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
827: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
828: 'OpenCartConstraint' => true,
|
|
|
|
Line 841 [match: epicor]:
|
|
839: $DataHandler->commitTransaction();
|
|
840: } catch(Exception $e) {
|
|
>> 841: Log::error('SHIPMENT REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
842: return redirect()->back()->withErrors('An unexpected error was encountered starting this shipment release. Please try again.');
|
|
843: }
|
|
|
|
Line 859 [match: epicor]:
|
|
857: }
|
|
858:
|
|
>> 859: public function getSelectShipToAddressDuplicate(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
860: SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory,
|
|
861: DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
|
|
Line 882 [match: epicor]:
|
|
880: 'ShipToSelected' => true,
|
|
881: 'ShipToNum' => $ShipRequest1->getShipToNum(),
|
|
>> 882: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName(),
|
|
883: 'ShipToName' => $ShipRequest1->getShipToName(),
|
|
884: 'ShipToAddress1' => $ShipRequest1->getShipToAddress1(),
|
|
|
|
Line 928 [match: epicor]:
|
|
926: $DataHandler->commitTransaction();
|
|
927: } catch(Exception $e) {
|
|
>> 928: Log::error('SHIPMENT REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
929: return redirect()->back()->withErrors('An unexpected error was encountered cancelling this shipment release. Please try again.');
|
|
930: }
|
|
|
|
Line 935 [match: epicor]:
|
|
933: }
|
|
934:
|
|
>> 935: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
936: SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues
|
|
937: $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
|
|
Line 942 [match: epicor]:
|
|
940: return redirect()->action('Quest\InventoryController@getIndex')->with((request()->session()->has('success') ? ['success' => request()->session()->get('success')] : []));
|
|
941:
|
|
>> 942: $ShipToAddresses = $EpicorDatabase->getCustomerShipToAddresses($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
943:
|
|
944: $ShipToAddressLines = [];
|
|
|
|
Line 946 [match: epicor]:
|
|
944: $ShipToAddressLines = [];
|
|
945: $ShipToAddressNums = [];
|
|
>> 946: $CustomerName = $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName();
|
|
947: foreach($ShipToAddresses as $ShipToAddress)
|
|
948: {
|
|
|
|
Line 960 [match: epicor]:
|
|
958:
|
|
959: ///here
|
|
>> 960: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
961: SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory,
|
|
962: DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
|
|
Line 970 [match: epicor]:
|
|
968: return redirect()->back()->withErrors('The ship to address selected is not valid. Please try again.');
|
|
969:
|
|
>> 970: $SelectedShipToAddressInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum);
|
|
971:
|
|
972: if(is_null($SelectedShipToAddressInfo))
|
|
|
|
Line 981 [match: epicor]:
|
|
979: 'ShipToSelected' => true,
|
|
980: 'ShipToNum' => $ShipToNum,
|
|
>> 981: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName(),
|
|
982: 'ShipToName' => $SelectedShipToAddressInfo['ShipToName'],
|
|
983: 'ShipToAddress1' => $SelectedShipToAddressInfo['ShipToAddress1'],
|
|
|
|
Line 999 [match: epicor]:
|
|
997: }
|
|
998:
|
|
>> 999: public function postShipToAddressInquiry(quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1000: {
|
|
1001: $EmailInquiryTo = $ROEmailEventRepo->getEmailsForActiveQuestUsersThatReceiveEmailEvent('SHIP_TO_ADDRESS_INQUIRY');
|
|
|
|
Line 1011 [match: epicor]:
|
|
1009: if(!in_array($Type, ['add','edit','delete']))
|
|
1010: return redirect()->back()->withErrors('Invalid inquiry type provided');
|
|
>> 1011: if(($Type == 'edit' || $Type == 'delete') && (is_null($ShipToNum = request()->input('id')) || is_null($ShipToInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum))))
|
|
1012: return redirect()->back()->withErrors('The ship to address for your inquiry no longer exists.');
|
|
1013: if(($Type == 'add' || $Type == 'edit') && !strlen($Inquiry = trim(request()->input('inquiry'))))
|
|
|
|
Line 1039 [match: epicor]:
|
|
1037: public function postAddItemToShipment(ShipmentCart $ShipmentCart, ship_RequestRepo $ROShipmentRequestRepo, SelectedCompanyProvider $SelectedCompanyProvider, DataHandler $DataHandler)
|
|
1038: {
|
|
>> 1039: /** @var EpicorDatabase $EpicorDatabase */
|
|
1040: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1041:
|
|
|
|
Line 1040 [match: epicor]:
|
|
1038: {
|
|
1039: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1040: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1041:
|
|
1042: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1066 [match: epicor]:
|
|
1064: elseif($ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
1065: return response()->json(['success' => 0, 'reason' => 'This item is already in your current shipment release', 'action' => 'in_cart']);
|
|
>> 1066: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
1067: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
1068:
|
|
|
|
Line 1069 [match: epicor]:
|
|
1067: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
1068:
|
|
>> 1069: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),$PartNum);
|
|
1070:
|
|
1071: $DataHandler->startTransaction();
|
|
|
|
Line 1076 [match: epicor]:
|
|
1074: $DataHandler->commitTransaction();
|
|
1075: } catch (Exception $e) {
|
|
>> 1076: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1077: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your shipment. Please try again.']);
|
|
1078: }
|
|
|
|
Line 1089 [match: epicor]:
|
|
1087: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
1088: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 1089: /** @var EpicorDatabase $EpicorDatabase */
|
|
1090: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1091: /** @var ship_RequestDetailRepo $ROShipmentRequestDetailRepo */
|
|
|
|
Line 1090 [match: epicor]:
|
|
1088: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1089: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1090: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1091: /** @var ship_RequestDetailRepo $ROShipmentRequestDetailRepo */
|
|
1092: $ROShipmentRequestDetailRepo = app(ship_RequestDetailRepo::class);
|
|
|
|
Line 1104 [match: epicor]:
|
|
1102: {
|
|
1103: case 'portal_UnprocessedInventorySummary':
|
|
>> 1104: $Data = $EpicorDatabase->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1105: break;
|
|
1106: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1107 [match: epicor]:
|
|
1105: break;
|
|
1106: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
>> 1107: $Data = $EpicorDatabase->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1108: break;
|
|
1109: case 'portal_WorkInProgressInventorySummary':
|
|
|
|
Line 1110 [match: epicor]:
|
|
1108: break;
|
|
1109: case 'portal_WorkInProgressInventorySummary':
|
|
>> 1110: $Data = $EpicorDatabase->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1111: break;
|
|
1112: case 'portal_FinishedGoodsInventorySummary':
|
|
|
|
Line 1113 [match: epicor]:
|
|
1111: break;
|
|
1112: case 'portal_FinishedGoodsInventorySummary':
|
|
>> 1113: $Data = $EpicorDatabase->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1114: break;
|
|
1115: case 'portal_ProcessedOtherInventorySummary':
|
|
|
|
Line 1116 [match: epicor]:
|
|
1114: break;
|
|
1115: case 'portal_ProcessedOtherInventorySummary':
|
|
>> 1116: $Data = $EpicorDatabase->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1117: break;
|
|
1118: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1119 [match: epicor]:
|
|
1117: break;
|
|
1118: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
>> 1119: $Data = $EpicorDatabase->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1120: break;
|
|
1121: default:
|
|
|
|
Line 1128 [match: epicor]:
|
|
1126: return response()->json(['success' => 0, 'reason' => 'The current shipment release already contains items from another plant', 'action' => 'bad_plant']);
|
|
1127:
|
|
>> 1128: $DetailLinesThatExistInRelease = $ROShipmentRequestDetailRepo->getDetailLinesThatExistForNonCancelledShipments($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $Part, $Warehouse, $Data);
|
|
1129:
|
|
1130: $Added = [];
|
|
|
|
Line 1154 [match: epicor]:
|
|
1152: continue; // already in another release
|
|
1153: }
|
|
>> 1154: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),$Part);
|
|
1155: $this->_addLineToShipmentRelease($ShipmentCart->getCartID(), $Part, $Warehouse, $DataSingle['LotNum'], $PartDescription, $DataSingle['OnHandQty'], $DataSingle['CustPartNum'], ($DataSingle['SkidNum'] ?? null), ($DataSingle['CustomerPoNum'] ?? null), ($DataSingle['VorteqJobNum'] ?? null),
|
|
1156: ($DataSingle['VorteqSalesOrderNum'] ?? null), $DataSingle['Bin'], $Plant,($DataSingle['MfgLot'] ?? null) );
|
|
|
|
Line 1161 [match: epicor]:
|
|
1159: $DataHandler->commitTransaction();
|
|
1160: } catch (Exception $e) {
|
|
>> 1161: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1162: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your shipment. Please try again.']);
|
|
1163: }
|
|
|
|
Line 1241 [match: epicor]:
|
|
1239: $DataHandler->commitTransaction();
|
|
1240: } catch (Exception $e) {
|
|
>> 1241: // Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
1242: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error saving the form']);
|
|
1243: }
|
|
|
|
Line 1304 [match: epicor]:
|
|
1302: }
|
|
1303:
|
|
>> 1304: public function postCompleteShipment(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, ShipmentReleaseHelper $ShipmentReleaseHelper)
|
|
1305: {
|
|
1306: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1349 [match: epicor]:
|
|
1347: $qp = app(quest_Plant::class);
|
|
1348:
|
|
>> 1349: $ConfirmationEmailPlant = $qp->findOneBy(['PlantCode' => $ConfirmationEmailPlant->getEpicorKey()]);
|
|
1350: }
|
|
1351: catch (\Throwable $e){
|
|
|
|
Line 1371 [match: epicor]:
|
|
1369:
|
|
1370: /* try {
|
|
>> 1371: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($ShipmentCart->getPlant());
|
|
1372: } catch(Exception $e) {
|
|
1373: Log::error('Could not complete shipment release because could not get plant emails for '.$ShipmentCart->getPlant().' ('.$ShipmentCart->getCartID().')');
|
|
|
|
Line 1442 [match: epicor]:
|
|
1440: $ShipmentID = request()->route()->parameter('shipment_id');
|
|
1441:
|
|
>> 1442: if(is_null($ShipmentReferenceNum = $ROShipmentRequestRepo->getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestPageValues->getQuestUserID(), $SelectedCompanyProvider->getSelectedCompanyEpicorCustID())))
|
|
1443: return redirect()->action('Quest\InventoryController@getIndex');
|
|
1444:
|
|
|
|
Line 1484 [match: epicor]:
|
|
1482: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
1483: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 1484: /** @var EpicorDatabase $EpicorDB */
|
|
1485: $EpicorDB = app(EpicorDatabase::class);
|
|
1486: /** @var ShipmentCart $ShipmentCart */
|
|
|
|
Line 1485 [match: epicor]:
|
|
1483: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1484: /** @var EpicorDatabase $EpicorDB */
|
|
>> 1485: $EpicorDB = app(EpicorDatabase::class);
|
|
1486: /** @var ShipmentCart $ShipmentCart */
|
|
1487: $ShipmentCart = app(ShipmentCart::class);
|
|
|
|
Line 1494 [match: epicor]:
|
|
1492: $Warehouse = base64_decode(request()->route()->parameter('warehouse'));
|
|
1493:
|
|
>> 1494: $PartDesc = $EpicorDB->getVorPartDescriptionFromPartNumber($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part);
|
|
1495:
|
|
1496: // $IncludeLinks = true;
|
|
|
|
Line 1507 [match: epicor]:
|
|
1505: $SourceName = 'Unprocessed';
|
|
1506: $WrapClass = 'vor-orange';
|
|
>> 1507: $TotalQOH = $EpicorDB->getInventoryUnprocessedQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1508: break;
|
|
1509: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1513 [match: epicor]:
|
|
1511: $SourceName = 'Unprocessed (Rejects / Returns)';
|
|
1512: $WrapClass = 'vor-purple';
|
|
>> 1513: $TotalQOH = $EpicorDB->getInventoryUnprocessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1514: break;
|
|
1515: case 'portal_WorkInProgressInventorySummary':
|
|
|
|
Line 1519 [match: epicor]:
|
|
1517: $SourceName = 'Work In Progress';
|
|
1518: $WrapClass = 'vor-green';
|
|
>> 1519: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1520: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_WorkInProgressInventoryV6');
|
|
1521: break;
|
|
|
|
Line 1520 [match: epicor]:
|
|
1518: $WrapClass = 'vor-green';
|
|
1519: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1520: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_WorkInProgressInventoryV6');
|
|
1521: break;
|
|
1522: case 'portal_FinishedGoodsInventorySummary':
|
|
|
|
Line 1526 [match: epicor]:
|
|
1524: $SourceName = 'Finished Goods';
|
|
1525: $WrapClass = 'vor-blue';
|
|
>> 1526: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1527: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
1528: break;
|
|
|
|
Line 1527 [match: epicor]:
|
|
1525: $WrapClass = 'vor-blue';
|
|
1526: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1527: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
1528: break;
|
|
1529: case 'portal_ProcessedOtherInventorySummary':
|
|
|
|
Line 1533 [match: epicor]:
|
|
1531: $SourceName = 'Processed - Other';
|
|
1532: $WrapClass = 'vor-yellow';
|
|
>> 1533: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1534: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
1535: break;
|
|
|
|
Line 1534 [match: epicor]:
|
|
1532: $WrapClass = 'vor-yellow';
|
|
1533: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1534: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
1535: break;
|
|
1536: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1540 [match: epicor]:
|
|
1538: $SourceName = 'Processed (Rejects / Returns)';
|
|
1539: $WrapClass = 'vor-red';
|
|
>> 1540: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1541: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
1542: break;
|
|
|
|
Line 1541 [match: epicor]:
|
|
1539: $WrapClass = 'vor-red';
|
|
1540: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1541: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
1542: break;
|
|
1543: default:
|
|
|
|
Line 14 [match: Epicor]:
|
|
12: use App\Notifications\ShipmentReleaseConfirmation;
|
|
13: use App\Notifications\ShipToAddressInquiry;
|
|
>> 14: use App\Services\EpicorDatabase;
|
|
15: use App\Services\InventoryHelper;
|
|
16: use App\Services\PDFHelper;
|
|
|
|
Line 60 [match: Epicor]:
|
|
58: /** @var SelectedCompanyProvider $customer */
|
|
59: $customer = app(SelectedCompanyProvider::class);
|
|
>> 60: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
61:
|
|
62: /** @var quest_Company $quest_CompanyRepo */
|
|
|
|
Line 65 [match: Epicor]:
|
|
63: $quest_CompanyRepo = app(quest_Company::class);
|
|
64: /** @var \App\Model\Entities\quest_Company $quest_Company */
|
|
>> 65: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customer]);
|
|
66:
|
|
67: /** @var \App\Model\Entities\quest_User[] $quest_CompanyUsers */
|
|
|
|
Line 299 [match: Epicor]:
|
|
297:
|
|
298:
|
|
>> 299: /** @var EpicorDatabase $epicore */
|
|
300: $epicore = app(EpicorDatabase::class);
|
|
301:
|
|
|
|
Line 300 [match: Epicor]:
|
|
298:
|
|
299: /** @var EpicorDatabase $epicore */
|
|
>> 300: $epicore = app(EpicorDatabase::class);
|
|
301:
|
|
302:
|
|
|
|
Line 305 [match: Epicor]:
|
|
303:
|
|
304: /** @todo - get service call NICK L */
|
|
>> 305: // $bolData = $epicore->getBOL($bolNum);
|
|
306:
|
|
307: $plant = 'Valencia Plant';
|
|
|
|
Line 379 [match: Epicor]:
|
|
377:
|
|
378:
|
|
>> 379: /** @var EpicorDatabase $epicore */
|
|
380: $epicore = app(EpicorDatabase::class);
|
|
381:
|
|
|
|
Line 380 [match: Epicor]:
|
|
378:
|
|
379: /** @var EpicorDatabase $epicore */
|
|
>> 380: $epicore = app(EpicorDatabase::class);
|
|
381:
|
|
382:
|
|
|
|
Line 383 [match: Epicor]:
|
|
381:
|
|
382:
|
|
>> 383: $bolData = $epicore->getBOL($bolNum);
|
|
384: // $packerData = $epicore->getPacker($bolNum);
|
|
385:
|
|
|
|
Line 384 [match: Epicor]:
|
|
382:
|
|
383: $bolData = $epicore->getBOL($bolNum);
|
|
>> 384: // $packerData = $epicore->getPacker($bolNum);
|
|
385:
|
|
386:
|
|
|
|
Line 462 [match: Epicor]:
|
|
460:
|
|
461:
|
|
>> 462: /** @var EpicorDatabase $epicore */
|
|
463: $epicore = app(EpicorDatabase::class);
|
|
464:
|
|
|
|
Line 463 [match: Epicor]:
|
|
461:
|
|
462: /** @var EpicorDatabase $epicore */
|
|
>> 463: $epicore = app(EpicorDatabase::class);
|
|
464:
|
|
465:
|
|
|
|
Line 466 [match: Epicor]:
|
|
464:
|
|
465:
|
|
>> 466: $jobTravelerData = $epicore->getJobTraveler($job_num);
|
|
467:
|
|
468: if (count($jobTravelerData) == 0)
|
|
|
|
Line 669 [match: Epicor]:
|
|
667: /** @var SelectedCompanyProvider $customer */
|
|
668: $customer = app(SelectedCompanyProvider::class);
|
|
>> 669: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
670:
|
|
671: /** @var EpicorDatabase $epicore */
|
|
|
|
Line 671 [match: Epicor]:
|
|
669: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
670:
|
|
>> 671: /** @var EpicorDatabase $epicore */
|
|
672: $epicore = app(EpicorDatabase::class);
|
|
673:
|
|
|
|
Line 672 [match: Epicor]:
|
|
670:
|
|
671: /** @var EpicorDatabase $epicore */
|
|
>> 672: $epicore = app(EpicorDatabase::class);
|
|
673:
|
|
674:
|
|
|
|
Line 675 [match: Epicor]:
|
|
673:
|
|
674:
|
|
>> 675: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$customer);
|
|
676:
|
|
677:
|
|
|
|
Line 818 [match: Epicor]:
|
|
816: return redirect()->back()->withErrors('A shipment release cannot be started for this customer as there is already one in progress');
|
|
817:
|
|
>> 818: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
819: return redirect()->back()->withErrors('Please select a customer before starting a shipment release');
|
|
820:
|
|
|
|
Line 826 [match: Epicor]:
|
|
824: try {
|
|
825: $DataHandler->handleInsertUpdate([
|
|
>> 826: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
827: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
828: 'OpenCartConstraint' => true,
|
|
|
|
Line 841 [match: Epicor]:
|
|
839: $DataHandler->commitTransaction();
|
|
840: } catch(Exception $e) {
|
|
>> 841: Log::error('SHIPMENT REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
842: return redirect()->back()->withErrors('An unexpected error was encountered starting this shipment release. Please try again.');
|
|
843: }
|
|
|
|
Line 859 [match: Epicor]:
|
|
857: }
|
|
858:
|
|
>> 859: public function getSelectShipToAddressDuplicate(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
860: SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory,
|
|
861: DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
|
|
Line 882 [match: Epicor]:
|
|
880: 'ShipToSelected' => true,
|
|
881: 'ShipToNum' => $ShipRequest1->getShipToNum(),
|
|
>> 882: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName(),
|
|
883: 'ShipToName' => $ShipRequest1->getShipToName(),
|
|
884: 'ShipToAddress1' => $ShipRequest1->getShipToAddress1(),
|
|
|
|
Line 928 [match: Epicor]:
|
|
926: $DataHandler->commitTransaction();
|
|
927: } catch(Exception $e) {
|
|
>> 928: Log::error('SHIPMENT REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
929: return redirect()->back()->withErrors('An unexpected error was encountered cancelling this shipment release. Please try again.');
|
|
930: }
|
|
|
|
Line 935 [match: Epicor]:
|
|
933: }
|
|
934:
|
|
>> 935: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
936: SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues
|
|
937: $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
|
|
Line 942 [match: Epicor]:
|
|
940: return redirect()->action('Quest\InventoryController@getIndex')->with((request()->session()->has('success') ? ['success' => request()->session()->get('success')] : []));
|
|
941:
|
|
>> 942: $ShipToAddresses = $EpicorDatabase->getCustomerShipToAddresses($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
943:
|
|
944: $ShipToAddressLines = [];
|
|
|
|
Line 946 [match: Epicor]:
|
|
944: $ShipToAddressLines = [];
|
|
945: $ShipToAddressNums = [];
|
|
>> 946: $CustomerName = $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName();
|
|
947: foreach($ShipToAddresses as $ShipToAddress)
|
|
948: {
|
|
|
|
Line 960 [match: Epicor]:
|
|
958:
|
|
959: ///here
|
|
>> 960: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
961: SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory,
|
|
962: DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
|
|
Line 970 [match: Epicor]:
|
|
968: return redirect()->back()->withErrors('The ship to address selected is not valid. Please try again.');
|
|
969:
|
|
>> 970: $SelectedShipToAddressInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum);
|
|
971:
|
|
972: if(is_null($SelectedShipToAddressInfo))
|
|
|
|
Line 981 [match: Epicor]:
|
|
979: 'ShipToSelected' => true,
|
|
980: 'ShipToNum' => $ShipToNum,
|
|
>> 981: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName(),
|
|
982: 'ShipToName' => $SelectedShipToAddressInfo['ShipToName'],
|
|
983: 'ShipToAddress1' => $SelectedShipToAddressInfo['ShipToAddress1'],
|
|
|
|
Line 999 [match: Epicor]:
|
|
997: }
|
|
998:
|
|
>> 999: public function postShipToAddressInquiry(quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1000: {
|
|
1001: $EmailInquiryTo = $ROEmailEventRepo->getEmailsForActiveQuestUsersThatReceiveEmailEvent('SHIP_TO_ADDRESS_INQUIRY');
|
|
|
|
Line 1011 [match: Epicor]:
|
|
1009: if(!in_array($Type, ['add','edit','delete']))
|
|
1010: return redirect()->back()->withErrors('Invalid inquiry type provided');
|
|
>> 1011: if(($Type == 'edit' || $Type == 'delete') && (is_null($ShipToNum = request()->input('id')) || is_null($ShipToInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum))))
|
|
1012: return redirect()->back()->withErrors('The ship to address for your inquiry no longer exists.');
|
|
1013: if(($Type == 'add' || $Type == 'edit') && !strlen($Inquiry = trim(request()->input('inquiry'))))
|
|
|
|
Line 1039 [match: Epicor]:
|
|
1037: public function postAddItemToShipment(ShipmentCart $ShipmentCart, ship_RequestRepo $ROShipmentRequestRepo, SelectedCompanyProvider $SelectedCompanyProvider, DataHandler $DataHandler)
|
|
1038: {
|
|
>> 1039: /** @var EpicorDatabase $EpicorDatabase */
|
|
1040: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1041:
|
|
|
|
Line 1040 [match: Epicor]:
|
|
1038: {
|
|
1039: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1040: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1041:
|
|
1042: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1066 [match: Epicor]:
|
|
1064: elseif($ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
1065: return response()->json(['success' => 0, 'reason' => 'This item is already in your current shipment release', 'action' => 'in_cart']);
|
|
>> 1066: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
1067: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
1068:
|
|
|
|
Line 1069 [match: Epicor]:
|
|
1067: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
1068:
|
|
>> 1069: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),$PartNum);
|
|
1070:
|
|
1071: $DataHandler->startTransaction();
|
|
|
|
Line 1076 [match: Epicor]:
|
|
1074: $DataHandler->commitTransaction();
|
|
1075: } catch (Exception $e) {
|
|
>> 1076: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1077: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your shipment. Please try again.']);
|
|
1078: }
|
|
|
|
Line 1089 [match: Epicor]:
|
|
1087: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
1088: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 1089: /** @var EpicorDatabase $EpicorDatabase */
|
|
1090: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1091: /** @var ship_RequestDetailRepo $ROShipmentRequestDetailRepo */
|
|
|
|
Line 1090 [match: Epicor]:
|
|
1088: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1089: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1090: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1091: /** @var ship_RequestDetailRepo $ROShipmentRequestDetailRepo */
|
|
1092: $ROShipmentRequestDetailRepo = app(ship_RequestDetailRepo::class);
|
|
|
|
Line 1104 [match: Epicor]:
|
|
1102: {
|
|
1103: case 'portal_UnprocessedInventorySummary':
|
|
>> 1104: $Data = $EpicorDatabase->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1105: break;
|
|
1106: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1107 [match: Epicor]:
|
|
1105: break;
|
|
1106: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
>> 1107: $Data = $EpicorDatabase->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1108: break;
|
|
1109: case 'portal_WorkInProgressInventorySummary':
|
|
|
|
Line 1110 [match: Epicor]:
|
|
1108: break;
|
|
1109: case 'portal_WorkInProgressInventorySummary':
|
|
>> 1110: $Data = $EpicorDatabase->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1111: break;
|
|
1112: case 'portal_FinishedGoodsInventorySummary':
|
|
|
|
Line 1113 [match: Epicor]:
|
|
1111: break;
|
|
1112: case 'portal_FinishedGoodsInventorySummary':
|
|
>> 1113: $Data = $EpicorDatabase->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1114: break;
|
|
1115: case 'portal_ProcessedOtherInventorySummary':
|
|
|
|
Line 1116 [match: Epicor]:
|
|
1114: break;
|
|
1115: case 'portal_ProcessedOtherInventorySummary':
|
|
>> 1116: $Data = $EpicorDatabase->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1117: break;
|
|
1118: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1119 [match: Epicor]:
|
|
1117: break;
|
|
1118: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
>> 1119: $Data = $EpicorDatabase->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1120: break;
|
|
1121: default:
|
|
|
|
Line 1128 [match: Epicor]:
|
|
1126: return response()->json(['success' => 0, 'reason' => 'The current shipment release already contains items from another plant', 'action' => 'bad_plant']);
|
|
1127:
|
|
>> 1128: $DetailLinesThatExistInRelease = $ROShipmentRequestDetailRepo->getDetailLinesThatExistForNonCancelledShipments($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $Part, $Warehouse, $Data);
|
|
1129:
|
|
1130: $Added = [];
|
|
|
|
Line 1154 [match: Epicor]:
|
|
1152: continue; // already in another release
|
|
1153: }
|
|
>> 1154: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),$Part);
|
|
1155: $this->_addLineToShipmentRelease($ShipmentCart->getCartID(), $Part, $Warehouse, $DataSingle['LotNum'], $PartDescription, $DataSingle['OnHandQty'], $DataSingle['CustPartNum'], ($DataSingle['SkidNum'] ?? null), ($DataSingle['CustomerPoNum'] ?? null), ($DataSingle['VorteqJobNum'] ?? null),
|
|
1156: ($DataSingle['VorteqSalesOrderNum'] ?? null), $DataSingle['Bin'], $Plant,($DataSingle['MfgLot'] ?? null) );
|
|
|
|
Line 1161 [match: Epicor]:
|
|
1159: $DataHandler->commitTransaction();
|
|
1160: } catch (Exception $e) {
|
|
>> 1161: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1162: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your shipment. Please try again.']);
|
|
1163: }
|
|
|
|
Line 1241 [match: Epicor]:
|
|
1239: $DataHandler->commitTransaction();
|
|
1240: } catch (Exception $e) {
|
|
>> 1241: // Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
1242: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error saving the form']);
|
|
1243: }
|
|
|
|
Line 1304 [match: Epicor]:
|
|
1302: }
|
|
1303:
|
|
>> 1304: public function postCompleteShipment(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, ShipmentReleaseHelper $ShipmentReleaseHelper)
|
|
1305: {
|
|
1306: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1349 [match: Epicor]:
|
|
1347: $qp = app(quest_Plant::class);
|
|
1348:
|
|
>> 1349: $ConfirmationEmailPlant = $qp->findOneBy(['PlantCode' => $ConfirmationEmailPlant->getEpicorKey()]);
|
|
1350: }
|
|
1351: catch (\Throwable $e){
|
|
|
|
Line 1371 [match: Epicor]:
|
|
1369:
|
|
1370: /* try {
|
|
>> 1371: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($ShipmentCart->getPlant());
|
|
1372: } catch(Exception $e) {
|
|
1373: Log::error('Could not complete shipment release because could not get plant emails for '.$ShipmentCart->getPlant().' ('.$ShipmentCart->getCartID().')');
|
|
|
|
Line 1442 [match: Epicor]:
|
|
1440: $ShipmentID = request()->route()->parameter('shipment_id');
|
|
1441:
|
|
>> 1442: if(is_null($ShipmentReferenceNum = $ROShipmentRequestRepo->getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestPageValues->getQuestUserID(), $SelectedCompanyProvider->getSelectedCompanyEpicorCustID())))
|
|
1443: return redirect()->action('Quest\InventoryController@getIndex');
|
|
1444:
|
|
|
|
Line 1484 [match: Epicor]:
|
|
1482: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
1483: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 1484: /** @var EpicorDatabase $EpicorDB */
|
|
1485: $EpicorDB = app(EpicorDatabase::class);
|
|
1486: /** @var ShipmentCart $ShipmentCart */
|
|
|
|
Line 1485 [match: Epicor]:
|
|
1483: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1484: /** @var EpicorDatabase $EpicorDB */
|
|
>> 1485: $EpicorDB = app(EpicorDatabase::class);
|
|
1486: /** @var ShipmentCart $ShipmentCart */
|
|
1487: $ShipmentCart = app(ShipmentCart::class);
|
|
|
|
Line 1494 [match: Epicor]:
|
|
1492: $Warehouse = base64_decode(request()->route()->parameter('warehouse'));
|
|
1493:
|
|
>> 1494: $PartDesc = $EpicorDB->getVorPartDescriptionFromPartNumber($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part);
|
|
1495:
|
|
1496: // $IncludeLinks = true;
|
|
|
|
Line 1507 [match: Epicor]:
|
|
1505: $SourceName = 'Unprocessed';
|
|
1506: $WrapClass = 'vor-orange';
|
|
>> 1507: $TotalQOH = $EpicorDB->getInventoryUnprocessedQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1508: break;
|
|
1509: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1513 [match: Epicor]:
|
|
1511: $SourceName = 'Unprocessed (Rejects / Returns)';
|
|
1512: $WrapClass = 'vor-purple';
|
|
>> 1513: $TotalQOH = $EpicorDB->getInventoryUnprocessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1514: break;
|
|
1515: case 'portal_WorkInProgressInventorySummary':
|
|
|
|
Line 1519 [match: Epicor]:
|
|
1517: $SourceName = 'Work In Progress';
|
|
1518: $WrapClass = 'vor-green';
|
|
>> 1519: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1520: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_WorkInProgressInventoryV6');
|
|
1521: break;
|
|
|
|
Line 1520 [match: Epicor]:
|
|
1518: $WrapClass = 'vor-green';
|
|
1519: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1520: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_WorkInProgressInventoryV6');
|
|
1521: break;
|
|
1522: case 'portal_FinishedGoodsInventorySummary':
|
|
|
|
Line 1526 [match: Epicor]:
|
|
1524: $SourceName = 'Finished Goods';
|
|
1525: $WrapClass = 'vor-blue';
|
|
>> 1526: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1527: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
1528: break;
|
|
|
|
Line 1527 [match: Epicor]:
|
|
1525: $WrapClass = 'vor-blue';
|
|
1526: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1527: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
1528: break;
|
|
1529: case 'portal_ProcessedOtherInventorySummary':
|
|
|
|
Line 1533 [match: Epicor]:
|
|
1531: $SourceName = 'Processed - Other';
|
|
1532: $WrapClass = 'vor-yellow';
|
|
>> 1533: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1534: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
1535: break;
|
|
|
|
Line 1534 [match: Epicor]:
|
|
1532: $WrapClass = 'vor-yellow';
|
|
1533: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1534: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
1535: break;
|
|
1536: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1540 [match: Epicor]:
|
|
1538: $SourceName = 'Processed (Rejects / Returns)';
|
|
1539: $WrapClass = 'vor-red';
|
|
>> 1540: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1541: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
1542: break;
|
|
|
|
Line 1541 [match: Epicor]:
|
|
1539: $WrapClass = 'vor-red';
|
|
1540: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1541: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
1542: break;
|
|
1543: default:
|
|
|
|
Line 14 [match: EPICOR]:
|
|
12: use App\Notifications\ShipmentReleaseConfirmation;
|
|
13: use App\Notifications\ShipToAddressInquiry;
|
|
>> 14: use App\Services\EpicorDatabase;
|
|
15: use App\Services\InventoryHelper;
|
|
16: use App\Services\PDFHelper;
|
|
|
|
Line 60 [match: EPICOR]:
|
|
58: /** @var SelectedCompanyProvider $customer */
|
|
59: $customer = app(SelectedCompanyProvider::class);
|
|
>> 60: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
61:
|
|
62: /** @var quest_Company $quest_CompanyRepo */
|
|
|
|
Line 65 [match: EPICOR]:
|
|
63: $quest_CompanyRepo = app(quest_Company::class);
|
|
64: /** @var \App\Model\Entities\quest_Company $quest_Company */
|
|
>> 65: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customer]);
|
|
66:
|
|
67: /** @var \App\Model\Entities\quest_User[] $quest_CompanyUsers */
|
|
|
|
Line 299 [match: EPICOR]:
|
|
297:
|
|
298:
|
|
>> 299: /** @var EpicorDatabase $epicore */
|
|
300: $epicore = app(EpicorDatabase::class);
|
|
301:
|
|
|
|
Line 300 [match: EPICOR]:
|
|
298:
|
|
299: /** @var EpicorDatabase $epicore */
|
|
>> 300: $epicore = app(EpicorDatabase::class);
|
|
301:
|
|
302:
|
|
|
|
Line 305 [match: EPICOR]:
|
|
303:
|
|
304: /** @todo - get service call NICK L */
|
|
>> 305: // $bolData = $epicore->getBOL($bolNum);
|
|
306:
|
|
307: $plant = 'Valencia Plant';
|
|
|
|
Line 379 [match: EPICOR]:
|
|
377:
|
|
378:
|
|
>> 379: /** @var EpicorDatabase $epicore */
|
|
380: $epicore = app(EpicorDatabase::class);
|
|
381:
|
|
|
|
Line 380 [match: EPICOR]:
|
|
378:
|
|
379: /** @var EpicorDatabase $epicore */
|
|
>> 380: $epicore = app(EpicorDatabase::class);
|
|
381:
|
|
382:
|
|
|
|
Line 383 [match: EPICOR]:
|
|
381:
|
|
382:
|
|
>> 383: $bolData = $epicore->getBOL($bolNum);
|
|
384: // $packerData = $epicore->getPacker($bolNum);
|
|
385:
|
|
|
|
Line 384 [match: EPICOR]:
|
|
382:
|
|
383: $bolData = $epicore->getBOL($bolNum);
|
|
>> 384: // $packerData = $epicore->getPacker($bolNum);
|
|
385:
|
|
386:
|
|
|
|
Line 462 [match: EPICOR]:
|
|
460:
|
|
461:
|
|
>> 462: /** @var EpicorDatabase $epicore */
|
|
463: $epicore = app(EpicorDatabase::class);
|
|
464:
|
|
|
|
Line 463 [match: EPICOR]:
|
|
461:
|
|
462: /** @var EpicorDatabase $epicore */
|
|
>> 463: $epicore = app(EpicorDatabase::class);
|
|
464:
|
|
465:
|
|
|
|
Line 466 [match: EPICOR]:
|
|
464:
|
|
465:
|
|
>> 466: $jobTravelerData = $epicore->getJobTraveler($job_num);
|
|
467:
|
|
468: if (count($jobTravelerData) == 0)
|
|
|
|
Line 669 [match: EPICOR]:
|
|
667: /** @var SelectedCompanyProvider $customer */
|
|
668: $customer = app(SelectedCompanyProvider::class);
|
|
>> 669: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
670:
|
|
671: /** @var EpicorDatabase $epicore */
|
|
|
|
Line 671 [match: EPICOR]:
|
|
669: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
670:
|
|
>> 671: /** @var EpicorDatabase $epicore */
|
|
672: $epicore = app(EpicorDatabase::class);
|
|
673:
|
|
|
|
Line 672 [match: EPICOR]:
|
|
670:
|
|
671: /** @var EpicorDatabase $epicore */
|
|
>> 672: $epicore = app(EpicorDatabase::class);
|
|
673:
|
|
674:
|
|
|
|
Line 675 [match: EPICOR]:
|
|
673:
|
|
674:
|
|
>> 675: $CoilByCoilData = $epicore->getCoilByCoil($job_num,$customer);
|
|
676:
|
|
677:
|
|
|
|
Line 818 [match: EPICOR]:
|
|
816: return redirect()->back()->withErrors('A shipment release cannot be started for this customer as there is already one in progress');
|
|
817:
|
|
>> 818: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
819: return redirect()->back()->withErrors('Please select a customer before starting a shipment release');
|
|
820:
|
|
|
|
Line 826 [match: EPICOR]:
|
|
824: try {
|
|
825: $DataHandler->handleInsertUpdate([
|
|
>> 826: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
827: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
828: 'OpenCartConstraint' => true,
|
|
|
|
Line 841 [match: EPICOR]:
|
|
839: $DataHandler->commitTransaction();
|
|
840: } catch(Exception $e) {
|
|
>> 841: Log::error('SHIPMENT REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
842: return redirect()->back()->withErrors('An unexpected error was encountered starting this shipment release. Please try again.');
|
|
843: }
|
|
|
|
Line 859 [match: EPICOR]:
|
|
857: }
|
|
858:
|
|
>> 859: public function getSelectShipToAddressDuplicate(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
860: SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory,
|
|
861: DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
|
|
Line 882 [match: EPICOR]:
|
|
880: 'ShipToSelected' => true,
|
|
881: 'ShipToNum' => $ShipRequest1->getShipToNum(),
|
|
>> 882: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName(),
|
|
883: 'ShipToName' => $ShipRequest1->getShipToName(),
|
|
884: 'ShipToAddress1' => $ShipRequest1->getShipToAddress1(),
|
|
|
|
Line 928 [match: EPICOR]:
|
|
926: $DataHandler->commitTransaction();
|
|
927: } catch(Exception $e) {
|
|
>> 928: Log::error('SHIPMENT REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
929: return redirect()->back()->withErrors('An unexpected error was encountered cancelling this shipment release. Please try again.');
|
|
930: }
|
|
|
|
Line 935 [match: EPICOR]:
|
|
933: }
|
|
934:
|
|
>> 935: public function getSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
936: SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues
|
|
937: $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo)
|
|
|
|
Line 942 [match: EPICOR]:
|
|
940: return redirect()->action('Quest\InventoryController@getIndex')->with((request()->session()->has('success') ? ['success' => request()->session()->get('success')] : []));
|
|
941:
|
|
>> 942: $ShipToAddresses = $EpicorDatabase->getCustomerShipToAddresses($SelectedCompanyProvider->getSelectedCompanyEpicorCustID());
|
|
943:
|
|
944: $ShipToAddressLines = [];
|
|
|
|
Line 946 [match: EPICOR]:
|
|
944: $ShipToAddressLines = [];
|
|
945: $ShipToAddressNums = [];
|
|
>> 946: $CustomerName = $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName();
|
|
947: foreach($ShipToAddresses as $ShipToAddress)
|
|
948: {
|
|
|
|
Line 960 [match: EPICOR]:
|
|
958:
|
|
959: ///here
|
|
>> 960: public function postSelectShipToAddress(ShipmentCart $ShipmentCart, EpicorDatabase $EpicorDatabase,
|
|
961: SelectedCompanyProvider $SelectedCompanyProvider, MetadataFactory $MetadataFactory,
|
|
962: DataHandler $DataHandler, QuestPageValues $QuestPageValues)
|
|
|
|
Line 970 [match: EPICOR]:
|
|
968: return redirect()->back()->withErrors('The ship to address selected is not valid. Please try again.');
|
|
969:
|
|
>> 970: $SelectedShipToAddressInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum);
|
|
971:
|
|
972: if(is_null($SelectedShipToAddressInfo))
|
|
|
|
Line 981 [match: EPICOR]:
|
|
979: 'ShipToSelected' => true,
|
|
980: 'ShipToNum' => $ShipToNum,
|
|
>> 981: 'ShipToCustomer' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getEpiName(),
|
|
982: 'ShipToName' => $SelectedShipToAddressInfo['ShipToName'],
|
|
983: 'ShipToAddress1' => $SelectedShipToAddressInfo['ShipToAddress1'],
|
|
|
|
Line 999 [match: EPICOR]:
|
|
997: }
|
|
998:
|
|
>> 999: public function postShipToAddressInquiry(quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, SelectedCompanyProvider $SelectedCompanyProvider, QuestPageValues $QuestPageValues)
|
|
1000: {
|
|
1001: $EmailInquiryTo = $ROEmailEventRepo->getEmailsForActiveQuestUsersThatReceiveEmailEvent('SHIP_TO_ADDRESS_INQUIRY');
|
|
|
|
Line 1011 [match: EPICOR]:
|
|
1009: if(!in_array($Type, ['add','edit','delete']))
|
|
1010: return redirect()->back()->withErrors('Invalid inquiry type provided');
|
|
>> 1011: if(($Type == 'edit' || $Type == 'delete') && (is_null($ShipToNum = request()->input('id')) || is_null($ShipToInfo = $EpicorDatabase->getCustomerSingleShipToAddressByNum($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $ShipToNum))))
|
|
1012: return redirect()->back()->withErrors('The ship to address for your inquiry no longer exists.');
|
|
1013: if(($Type == 'add' || $Type == 'edit') && !strlen($Inquiry = trim(request()->input('inquiry'))))
|
|
|
|
Line 1039 [match: EPICOR]:
|
|
1037: public function postAddItemToShipment(ShipmentCart $ShipmentCart, ship_RequestRepo $ROShipmentRequestRepo, SelectedCompanyProvider $SelectedCompanyProvider, DataHandler $DataHandler)
|
|
1038: {
|
|
>> 1039: /** @var EpicorDatabase $EpicorDatabase */
|
|
1040: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1041:
|
|
|
|
Line 1040 [match: EPICOR]:
|
|
1038: {
|
|
1039: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1040: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1041:
|
|
1042: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1066 [match: EPICOR]:
|
|
1064: elseif($ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
1065: return response()->json(['success' => 0, 'reason' => 'This item is already in your current shipment release', 'action' => 'in_cart']);
|
|
>> 1066: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
1067: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
1068:
|
|
|
|
Line 1069 [match: EPICOR]:
|
|
1067: return response()->json(['success' => 0, 'reason' => 'This item is already part of another shipment release for this customer', 'action' => 'another_cart']);
|
|
1068:
|
|
>> 1069: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),$PartNum);
|
|
1070:
|
|
1071: $DataHandler->startTransaction();
|
|
|
|
Line 1076 [match: EPICOR]:
|
|
1074: $DataHandler->commitTransaction();
|
|
1075: } catch (Exception $e) {
|
|
>> 1076: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1077: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your shipment. Please try again.']);
|
|
1078: }
|
|
|
|
Line 1089 [match: EPICOR]:
|
|
1087: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
1088: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 1089: /** @var EpicorDatabase $EpicorDatabase */
|
|
1090: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1091: /** @var ship_RequestDetailRepo $ROShipmentRequestDetailRepo */
|
|
|
|
Line 1090 [match: EPICOR]:
|
|
1088: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1089: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1090: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1091: /** @var ship_RequestDetailRepo $ROShipmentRequestDetailRepo */
|
|
1092: $ROShipmentRequestDetailRepo = app(ship_RequestDetailRepo::class);
|
|
|
|
Line 1104 [match: EPICOR]:
|
|
1102: {
|
|
1103: case 'portal_UnprocessedInventorySummary':
|
|
>> 1104: $Data = $EpicorDatabase->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1105: break;
|
|
1106: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1107 [match: EPICOR]:
|
|
1105: break;
|
|
1106: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
>> 1107: $Data = $EpicorDatabase->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1108: break;
|
|
1109: case 'portal_WorkInProgressInventorySummary':
|
|
|
|
Line 1110 [match: EPICOR]:
|
|
1108: break;
|
|
1109: case 'portal_WorkInProgressInventorySummary':
|
|
>> 1110: $Data = $EpicorDatabase->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1111: break;
|
|
1112: case 'portal_FinishedGoodsInventorySummary':
|
|
|
|
Line 1113 [match: EPICOR]:
|
|
1111: break;
|
|
1112: case 'portal_FinishedGoodsInventorySummary':
|
|
>> 1113: $Data = $EpicorDatabase->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1114: break;
|
|
1115: case 'portal_ProcessedOtherInventorySummary':
|
|
|
|
Line 1116 [match: EPICOR]:
|
|
1114: break;
|
|
1115: case 'portal_ProcessedOtherInventorySummary':
|
|
>> 1116: $Data = $EpicorDatabase->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1117: break;
|
|
1118: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1119 [match: EPICOR]:
|
|
1117: break;
|
|
1118: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
>> 1119: $Data = $EpicorDatabase->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1120: break;
|
|
1121: default:
|
|
|
|
Line 1128 [match: EPICOR]:
|
|
1126: return response()->json(['success' => 0, 'reason' => 'The current shipment release already contains items from another plant', 'action' => 'bad_plant']);
|
|
1127:
|
|
>> 1128: $DetailLinesThatExistInRelease = $ROShipmentRequestDetailRepo->getDetailLinesThatExistForNonCancelledShipments($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $Part, $Warehouse, $Data);
|
|
1129:
|
|
1130: $Added = [];
|
|
|
|
Line 1154 [match: EPICOR]:
|
|
1152: continue; // already in another release
|
|
1153: }
|
|
>> 1154: $PartDescription = $EpicorDatabase->getVorPartDescriptionFromPartNumberWithPaintCode($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),$Part);
|
|
1155: $this->_addLineToShipmentRelease($ShipmentCart->getCartID(), $Part, $Warehouse, $DataSingle['LotNum'], $PartDescription, $DataSingle['OnHandQty'], $DataSingle['CustPartNum'], ($DataSingle['SkidNum'] ?? null), ($DataSingle['CustomerPoNum'] ?? null), ($DataSingle['VorteqJobNum'] ?? null),
|
|
1156: ($DataSingle['VorteqSalesOrderNum'] ?? null), $DataSingle['Bin'], $Plant,($DataSingle['MfgLot'] ?? null) );
|
|
|
|
Line 1161 [match: EPICOR]:
|
|
1159: $DataHandler->commitTransaction();
|
|
1160: } catch (Exception $e) {
|
|
>> 1161: Log::error('ADDING ITEM TO SHIPMENT ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$ShipmentCart->getCartID().'): '.$e->getMessage());
|
|
1162: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your shipment. Please try again.']);
|
|
1163: }
|
|
|
|
Line 1241 [match: EPICOR]:
|
|
1239: $DataHandler->commitTransaction();
|
|
1240: } catch (Exception $e) {
|
|
>> 1241: // Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
1242: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error saving the form']);
|
|
1243: }
|
|
|
|
Line 1304 [match: EPICOR]:
|
|
1302: }
|
|
1303:
|
|
>> 1304: public function postCompleteShipment(ShipmentCart $ShipmentCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, ShipmentReleaseHelper $ShipmentReleaseHelper)
|
|
1305: {
|
|
1306: if(!$ShipmentCart->getIsCartOpen())
|
|
|
|
Line 1349 [match: EPICOR]:
|
|
1347: $qp = app(quest_Plant::class);
|
|
1348:
|
|
>> 1349: $ConfirmationEmailPlant = $qp->findOneBy(['PlantCode' => $ConfirmationEmailPlant->getEpicorKey()]);
|
|
1350: }
|
|
1351: catch (\Throwable $e){
|
|
|
|
Line 1371 [match: EPICOR]:
|
|
1369:
|
|
1370: /* try {
|
|
>> 1371: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($ShipmentCart->getPlant());
|
|
1372: } catch(Exception $e) {
|
|
1373: Log::error('Could not complete shipment release because could not get plant emails for '.$ShipmentCart->getPlant().' ('.$ShipmentCart->getCartID().')');
|
|
|
|
Line 1442 [match: EPICOR]:
|
|
1440: $ShipmentID = request()->route()->parameter('shipment_id');
|
|
1441:
|
|
>> 1442: if(is_null($ShipmentReferenceNum = $ROShipmentRequestRepo->getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestPageValues->getQuestUserID(), $SelectedCompanyProvider->getSelectedCompanyEpicorCustID())))
|
|
1443: return redirect()->action('Quest\InventoryController@getIndex');
|
|
1444:
|
|
|
|
Line 1484 [match: EPICOR]:
|
|
1482: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
1483: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 1484: /** @var EpicorDatabase $EpicorDB */
|
|
1485: $EpicorDB = app(EpicorDatabase::class);
|
|
1486: /** @var ShipmentCart $ShipmentCart */
|
|
|
|
Line 1485 [match: EPICOR]:
|
|
1483: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1484: /** @var EpicorDatabase $EpicorDB */
|
|
>> 1485: $EpicorDB = app(EpicorDatabase::class);
|
|
1486: /** @var ShipmentCart $ShipmentCart */
|
|
1487: $ShipmentCart = app(ShipmentCart::class);
|
|
|
|
Line 1494 [match: EPICOR]:
|
|
1492: $Warehouse = base64_decode(request()->route()->parameter('warehouse'));
|
|
1493:
|
|
>> 1494: $PartDesc = $EpicorDB->getVorPartDescriptionFromPartNumber($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part);
|
|
1495:
|
|
1496: // $IncludeLinks = true;
|
|
|
|
Line 1507 [match: EPICOR]:
|
|
1505: $SourceName = 'Unprocessed';
|
|
1506: $WrapClass = 'vor-orange';
|
|
>> 1507: $TotalQOH = $EpicorDB->getInventoryUnprocessedQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1508: break;
|
|
1509: case 'portal_UnprocessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1513 [match: EPICOR]:
|
|
1511: $SourceName = 'Unprocessed (Rejects / Returns)';
|
|
1512: $WrapClass = 'vor-purple';
|
|
>> 1513: $TotalQOH = $EpicorDB->getInventoryUnprocessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1514: break;
|
|
1515: case 'portal_WorkInProgressInventorySummary':
|
|
|
|
Line 1519 [match: EPICOR]:
|
|
1517: $SourceName = 'Work In Progress';
|
|
1518: $WrapClass = 'vor-green';
|
|
>> 1519: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1520: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_WorkInProgressInventoryV6');
|
|
1521: break;
|
|
|
|
Line 1520 [match: EPICOR]:
|
|
1518: $WrapClass = 'vor-green';
|
|
1519: $TotalQOH = $EpicorDB->getInventoryWorkInProgressQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1520: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_WorkInProgressInventoryV6');
|
|
1521: break;
|
|
1522: case 'portal_FinishedGoodsInventorySummary':
|
|
|
|
Line 1526 [match: EPICOR]:
|
|
1524: $SourceName = 'Finished Goods';
|
|
1525: $WrapClass = 'vor-blue';
|
|
>> 1526: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1527: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
1528: break;
|
|
|
|
Line 1527 [match: EPICOR]:
|
|
1525: $WrapClass = 'vor-blue';
|
|
1526: $TotalQOH = $EpicorDB->getInventoryFinishedGoodsQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1527: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_FinishedGoodsInventoryV6');
|
|
1528: break;
|
|
1529: case 'portal_ProcessedOtherInventorySummary':
|
|
|
|
Line 1533 [match: EPICOR]:
|
|
1531: $SourceName = 'Processed - Other';
|
|
1532: $WrapClass = 'vor-yellow';
|
|
>> 1533: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1534: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
1535: break;
|
|
|
|
Line 1534 [match: EPICOR]:
|
|
1532: $WrapClass = 'vor-yellow';
|
|
1533: $TotalQOH = $EpicorDB->getInventoryProcessedOtherQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1534: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse, 'portal_ProcessedOtherInventoryV6');
|
|
1535: break;
|
|
1536: case 'portal_ProcessedInventoryRejectsAndReturnsSummary':
|
|
|
|
Line 1540 [match: EPICOR]:
|
|
1538: $SourceName = 'Processed (Rejects / Returns)';
|
|
1539: $WrapClass = 'vor-red';
|
|
>> 1540: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
1541: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
1542: break;
|
|
|
|
Line 1541 [match: EPICOR]:
|
|
1539: $WrapClass = 'vor-red';
|
|
1540: $TotalQOH = $EpicorDB->getInventoryProcessedRRQOHForSpecificDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
>> 1541: $PartDesc = $EpicorDB->getInventoryProcessedPaintCodeDetailLine($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse,'portal_ProcessedInventoryRejectsAndReturns');
|
|
1542: break;
|
|
1543: default:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\InvoicesController.php
|
|
================================================================================
|
|
Line 27 [match: epicor]:
|
|
25: /** @var QuestPageValues $QuestPageValues */
|
|
26: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 27: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
28: return abort(404);
|
|
29:
|
|
|
|
Line 86 [match: epicor]:
|
|
84: /** @var QuestPageValues $QuestPageValues */
|
|
85: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 86: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
87: return abort(404);
|
|
88:
|
|
|
|
Line 102 [match: epicor]:
|
|
100: return abort(404);
|
|
101:
|
|
>> 102: if(sizeof($MatchedActiveCompaniesForUser = array_filter($QuestPageValues->getAllActiveCompaniesByEpicorCustID(), function(quest_Company $company) use ($InvoiceCompanyID) { return $company->getID() == $InvoiceCompanyID;})) !== 1)
|
|
103: return abort(404);
|
|
104:
|
|
|
|
Line 108 [match: epicor]:
|
|
106: {
|
|
107: $PermittedCompanyForUser = $MatchedActiveCompaniesForUser[array_keys($MatchedActiveCompaniesForUser)[0]];
|
|
>> 108: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($PermittedCompanyForUser->getEpicorCustID());
|
|
109: }
|
|
110:
|
|
|
|
Line 118 [match: epicor]:
|
|
116: /** @var QuestPageValues $QuestPageValues */
|
|
117: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 118: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
119: return abort(404);
|
|
120:
|
|
|
|
Line 160 [match: epicor]:
|
|
158: $Metadata->getField('InvoiceNumber')->setDefaultSortDirectionInRecordLists(OrderByField::DIR_DESC);
|
|
159:
|
|
>> 160: $EpicorInvoiceMetadata = $MetadataFactory->getEntity('epi_InvcHead');
|
|
161: $EpicorInvoiceMetadata->getField('OpenInvoice')->setLabel('Is Paid?');
|
|
162:
|
|
|
|
Line 161 [match: epicor]:
|
|
159:
|
|
160: $EpicorInvoiceMetadata = $MetadataFactory->getEntity('epi_InvcHead');
|
|
>> 161: $EpicorInvoiceMetadata->getField('OpenInvoice')->setLabel('Is Paid?');
|
|
162:
|
|
163: return $Metadata;
|
|
|
|
Line 27 [match: Epicor]:
|
|
25: /** @var QuestPageValues $QuestPageValues */
|
|
26: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 27: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
28: return abort(404);
|
|
29:
|
|
|
|
Line 86 [match: Epicor]:
|
|
84: /** @var QuestPageValues $QuestPageValues */
|
|
85: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 86: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
87: return abort(404);
|
|
88:
|
|
|
|
Line 102 [match: Epicor]:
|
|
100: return abort(404);
|
|
101:
|
|
>> 102: if(sizeof($MatchedActiveCompaniesForUser = array_filter($QuestPageValues->getAllActiveCompaniesByEpicorCustID(), function(quest_Company $company) use ($InvoiceCompanyID) { return $company->getID() == $InvoiceCompanyID;})) !== 1)
|
|
103: return abort(404);
|
|
104:
|
|
|
|
Line 108 [match: Epicor]:
|
|
106: {
|
|
107: $PermittedCompanyForUser = $MatchedActiveCompaniesForUser[array_keys($MatchedActiveCompaniesForUser)[0]];
|
|
>> 108: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($PermittedCompanyForUser->getEpicorCustID());
|
|
109: }
|
|
110:
|
|
|
|
Line 118 [match: Epicor]:
|
|
116: /** @var QuestPageValues $QuestPageValues */
|
|
117: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 118: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
119: return abort(404);
|
|
120:
|
|
|
|
Line 160 [match: Epicor]:
|
|
158: $Metadata->getField('InvoiceNumber')->setDefaultSortDirectionInRecordLists(OrderByField::DIR_DESC);
|
|
159:
|
|
>> 160: $EpicorInvoiceMetadata = $MetadataFactory->getEntity('epi_InvcHead');
|
|
161: $EpicorInvoiceMetadata->getField('OpenInvoice')->setLabel('Is Paid?');
|
|
162:
|
|
|
|
Line 161 [match: Epicor]:
|
|
159:
|
|
160: $EpicorInvoiceMetadata = $MetadataFactory->getEntity('epi_InvcHead');
|
|
>> 161: $EpicorInvoiceMetadata->getField('OpenInvoice')->setLabel('Is Paid?');
|
|
162:
|
|
163: return $Metadata;
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25: /** @var QuestPageValues $QuestPageValues */
|
|
26: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 27: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
28: return abort(404);
|
|
29:
|
|
|
|
Line 86 [match: EPICOR]:
|
|
84: /** @var QuestPageValues $QuestPageValues */
|
|
85: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 86: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
87: return abort(404);
|
|
88:
|
|
|
|
Line 102 [match: EPICOR]:
|
|
100: return abort(404);
|
|
101:
|
|
>> 102: if(sizeof($MatchedActiveCompaniesForUser = array_filter($QuestPageValues->getAllActiveCompaniesByEpicorCustID(), function(quest_Company $company) use ($InvoiceCompanyID) { return $company->getID() == $InvoiceCompanyID;})) !== 1)
|
|
103: return abort(404);
|
|
104:
|
|
|
|
Line 108 [match: EPICOR]:
|
|
106: {
|
|
107: $PermittedCompanyForUser = $MatchedActiveCompaniesForUser[array_keys($MatchedActiveCompaniesForUser)[0]];
|
|
>> 108: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($PermittedCompanyForUser->getEpicorCustID());
|
|
109: }
|
|
110:
|
|
|
|
Line 118 [match: EPICOR]:
|
|
116: /** @var QuestPageValues $QuestPageValues */
|
|
117: $QuestPageValues = app(QuestPageValues::class);
|
|
>> 118: if(!sizeof($QuestPageValues->getActiveCompanyEpicorCustIDsWithInvoicingAccess()))
|
|
119: return abort(404);
|
|
120:
|
|
|
|
Line 160 [match: EPICOR]:
|
|
158: $Metadata->getField('InvoiceNumber')->setDefaultSortDirectionInRecordLists(OrderByField::DIR_DESC);
|
|
159:
|
|
>> 160: $EpicorInvoiceMetadata = $MetadataFactory->getEntity('epi_InvcHead');
|
|
161: $EpicorInvoiceMetadata->getField('OpenInvoice')->setLabel('Is Paid?');
|
|
162:
|
|
|
|
Line 161 [match: EPICOR]:
|
|
159:
|
|
160: $EpicorInvoiceMetadata = $MetadataFactory->getEntity('epi_InvcHead');
|
|
>> 161: $EpicorInvoiceMetadata->getField('OpenInvoice')->setLabel('Is Paid?');
|
|
162:
|
|
163: return $Metadata;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\JobStatusByPlantByCustomer.php
|
|
================================================================================
|
|
Line 4 [match: epicor]:
|
|
2:
|
|
3: use App\Http\Controllers\Controller;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\SelectedCompanyProvider;
|
|
6: use Illuminate\Http\Response;
|
|
|
|
Line 17 [match: epicor]:
|
|
15: $comp = app(SelectedCompanyProvider::class);
|
|
16:
|
|
>> 17: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
18:
|
|
19:
|
|
|
|
Line 22 [match: epicor]:
|
|
20:
|
|
21:
|
|
>> 22: /** @var EpicorDatabase $EpicorDatabase */
|
|
23: $EpicorDatabase = app(EpicorDatabase::class);
|
|
24:
|
|
|
|
Line 23 [match: epicor]:
|
|
21:
|
|
22: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 23: $EpicorDatabase = app(EpicorDatabase::class);
|
|
24:
|
|
25:
|
|
|
|
Line 27 [match: epicor]:
|
|
25:
|
|
26:
|
|
>> 27: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
28:
|
|
29: //dd($data);
|
|
|
|
Line 4 [match: Epicor]:
|
|
2:
|
|
3: use App\Http\Controllers\Controller;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\SelectedCompanyProvider;
|
|
6: use Illuminate\Http\Response;
|
|
|
|
Line 17 [match: Epicor]:
|
|
15: $comp = app(SelectedCompanyProvider::class);
|
|
16:
|
|
>> 17: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
18:
|
|
19:
|
|
|
|
Line 22 [match: Epicor]:
|
|
20:
|
|
21:
|
|
>> 22: /** @var EpicorDatabase $EpicorDatabase */
|
|
23: $EpicorDatabase = app(EpicorDatabase::class);
|
|
24:
|
|
|
|
Line 23 [match: Epicor]:
|
|
21:
|
|
22: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 23: $EpicorDatabase = app(EpicorDatabase::class);
|
|
24:
|
|
25:
|
|
|
|
Line 27 [match: Epicor]:
|
|
25:
|
|
26:
|
|
>> 27: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
28:
|
|
29: //dd($data);
|
|
|
|
Line 4 [match: EPICOR]:
|
|
2:
|
|
3: use App\Http\Controllers\Controller;
|
|
>> 4: use App\Services\EpicorDatabase;
|
|
5: use App\Services\SelectedCompanyProvider;
|
|
6: use Illuminate\Http\Response;
|
|
|
|
Line 17 [match: EPICOR]:
|
|
15: $comp = app(SelectedCompanyProvider::class);
|
|
16:
|
|
>> 17: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
18:
|
|
19:
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20:
|
|
21:
|
|
>> 22: /** @var EpicorDatabase $EpicorDatabase */
|
|
23: $EpicorDatabase = app(EpicorDatabase::class);
|
|
24:
|
|
|
|
Line 23 [match: EPICOR]:
|
|
21:
|
|
22: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 23: $EpicorDatabase = app(EpicorDatabase::class);
|
|
24:
|
|
25:
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25:
|
|
26:
|
|
>> 27: $data = $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
28:
|
|
29: //dd($data);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\OrderAcknowledgement.php
|
|
================================================================================
|
|
Line 16 [match: epicor]:
|
|
14: /** @var SelectedCompanyProvider $comp */
|
|
15: $comp = app(SelectedCompanyProvider::class);
|
|
>> 16: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
17:
|
|
18: //53860
|
|
|
|
Line 16 [match: Epicor]:
|
|
14: /** @var SelectedCompanyProvider $comp */
|
|
15: $comp = app(SelectedCompanyProvider::class);
|
|
>> 16: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
17:
|
|
18: //53860
|
|
|
|
Line 16 [match: EPICOR]:
|
|
14: /** @var SelectedCompanyProvider $comp */
|
|
15: $comp = app(SelectedCompanyProvider::class);
|
|
>> 16: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
17:
|
|
18: //53860
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\OrderController.php
|
|
================================================================================
|
|
Line 624 [match: FROM ]:
|
|
622:
|
|
623: if($AllocCart->getSelectionCount() && $Plant !== $AllocCart->getPlant())
|
|
>> 624: return response()->json(['success' => 0, 'reason' => 'The current coil allocation already contains items from another plant', 'action' => 'bad_plant']);
|
|
625: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
626: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
|
|
Line 687 [match: FROM ]:
|
|
685:
|
|
686: if($AllocCart->getSelectionCount() && $Plant !== $AllocCart->getPlant())
|
|
>> 687: return response()->json(['success' => 0, 'reason' => 'The current coil allocation already contains items from another plant', 'action' => 'bad_plant']);
|
|
688: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
689: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
|
|
Line 749 [match: FROM ]:
|
|
747: $DataHandler->commitTransaction();
|
|
748: } catch(Exception $e) {
|
|
>> 749: Log::error('Deleting item from allocation: '.$e->getMessage());
|
|
750: return redirect()->back()->withErrors('An unexpected error was encountered removing this item from your coil allocation. Please try again.');
|
|
751: }
|
|
|
|
Line 750 [match: FROM ]:
|
|
748: } catch(Exception $e) {
|
|
749: Log::error('Deleting item from allocation: '.$e->getMessage());
|
|
>> 750: return redirect()->back()->withErrors('An unexpected error was encountered removing this item from your coil allocation. Please try again.');
|
|
751: }
|
|
752:
|
|
|
|
Line 753 [match: FROM ]:
|
|
751: }
|
|
752:
|
|
>> 753: return redirect()->back()->with(['success' => 'Item successfully removed from coil allocation release']);
|
|
754: }
|
|
755:
|
|
|
|
Line 776 [match: SELECT ]:
|
|
774:
|
|
775: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
>> 776: return redirect()->back()->withErrors('Please select a customer before starting a coil allocation');
|
|
777:
|
|
778: $Now = new \DateTime();
|
|
|
|
Line 1019 [match: UPDATE ]:
|
|
1017: $CoilAllocationHelper->generateCompletedReleasePDF($AllocCart, $data, $addData);
|
|
1018:
|
|
>> 1019: // update DB
|
|
1020: $DataHandler->startTransaction();
|
|
1021: $DataHandler->handleInsertUpdate($DBData, $MetadataFactory->getEntity('alloc_Request'));
|
|
|
|
Line 18 [match: epicor]:
|
|
16: use Knp\Snappy\Pdf;
|
|
17: use Illuminate\Support\Facades\Notification;
|
|
>> 18: use App\Services\EpicorDatabase;
|
|
19: use App\Services\SelectedCompanyProvider;
|
|
20: use Savvior\Data\DataHandler;
|
|
|
|
Line 28 [match: epicor]:
|
|
26: use Savvior\LTabbyPages\TabbyPageManager;
|
|
27: use Savvior\LTabbyPages\TabbyPage;
|
|
>> 28: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
29: use Savvior\Metadata\FieldMetadataField;
|
|
30: use Savvior\Metadata\MetadataFactory;
|
|
|
|
Line 54 [match: epicor]:
|
|
52: /** @var SelectedCompanyProvider $customer */
|
|
53: $customer = app(SelectedCompanyProvider::class);
|
|
>> 54: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
55:
|
|
56:
|
|
|
|
Line 61 [match: epicor]:
|
|
59: $quest_CompanyRepo = app(quest_Company::class);
|
|
60: /** @var \App\Model\Entities\quest_Company $quest_Company */
|
|
>> 61: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customer]);
|
|
62:
|
|
63: /** @var \App\Model\Entities\quest_User[] $quest_CompanyUsers */
|
|
|
|
Line 151 [match: epicor]:
|
|
149: $DataHandler->commitTransaction();
|
|
150: } catch (Exception $e) {
|
|
>> 151: // Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
152: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error saving comments']);
|
|
153: }
|
|
|
|
Line 218 [match: epicor]:
|
|
216: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
217: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 218: /** @var EpicorDatabase $EpicorDB */
|
|
219: $EpicorDB = app(EpicorDatabase::class);
|
|
220: /** @var AllocCart $AllocCart */
|
|
|
|
Line 219 [match: epicor]:
|
|
217: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
218: /** @var EpicorDatabase $EpicorDB */
|
|
>> 219: $EpicorDB = app(EpicorDatabase::class);
|
|
220: /** @var AllocCart $AllocCart */
|
|
221: $AllocCart = app(AllocCart::class);
|
|
|
|
Line 227 [match: epicor]:
|
|
225: $Plant = base64_decode(request()->route()->parameter('plant'));
|
|
226:
|
|
>> 227: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
228:
|
|
229: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
|
|
Line 336 [match: epicor]:
|
|
334: protected function getJobStatusByPlanByCustomer()
|
|
335: {
|
|
>> 336: /** @var EpicorDatabase $EpicorDB */
|
|
337: $EpicorDB = app(EpicorDatabase::class);
|
|
338:
|
|
|
|
Line 337 [match: epicor]:
|
|
335: {
|
|
336: /** @var EpicorDatabase $EpicorDB */
|
|
>> 337: $EpicorDB = app(EpicorDatabase::class);
|
|
338:
|
|
339: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 341 [match: epicor]:
|
|
339: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
340: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 341: $company = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
342:
|
|
343: $OrderData = collect(
|
|
|
|
Line 344 [match: epicor]:
|
|
342:
|
|
343: $OrderData = collect(
|
|
>> 344: $EpicorDB->getJobStatusByPlanByCustomer($company)
|
|
345: );
|
|
346:
|
|
|
|
Line 382 [match: epicor]:
|
|
380: private function getOpenOrdersMetadata()
|
|
381: {
|
|
>> 382: $Metadata = new EpicorEntityMetadata('portal_OpenOrders'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
383:
|
|
384: $PhonyID = $Metadata->addNewField('PhonyID', FieldMetadataField::class); // needed to satisfy new grid requirement of having an identifier field when there are links (for our purposes, not used, so we aren't providing values for it!)
|
|
|
|
Line 627 [match: epicor]:
|
|
625: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
626: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
>> 627: elseif($ROAllocationRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
628: return response()->json(['success' => 0, 'reason' => 'This item is already part of another coil allocation for this customer', 'action' => 'another_cart']);
|
|
629:
|
|
|
|
Line 690 [match: epicor]:
|
|
688: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
689: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
>> 690: elseif($ROAllocationRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
691: return response()->json(['success' => 0, 'reason' => 'This item is already part of another coil allocation for this customer', 'action' => 'another_cart']);
|
|
692:
|
|
|
|
Line 717 [match: epicor]:
|
|
715: $DataHandler->commitTransaction();
|
|
716: } catch (Exception $e) {
|
|
>> 717: Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
718: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your coil allocation. Please try again.']);
|
|
719: }
|
|
|
|
Line 762 [match: epicor]:
|
|
760:
|
|
761: if($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndJobNum(
|
|
>> 762: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
763: request()->Plant,
|
|
764: request()->JobNum)
|
|
|
|
Line 775 [match: epicor]:
|
|
773: return redirect()->back()->withErrors('A coil allocation cannot be started for this customer as there is already one in progress');
|
|
774:
|
|
>> 775: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
776: return redirect()->back()->withErrors('Please select a customer before starting a coil allocation');
|
|
777:
|
|
|
|
Line 784 [match: epicor]:
|
|
782: try {
|
|
783: $DataHandler->handleInsertUpdate([
|
|
>> 784: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
785: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
786: 'Plant' => request()->Plant,
|
|
|
|
Line 802 [match: epicor]:
|
|
800: $DataHandler->commitTransaction();
|
|
801: } catch(Exception $e) {
|
|
>> 802: Log::error('ALLOCATION REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
803: return redirect()->back()->withErrors('An unexpected error was encountered starting this coil allocation Please try again.');
|
|
804: }
|
|
|
|
Line 820 [match: epicor]:
|
|
818: $DataHandler->commitTransaction();
|
|
819: } catch(Exception $e) {
|
|
>> 820: Log::error('COIL ALLOCATION REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
821: return redirect()->back()->withErrors('An unexpected error was encountered cancelling this coila allocation. Please try again.');
|
|
822: }
|
|
|
|
Line 833 [match: epicor]:
|
|
831:
|
|
832: $OH = app(OrderHelper::class);
|
|
>> 833: $EpicorDB = app(EpicorDatabase::class);
|
|
834:
|
|
835: $AllocCart->setCartRedirectLocation(url()->current());
|
|
|
|
Line 840 [match: epicor]:
|
|
838: $Plant = $AllocCart->getPlant();
|
|
839:
|
|
>> 840: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
841:
|
|
842: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
|
|
Line 925 [match: epicor]:
|
|
923: $AllocationId = request()->route()->parameter('allocation_id');
|
|
924:
|
|
>> 925: if(is_null($AllocationReferenceNum = $ROAllocRequestRepo->getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestPageValues->getQuestUserID(), $SelectedCompanyProvider->getSelectedCompanyEpicorCustID())))
|
|
926: return redirect()->action('Quest\InventoryController@getIndex');
|
|
927:
|
|
|
|
Line 931 [match: epicor]:
|
|
929: }
|
|
930:
|
|
>> 931: public function postCompleteAllocation(AllocCart $AllocCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, CoilAllocationHelper $CoilAllocationHelper)
|
|
932: {
|
|
933: if(!$AllocCart->getIsCartOpen())
|
|
|
|
Line 967 [match: epicor]:
|
|
965: /*
|
|
966: try {
|
|
>> 967: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($AllocCart->getPlant());
|
|
968: } catch(Exception $e) {
|
|
969: Log::error('Could not complete coil allocation because could not get plant emails for '.$AllocCart->getPlant().' ('.$AllocCart->getCartID().')');
|
|
|
|
Line 1042 [match: epicor]:
|
|
1040: private function __fetchJobInformationForHeader($JobNum)
|
|
1041: {
|
|
>> 1042: /** @var EpicorDatabase $EpicorDB */
|
|
1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
|
|
Line 1043 [match: epicor]:
|
|
1041: {
|
|
1042: /** @var EpicorDatabase $EpicorDB */
|
|
>> 1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
1045: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
|
|
Line 1045 [match: epicor]:
|
|
1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
>> 1045: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
1046: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
1047: //$CustomerName = $Job['Customer_Name'];
|
|
|
|
Line 18 [match: Epicor]:
|
|
16: use Knp\Snappy\Pdf;
|
|
17: use Illuminate\Support\Facades\Notification;
|
|
>> 18: use App\Services\EpicorDatabase;
|
|
19: use App\Services\SelectedCompanyProvider;
|
|
20: use Savvior\Data\DataHandler;
|
|
|
|
Line 28 [match: Epicor]:
|
|
26: use Savvior\LTabbyPages\TabbyPageManager;
|
|
27: use Savvior\LTabbyPages\TabbyPage;
|
|
>> 28: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
29: use Savvior\Metadata\FieldMetadataField;
|
|
30: use Savvior\Metadata\MetadataFactory;
|
|
|
|
Line 54 [match: Epicor]:
|
|
52: /** @var SelectedCompanyProvider $customer */
|
|
53: $customer = app(SelectedCompanyProvider::class);
|
|
>> 54: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
55:
|
|
56:
|
|
|
|
Line 61 [match: Epicor]:
|
|
59: $quest_CompanyRepo = app(quest_Company::class);
|
|
60: /** @var \App\Model\Entities\quest_Company $quest_Company */
|
|
>> 61: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customer]);
|
|
62:
|
|
63: /** @var \App\Model\Entities\quest_User[] $quest_CompanyUsers */
|
|
|
|
Line 151 [match: Epicor]:
|
|
149: $DataHandler->commitTransaction();
|
|
150: } catch (Exception $e) {
|
|
>> 151: // Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
152: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error saving comments']);
|
|
153: }
|
|
|
|
Line 218 [match: Epicor]:
|
|
216: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
217: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 218: /** @var EpicorDatabase $EpicorDB */
|
|
219: $EpicorDB = app(EpicorDatabase::class);
|
|
220: /** @var AllocCart $AllocCart */
|
|
|
|
Line 219 [match: Epicor]:
|
|
217: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
218: /** @var EpicorDatabase $EpicorDB */
|
|
>> 219: $EpicorDB = app(EpicorDatabase::class);
|
|
220: /** @var AllocCart $AllocCart */
|
|
221: $AllocCart = app(AllocCart::class);
|
|
|
|
Line 227 [match: Epicor]:
|
|
225: $Plant = base64_decode(request()->route()->parameter('plant'));
|
|
226:
|
|
>> 227: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
228:
|
|
229: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
|
|
Line 336 [match: Epicor]:
|
|
334: protected function getJobStatusByPlanByCustomer()
|
|
335: {
|
|
>> 336: /** @var EpicorDatabase $EpicorDB */
|
|
337: $EpicorDB = app(EpicorDatabase::class);
|
|
338:
|
|
|
|
Line 337 [match: Epicor]:
|
|
335: {
|
|
336: /** @var EpicorDatabase $EpicorDB */
|
|
>> 337: $EpicorDB = app(EpicorDatabase::class);
|
|
338:
|
|
339: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 341 [match: Epicor]:
|
|
339: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
340: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 341: $company = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
342:
|
|
343: $OrderData = collect(
|
|
|
|
Line 344 [match: Epicor]:
|
|
342:
|
|
343: $OrderData = collect(
|
|
>> 344: $EpicorDB->getJobStatusByPlanByCustomer($company)
|
|
345: );
|
|
346:
|
|
|
|
Line 382 [match: Epicor]:
|
|
380: private function getOpenOrdersMetadata()
|
|
381: {
|
|
>> 382: $Metadata = new EpicorEntityMetadata('portal_OpenOrders'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
383:
|
|
384: $PhonyID = $Metadata->addNewField('PhonyID', FieldMetadataField::class); // needed to satisfy new grid requirement of having an identifier field when there are links (for our purposes, not used, so we aren't providing values for it!)
|
|
|
|
Line 627 [match: Epicor]:
|
|
625: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
626: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
>> 627: elseif($ROAllocationRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
628: return response()->json(['success' => 0, 'reason' => 'This item is already part of another coil allocation for this customer', 'action' => 'another_cart']);
|
|
629:
|
|
|
|
Line 690 [match: Epicor]:
|
|
688: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
689: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
>> 690: elseif($ROAllocationRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
691: return response()->json(['success' => 0, 'reason' => 'This item is already part of another coil allocation for this customer', 'action' => 'another_cart']);
|
|
692:
|
|
|
|
Line 717 [match: Epicor]:
|
|
715: $DataHandler->commitTransaction();
|
|
716: } catch (Exception $e) {
|
|
>> 717: Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
718: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your coil allocation. Please try again.']);
|
|
719: }
|
|
|
|
Line 762 [match: Epicor]:
|
|
760:
|
|
761: if($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndJobNum(
|
|
>> 762: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
763: request()->Plant,
|
|
764: request()->JobNum)
|
|
|
|
Line 775 [match: Epicor]:
|
|
773: return redirect()->back()->withErrors('A coil allocation cannot be started for this customer as there is already one in progress');
|
|
774:
|
|
>> 775: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
776: return redirect()->back()->withErrors('Please select a customer before starting a coil allocation');
|
|
777:
|
|
|
|
Line 784 [match: Epicor]:
|
|
782: try {
|
|
783: $DataHandler->handleInsertUpdate([
|
|
>> 784: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
785: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
786: 'Plant' => request()->Plant,
|
|
|
|
Line 802 [match: Epicor]:
|
|
800: $DataHandler->commitTransaction();
|
|
801: } catch(Exception $e) {
|
|
>> 802: Log::error('ALLOCATION REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
803: return redirect()->back()->withErrors('An unexpected error was encountered starting this coil allocation Please try again.');
|
|
804: }
|
|
|
|
Line 820 [match: Epicor]:
|
|
818: $DataHandler->commitTransaction();
|
|
819: } catch(Exception $e) {
|
|
>> 820: Log::error('COIL ALLOCATION REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
821: return redirect()->back()->withErrors('An unexpected error was encountered cancelling this coila allocation. Please try again.');
|
|
822: }
|
|
|
|
Line 833 [match: Epicor]:
|
|
831:
|
|
832: $OH = app(OrderHelper::class);
|
|
>> 833: $EpicorDB = app(EpicorDatabase::class);
|
|
834:
|
|
835: $AllocCart->setCartRedirectLocation(url()->current());
|
|
|
|
Line 840 [match: Epicor]:
|
|
838: $Plant = $AllocCart->getPlant();
|
|
839:
|
|
>> 840: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
841:
|
|
842: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
|
|
Line 925 [match: Epicor]:
|
|
923: $AllocationId = request()->route()->parameter('allocation_id');
|
|
924:
|
|
>> 925: if(is_null($AllocationReferenceNum = $ROAllocRequestRepo->getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestPageValues->getQuestUserID(), $SelectedCompanyProvider->getSelectedCompanyEpicorCustID())))
|
|
926: return redirect()->action('Quest\InventoryController@getIndex');
|
|
927:
|
|
|
|
Line 931 [match: Epicor]:
|
|
929: }
|
|
930:
|
|
>> 931: public function postCompleteAllocation(AllocCart $AllocCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, CoilAllocationHelper $CoilAllocationHelper)
|
|
932: {
|
|
933: if(!$AllocCart->getIsCartOpen())
|
|
|
|
Line 967 [match: Epicor]:
|
|
965: /*
|
|
966: try {
|
|
>> 967: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($AllocCart->getPlant());
|
|
968: } catch(Exception $e) {
|
|
969: Log::error('Could not complete coil allocation because could not get plant emails for '.$AllocCart->getPlant().' ('.$AllocCart->getCartID().')');
|
|
|
|
Line 1042 [match: Epicor]:
|
|
1040: private function __fetchJobInformationForHeader($JobNum)
|
|
1041: {
|
|
>> 1042: /** @var EpicorDatabase $EpicorDB */
|
|
1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
|
|
Line 1043 [match: Epicor]:
|
|
1041: {
|
|
1042: /** @var EpicorDatabase $EpicorDB */
|
|
>> 1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
1045: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
|
|
Line 1045 [match: Epicor]:
|
|
1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
>> 1045: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
1046: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
1047: //$CustomerName = $Job['Customer_Name'];
|
|
|
|
Line 18 [match: EPICOR]:
|
|
16: use Knp\Snappy\Pdf;
|
|
17: use Illuminate\Support\Facades\Notification;
|
|
>> 18: use App\Services\EpicorDatabase;
|
|
19: use App\Services\SelectedCompanyProvider;
|
|
20: use Savvior\Data\DataHandler;
|
|
|
|
Line 28 [match: EPICOR]:
|
|
26: use Savvior\LTabbyPages\TabbyPageManager;
|
|
27: use Savvior\LTabbyPages\TabbyPage;
|
|
>> 28: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
29: use Savvior\Metadata\FieldMetadataField;
|
|
30: use Savvior\Metadata\MetadataFactory;
|
|
|
|
Line 54 [match: EPICOR]:
|
|
52: /** @var SelectedCompanyProvider $customer */
|
|
53: $customer = app(SelectedCompanyProvider::class);
|
|
>> 54: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
55:
|
|
56:
|
|
|
|
Line 61 [match: EPICOR]:
|
|
59: $quest_CompanyRepo = app(quest_Company::class);
|
|
60: /** @var \App\Model\Entities\quest_Company $quest_Company */
|
|
>> 61: $quest_Company = $quest_CompanyRepo->findOneBy(['EpicorCustID' => $customer]);
|
|
62:
|
|
63: /** @var \App\Model\Entities\quest_User[] $quest_CompanyUsers */
|
|
|
|
Line 151 [match: EPICOR]:
|
|
149: $DataHandler->commitTransaction();
|
|
150: } catch (Exception $e) {
|
|
>> 151: // Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
152: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error saving comments']);
|
|
153: }
|
|
|
|
Line 218 [match: EPICOR]:
|
|
216: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
217: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 218: /** @var EpicorDatabase $EpicorDB */
|
|
219: $EpicorDB = app(EpicorDatabase::class);
|
|
220: /** @var AllocCart $AllocCart */
|
|
|
|
Line 219 [match: EPICOR]:
|
|
217: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
218: /** @var EpicorDatabase $EpicorDB */
|
|
>> 219: $EpicorDB = app(EpicorDatabase::class);
|
|
220: /** @var AllocCart $AllocCart */
|
|
221: $AllocCart = app(AllocCart::class);
|
|
|
|
Line 227 [match: EPICOR]:
|
|
225: $Plant = base64_decode(request()->route()->parameter('plant'));
|
|
226:
|
|
>> 227: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
228:
|
|
229: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
|
|
Line 336 [match: EPICOR]:
|
|
334: protected function getJobStatusByPlanByCustomer()
|
|
335: {
|
|
>> 336: /** @var EpicorDatabase $EpicorDB */
|
|
337: $EpicorDB = app(EpicorDatabase::class);
|
|
338:
|
|
|
|
Line 337 [match: EPICOR]:
|
|
335: {
|
|
336: /** @var EpicorDatabase $EpicorDB */
|
|
>> 337: $EpicorDB = app(EpicorDatabase::class);
|
|
338:
|
|
339: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 341 [match: EPICOR]:
|
|
339: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
340: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 341: $company = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
342:
|
|
343: $OrderData = collect(
|
|
|
|
Line 344 [match: EPICOR]:
|
|
342:
|
|
343: $OrderData = collect(
|
|
>> 344: $EpicorDB->getJobStatusByPlanByCustomer($company)
|
|
345: );
|
|
346:
|
|
|
|
Line 382 [match: EPICOR]:
|
|
380: private function getOpenOrdersMetadata()
|
|
381: {
|
|
>> 382: $Metadata = new EpicorEntityMetadata('portal_OpenOrders'); // pass the name of the view in Epicor giving you the data, otherwise some unique name for this data structure
|
|
383:
|
|
384: $PhonyID = $Metadata->addNewField('PhonyID', FieldMetadataField::class); // needed to satisfy new grid requirement of having an identifier field when there are links (for our purposes, not used, so we aren't providing values for it!)
|
|
|
|
Line 627 [match: EPICOR]:
|
|
625: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
626: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
>> 627: elseif($ROAllocationRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
628: return response()->json(['success' => 0, 'reason' => 'This item is already part of another coil allocation for this customer', 'action' => 'another_cart']);
|
|
629:
|
|
|
|
Line 690 [match: EPICOR]:
|
|
688: elseif($AllocCart->getSelectionCount() && $AllocCart->isDetailInCart($PartNum, $Warehouse, $LotNum, (int)$OnHandQuantity))
|
|
689: return response()->json(['success' => 0, 'reason' => 'This item is already in your current coil allocation', 'action' => 'in_cart']);
|
|
>> 690: elseif($ROAllocationRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity))
|
|
691: return response()->json(['success' => 0, 'reason' => 'This item is already part of another coil allocation for this customer', 'action' => 'another_cart']);
|
|
692:
|
|
|
|
Line 717 [match: EPICOR]:
|
|
715: $DataHandler->commitTransaction();
|
|
716: } catch (Exception $e) {
|
|
>> 717: Log::error('ADDING ITEM TO ALLOCATION ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$AllocCart->getCartID().'): '.$e->getMessage());
|
|
718: return response()->json(['success' => 0, 'reason' => 'There was an unexpected error adding this item to your coil allocation. Please try again.']);
|
|
719: }
|
|
|
|
Line 762 [match: EPICOR]:
|
|
760:
|
|
761: if($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndJobNum(
|
|
>> 762: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
763: request()->Plant,
|
|
764: request()->JobNum)
|
|
|
|
Line 775 [match: EPICOR]:
|
|
773: return redirect()->back()->withErrors('A coil allocation cannot be started for this customer as there is already one in progress');
|
|
774:
|
|
>> 775: if(is_null($SelectedCompanyProvider->getSelectedCompanyEpicorCustID()))
|
|
776: return redirect()->back()->withErrors('Please select a customer before starting a coil allocation');
|
|
777:
|
|
|
|
Line 784 [match: EPICOR]:
|
|
782: try {
|
|
783: $DataHandler->handleInsertUpdate([
|
|
>> 784: 'quest_Company' => ['ID' => $QuestPageValues->getActiveCompanyByEpicorCustID($SelectedCompanyProvider->getSelectedCompanyEpicorCustID())->getID()],
|
|
785: 'quest_User' => ['ID' => $QuestPageValues->getQuestUserID()],
|
|
786: 'Plant' => request()->Plant,
|
|
|
|
Line 802 [match: EPICOR]:
|
|
800: $DataHandler->commitTransaction();
|
|
801: } catch(Exception $e) {
|
|
>> 802: Log::error('ALLOCATION REQUEST START DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
803: return redirect()->back()->withErrors('An unexpected error was encountered starting this coil allocation Please try again.');
|
|
804: }
|
|
|
|
Line 820 [match: EPICOR]:
|
|
818: $DataHandler->commitTransaction();
|
|
819: } catch(Exception $e) {
|
|
>> 820: Log::error('COIL ALLOCATION REQUEST CANCEL DB ('.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().','.$QuestPageValues->getQuestUserID().'): '.$e->getMessage());
|
|
821: return redirect()->back()->withErrors('An unexpected error was encountered cancelling this coila allocation. Please try again.');
|
|
822: }
|
|
|
|
Line 833 [match: EPICOR]:
|
|
831:
|
|
832: $OH = app(OrderHelper::class);
|
|
>> 833: $EpicorDB = app(EpicorDatabase::class);
|
|
834:
|
|
835: $AllocCart->setCartRedirectLocation(url()->current());
|
|
|
|
Line 840 [match: EPICOR]:
|
|
838: $Plant = $AllocCart->getPlant();
|
|
839:
|
|
>> 840: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
841:
|
|
842: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
|
|
Line 925 [match: EPICOR]:
|
|
923: $AllocationId = request()->route()->parameter('allocation_id');
|
|
924:
|
|
>> 925: if(is_null($AllocationReferenceNum = $ROAllocRequestRepo->getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestPageValues->getQuestUserID(), $SelectedCompanyProvider->getSelectedCompanyEpicorCustID())))
|
|
926: return redirect()->action('Quest\InventoryController@getIndex');
|
|
927:
|
|
|
|
Line 931 [match: EPICOR]:
|
|
929: }
|
|
930:
|
|
>> 931: public function postCompleteAllocation(AllocCart $AllocCart, QuestPageValues $QuestPageValues, quest_EmailEventRepo $ROEmailEventRepo, EpicorDatabase $EpicorDatabase, MetadataFactory $MetadataFactory, DataHandler $DataHandler, SelectedCompanyProvider $SelectedCompanyProvider, CoilAllocationHelper $CoilAllocationHelper)
|
|
932: {
|
|
933: if(!$AllocCart->getIsCartOpen())
|
|
|
|
Line 967 [match: EPICOR]:
|
|
965: /*
|
|
966: try {
|
|
>> 967: $PlantUserEmails = $EpicorDatabase->getPlantUserEmailAddresses($AllocCart->getPlant());
|
|
968: } catch(Exception $e) {
|
|
969: Log::error('Could not complete coil allocation because could not get plant emails for '.$AllocCart->getPlant().' ('.$AllocCart->getCartID().')');
|
|
|
|
Line 1042 [match: EPICOR]:
|
|
1040: private function __fetchJobInformationForHeader($JobNum)
|
|
1041: {
|
|
>> 1042: /** @var EpicorDatabase $EpicorDB */
|
|
1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
|
|
Line 1043 [match: EPICOR]:
|
|
1041: {
|
|
1042: /** @var EpicorDatabase $EpicorDB */
|
|
>> 1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
1045: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
|
|
Line 1045 [match: EPICOR]:
|
|
1043: $EpicorDB = app(EpicorDatabase::class);
|
|
1044:
|
|
>> 1045: $Job = $EpicorDB->getJob($JobNum)[0];
|
|
1046: $CustID = $Job['CustID'] . " \n " . $Job['Customer_Name'];
|
|
1047: //$CustomerName = $Job['Customer_Name'];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\PackingSlipUploadController.php
|
|
================================================================================
|
|
Line 3 [match: epicor]:
|
|
1: <?php namespace App\Http\Controllers\Quest;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use App\Services\PackingSlipHelper;
|
|
5: use Illuminate\Http\Request;
|
|
|
|
Line 23 [match: epicor]:
|
|
21:
|
|
22:
|
|
>> 23: public function manage(EpicorDatabase $epicor)
|
|
24: {
|
|
25: if (isset($_GET["remove"]))
|
|
|
|
Line 50 [match: epicor]:
|
|
48: }
|
|
49:
|
|
>> 50: public function step2(EpicorDatabase $epiccor, PackingSlipHelper $PackingSlipHelper)
|
|
51: {
|
|
52:
|
|
|
|
Line 76 [match: epicor]:
|
|
74:
|
|
75: elseif ($epiccor->DoesPackingSlipExist(str_replace(".".$file->getExtension(),'',$file->getFilename())) == false)
|
|
>> 76: $uploadedFiles[$file->getFilename()]["error"]='Packing Slip '.str_replace(".".$file->getExtension(),'',$file->getFilename())." is not found in Epicore";
|
|
77:
|
|
78: else
|
|
|
|
Line 3 [match: Epicor]:
|
|
1: <?php namespace App\Http\Controllers\Quest;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use App\Services\PackingSlipHelper;
|
|
5: use Illuminate\Http\Request;
|
|
|
|
Line 23 [match: Epicor]:
|
|
21:
|
|
22:
|
|
>> 23: public function manage(EpicorDatabase $epicor)
|
|
24: {
|
|
25: if (isset($_GET["remove"]))
|
|
|
|
Line 50 [match: Epicor]:
|
|
48: }
|
|
49:
|
|
>> 50: public function step2(EpicorDatabase $epiccor, PackingSlipHelper $PackingSlipHelper)
|
|
51: {
|
|
52:
|
|
|
|
Line 76 [match: Epicor]:
|
|
74:
|
|
75: elseif ($epiccor->DoesPackingSlipExist(str_replace(".".$file->getExtension(),'',$file->getFilename())) == false)
|
|
>> 76: $uploadedFiles[$file->getFilename()]["error"]='Packing Slip '.str_replace(".".$file->getExtension(),'',$file->getFilename())." is not found in Epicore";
|
|
77:
|
|
78: else
|
|
|
|
Line 3 [match: EPICOR]:
|
|
1: <?php namespace App\Http\Controllers\Quest;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use App\Services\PackingSlipHelper;
|
|
5: use Illuminate\Http\Request;
|
|
|
|
Line 23 [match: EPICOR]:
|
|
21:
|
|
22:
|
|
>> 23: public function manage(EpicorDatabase $epicor)
|
|
24: {
|
|
25: if (isset($_GET["remove"]))
|
|
|
|
Line 50 [match: EPICOR]:
|
|
48: }
|
|
49:
|
|
>> 50: public function step2(EpicorDatabase $epiccor, PackingSlipHelper $PackingSlipHelper)
|
|
51: {
|
|
52:
|
|
|
|
Line 76 [match: EPICOR]:
|
|
74:
|
|
75: elseif ($epiccor->DoesPackingSlipExist(str_replace(".".$file->getExtension(),'',$file->getFilename())) == false)
|
|
>> 76: $uploadedFiles[$file->getFilename()]["error"]='Packing Slip '.str_replace(".".$file->getExtension(),'',$file->getFilename())." is not found in Epicore";
|
|
77:
|
|
78: else
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\PaintScheduleController.php
|
|
================================================================================
|
|
Line 223 [match: FROM ]:
|
|
221: '',
|
|
222: '',
|
|
>> 223: //Don't change this from being "Start Line", lots of front end logic is looking at this
|
|
224: 'Start Line',
|
|
225: '',
|
|
|
|
Line 8 [match: epicor]:
|
|
6: use App\Model\Repos\paint_Plant;
|
|
7: use App\Model\Repos\paint_Schedule;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\PaintScheduleService;
|
|
10: use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
|
|
|
Line 67 [match: epicor]:
|
|
65: }
|
|
66:
|
|
>> 67: public function postEntry(EpicorDatabase $EpicorDatabase, paint_Schedule $ROPaintScheduleRepo, paint_Line $ROPaintLineRepo, paint_Plant $ROPaintPlantRepo, UserPermissionChecker $UserPermissions){
|
|
68: $PlantCode = explode('-', request()->input('prod_code'))[0];
|
|
69:
|
|
|
|
Line 73 [match: epicor]:
|
|
71: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
72: foreach (auth()->user()->getQuestUser()->getPaintPlant() AS $PaintPlant)
|
|
>> 73: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
74:
|
|
75: /** @var paint_PlantLine $PaintPlantLine */
|
|
|
|
Line 77 [match: epicor]:
|
|
75: /** @var paint_PlantLine $PaintPlantLine */
|
|
76: foreach(auth()->user()->getQuestUser()->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 77: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
78: //prod_code
|
|
79:
|
|
|
|
Line 95 [match: epicor]:
|
|
93: $errors[] = 'Run Sequence for Job ' . $JobNum . ' is missing';
|
|
94:
|
|
>> 95: $Jobs = $EpicorDatabase->getJob($JobNum);
|
|
96: $ClosedJobs = $EpicorDatabase->getClosedJob($JobNum);
|
|
97:
|
|
|
|
Line 96 [match: epicor]:
|
|
94:
|
|
95: $Jobs = $EpicorDatabase->getJob($JobNum);
|
|
>> 96: $ClosedJobs = $EpicorDatabase->getClosedJob($JobNum);
|
|
97:
|
|
98: if(count($ClosedJobs) > 0){
|
|
|
|
Line 122 [match: epicor]:
|
|
120: if(explode('-', $Job['LineCode'])[0] != explode('-', request()->input('prod_code'))[0]){
|
|
121: /** @var \App\Model\Entities\paint_Plant $PlantEntity */
|
|
>> 122: $PlantEntity = $ROPaintPlantRepo->findOneBy(['EpicorKey' => explode('-', $Job['LineCode'])[0]]);
|
|
123:
|
|
124: $errors[] = 'Job ' . $JobNum . ' is for a different plant (' . $PlantEntity->getName() . ')';
|
|
|
|
Line 129 [match: epicor]:
|
|
127:
|
|
128: /** @var \App\Model\Entities\paint_Line $LineEntity */
|
|
>> 129: $LineEntity = $ROPaintLineRepo->findOneBy(['EpicorKey' => explode('-', request()->input('prod_code'))[1]]);
|
|
130: if($Job['LineType'] != $LineEntity->getPaintLineType()->getCodingKey()){
|
|
131: $errors[] = 'Job ' . $JobNum . ' is a ' . $Job['LineType'] . ' Job';
|
|
|
|
Line 258 [match: epicor]:
|
|
256: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
257: foreach (auth()->user()->getQuestUser()->getPaintPlant() AS $PaintPlant)
|
|
>> 258: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
259:
|
|
260:
|
|
|
|
Line 265 [match: epicor]:
|
|
263: /** @var paint_PlantLine $PaintPlantLine */
|
|
264: foreach(auth()->user()->getQuestUser()->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 265: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
266: //prod_code
|
|
267:
|
|
|
|
Line 322 [match: epicor]:
|
|
320: }
|
|
321:
|
|
>> 322: public function getCoverPage(paint_Schedule $ROPaintScheduleRepo, EpicorDatabase $EpicoreDatabase)
|
|
323: {
|
|
324: /** @var \App\Model\Entities\paint_Schedule $StartJob */
|
|
|
|
Line 353 [match: epicor]:
|
|
351:
|
|
352: foreach ($Jobs AS $Key => $Job){
|
|
>> 353: $jobTravelerData = $EpicoreDatabase->getJobTraveler($Job['JobID']);
|
|
354: $RawMaterialPartNumber = $RawMaterialDescription = $RawMaterialQty = '';
|
|
355: if(is_array($jobTravelerData)){
|
|
|
|
Line 397 [match: epicor]:
|
|
395:
|
|
396:
|
|
>> 397: $jobTotalsResult = $EpicoreDatabase->getTotalCharges($jobAr);
|
|
398: $jobTotals = $jobTotalsResult['jobs'];
|
|
399: $grandTotal = $jobTotalsResult['total'];
|
|
|
|
Line 8 [match: Epicor]:
|
|
6: use App\Model\Repos\paint_Plant;
|
|
7: use App\Model\Repos\paint_Schedule;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\PaintScheduleService;
|
|
10: use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
|
|
|
Line 67 [match: Epicor]:
|
|
65: }
|
|
66:
|
|
>> 67: public function postEntry(EpicorDatabase $EpicorDatabase, paint_Schedule $ROPaintScheduleRepo, paint_Line $ROPaintLineRepo, paint_Plant $ROPaintPlantRepo, UserPermissionChecker $UserPermissions){
|
|
68: $PlantCode = explode('-', request()->input('prod_code'))[0];
|
|
69:
|
|
|
|
Line 73 [match: Epicor]:
|
|
71: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
72: foreach (auth()->user()->getQuestUser()->getPaintPlant() AS $PaintPlant)
|
|
>> 73: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
74:
|
|
75: /** @var paint_PlantLine $PaintPlantLine */
|
|
|
|
Line 77 [match: Epicor]:
|
|
75: /** @var paint_PlantLine $PaintPlantLine */
|
|
76: foreach(auth()->user()->getQuestUser()->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 77: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
78: //prod_code
|
|
79:
|
|
|
|
Line 95 [match: Epicor]:
|
|
93: $errors[] = 'Run Sequence for Job ' . $JobNum . ' is missing';
|
|
94:
|
|
>> 95: $Jobs = $EpicorDatabase->getJob($JobNum);
|
|
96: $ClosedJobs = $EpicorDatabase->getClosedJob($JobNum);
|
|
97:
|
|
|
|
Line 96 [match: Epicor]:
|
|
94:
|
|
95: $Jobs = $EpicorDatabase->getJob($JobNum);
|
|
>> 96: $ClosedJobs = $EpicorDatabase->getClosedJob($JobNum);
|
|
97:
|
|
98: if(count($ClosedJobs) > 0){
|
|
|
|
Line 122 [match: Epicor]:
|
|
120: if(explode('-', $Job['LineCode'])[0] != explode('-', request()->input('prod_code'))[0]){
|
|
121: /** @var \App\Model\Entities\paint_Plant $PlantEntity */
|
|
>> 122: $PlantEntity = $ROPaintPlantRepo->findOneBy(['EpicorKey' => explode('-', $Job['LineCode'])[0]]);
|
|
123:
|
|
124: $errors[] = 'Job ' . $JobNum . ' is for a different plant (' . $PlantEntity->getName() . ')';
|
|
|
|
Line 129 [match: Epicor]:
|
|
127:
|
|
128: /** @var \App\Model\Entities\paint_Line $LineEntity */
|
|
>> 129: $LineEntity = $ROPaintLineRepo->findOneBy(['EpicorKey' => explode('-', request()->input('prod_code'))[1]]);
|
|
130: if($Job['LineType'] != $LineEntity->getPaintLineType()->getCodingKey()){
|
|
131: $errors[] = 'Job ' . $JobNum . ' is a ' . $Job['LineType'] . ' Job';
|
|
|
|
Line 258 [match: Epicor]:
|
|
256: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
257: foreach (auth()->user()->getQuestUser()->getPaintPlant() AS $PaintPlant)
|
|
>> 258: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
259:
|
|
260:
|
|
|
|
Line 265 [match: Epicor]:
|
|
263: /** @var paint_PlantLine $PaintPlantLine */
|
|
264: foreach(auth()->user()->getQuestUser()->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 265: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
266: //prod_code
|
|
267:
|
|
|
|
Line 322 [match: Epicor]:
|
|
320: }
|
|
321:
|
|
>> 322: public function getCoverPage(paint_Schedule $ROPaintScheduleRepo, EpicorDatabase $EpicoreDatabase)
|
|
323: {
|
|
324: /** @var \App\Model\Entities\paint_Schedule $StartJob */
|
|
|
|
Line 353 [match: Epicor]:
|
|
351:
|
|
352: foreach ($Jobs AS $Key => $Job){
|
|
>> 353: $jobTravelerData = $EpicoreDatabase->getJobTraveler($Job['JobID']);
|
|
354: $RawMaterialPartNumber = $RawMaterialDescription = $RawMaterialQty = '';
|
|
355: if(is_array($jobTravelerData)){
|
|
|
|
Line 397 [match: Epicor]:
|
|
395:
|
|
396:
|
|
>> 397: $jobTotalsResult = $EpicoreDatabase->getTotalCharges($jobAr);
|
|
398: $jobTotals = $jobTotalsResult['jobs'];
|
|
399: $grandTotal = $jobTotalsResult['total'];
|
|
|
|
Line 8 [match: EPICOR]:
|
|
6: use App\Model\Repos\paint_Plant;
|
|
7: use App\Model\Repos\paint_Schedule;
|
|
>> 8: use App\Services\EpicorDatabase;
|
|
9: use App\Services\PaintScheduleService;
|
|
10: use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
|
|
|
Line 67 [match: EPICOR]:
|
|
65: }
|
|
66:
|
|
>> 67: public function postEntry(EpicorDatabase $EpicorDatabase, paint_Schedule $ROPaintScheduleRepo, paint_Line $ROPaintLineRepo, paint_Plant $ROPaintPlantRepo, UserPermissionChecker $UserPermissions){
|
|
68: $PlantCode = explode('-', request()->input('prod_code'))[0];
|
|
69:
|
|
|
|
Line 73 [match: EPICOR]:
|
|
71: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
72: foreach (auth()->user()->getQuestUser()->getPaintPlant() AS $PaintPlant)
|
|
>> 73: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
74:
|
|
75: /** @var paint_PlantLine $PaintPlantLine */
|
|
|
|
Line 77 [match: EPICOR]:
|
|
75: /** @var paint_PlantLine $PaintPlantLine */
|
|
76: foreach(auth()->user()->getQuestUser()->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 77: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
78: //prod_code
|
|
79:
|
|
|
|
Line 95 [match: EPICOR]:
|
|
93: $errors[] = 'Run Sequence for Job ' . $JobNum . ' is missing';
|
|
94:
|
|
>> 95: $Jobs = $EpicorDatabase->getJob($JobNum);
|
|
96: $ClosedJobs = $EpicorDatabase->getClosedJob($JobNum);
|
|
97:
|
|
|
|
Line 96 [match: EPICOR]:
|
|
94:
|
|
95: $Jobs = $EpicorDatabase->getJob($JobNum);
|
|
>> 96: $ClosedJobs = $EpicorDatabase->getClosedJob($JobNum);
|
|
97:
|
|
98: if(count($ClosedJobs) > 0){
|
|
|
|
Line 122 [match: EPICOR]:
|
|
120: if(explode('-', $Job['LineCode'])[0] != explode('-', request()->input('prod_code'))[0]){
|
|
121: /** @var \App\Model\Entities\paint_Plant $PlantEntity */
|
|
>> 122: $PlantEntity = $ROPaintPlantRepo->findOneBy(['EpicorKey' => explode('-', $Job['LineCode'])[0]]);
|
|
123:
|
|
124: $errors[] = 'Job ' . $JobNum . ' is for a different plant (' . $PlantEntity->getName() . ')';
|
|
|
|
Line 129 [match: EPICOR]:
|
|
127:
|
|
128: /** @var \App\Model\Entities\paint_Line $LineEntity */
|
|
>> 129: $LineEntity = $ROPaintLineRepo->findOneBy(['EpicorKey' => explode('-', request()->input('prod_code'))[1]]);
|
|
130: if($Job['LineType'] != $LineEntity->getPaintLineType()->getCodingKey()){
|
|
131: $errors[] = 'Job ' . $JobNum . ' is a ' . $Job['LineType'] . ' Job';
|
|
|
|
Line 258 [match: EPICOR]:
|
|
256: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
257: foreach (auth()->user()->getQuestUser()->getPaintPlant() AS $PaintPlant)
|
|
>> 258: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
259:
|
|
260:
|
|
|
|
Line 265 [match: EPICOR]:
|
|
263: /** @var paint_PlantLine $PaintPlantLine */
|
|
264: foreach(auth()->user()->getQuestUser()->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 265: $PlantEditAccess[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = true;
|
|
266: //prod_code
|
|
267:
|
|
|
|
Line 322 [match: EPICOR]:
|
|
320: }
|
|
321:
|
|
>> 322: public function getCoverPage(paint_Schedule $ROPaintScheduleRepo, EpicorDatabase $EpicoreDatabase)
|
|
323: {
|
|
324: /** @var \App\Model\Entities\paint_Schedule $StartJob */
|
|
|
|
Line 353 [match: EPICOR]:
|
|
351:
|
|
352: foreach ($Jobs AS $Key => $Job){
|
|
>> 353: $jobTravelerData = $EpicoreDatabase->getJobTraveler($Job['JobID']);
|
|
354: $RawMaterialPartNumber = $RawMaterialDescription = $RawMaterialQty = '';
|
|
355: if(is_array($jobTravelerData)){
|
|
|
|
Line 397 [match: EPICOR]:
|
|
395:
|
|
396:
|
|
>> 397: $jobTotalsResult = $EpicoreDatabase->getTotalCharges($jobAr);
|
|
398: $jobTotals = $jobTotalsResult['jobs'];
|
|
399: $grandTotal = $jobTotalsResult['total'];
|
|
|
|
Line 329 [match: ->query(]:
|
|
327: $EndJob = $ROPaintScheduleRepo->findOneBy(['JobID' => request()->route()->parameter('job_end')]);
|
|
328:
|
|
>> 329: $ShowSalesPrice = request()->query('show_sales_price') === 'Y';
|
|
330:
|
|
331: if (!is_object($StartJob))
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\SelectCompany.php
|
|
================================================================================
|
|
Line 15 [match: epicor]:
|
|
13: return abort(404);
|
|
14:
|
|
>> 15: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
16:
|
|
17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
|
|
Line 17 [match: epicor]:
|
|
15: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
16:
|
|
>> 17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
18:
|
|
19: if(is_null($SelectedCompanyEpicorCustID) || !isset($ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]))
|
|
|
|
Line 19 [match: epicor]:
|
|
17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
18:
|
|
>> 19: if(is_null($SelectedCompanyEpicorCustID) || !isset($ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]))
|
|
20: return response()->json(['success' => '0']);
|
|
21:
|
|
|
|
Line 22 [match: epicor]:
|
|
20: return response()->json(['success' => '0']);
|
|
21:
|
|
>> 22: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($SelectedCompanyEpicorCustID);
|
|
23:
|
|
24: return response()->json(['success' => '1']);
|
|
|
|
Line 15 [match: Epicor]:
|
|
13: return abort(404);
|
|
14:
|
|
>> 15: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
16:
|
|
17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
|
|
Line 17 [match: Epicor]:
|
|
15: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
16:
|
|
>> 17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
18:
|
|
19: if(is_null($SelectedCompanyEpicorCustID) || !isset($ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]))
|
|
|
|
Line 19 [match: Epicor]:
|
|
17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
18:
|
|
>> 19: if(is_null($SelectedCompanyEpicorCustID) || !isset($ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]))
|
|
20: return response()->json(['success' => '0']);
|
|
21:
|
|
|
|
Line 22 [match: Epicor]:
|
|
20: return response()->json(['success' => '0']);
|
|
21:
|
|
>> 22: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($SelectedCompanyEpicorCustID);
|
|
23:
|
|
24: return response()->json(['success' => '1']);
|
|
|
|
Line 15 [match: EPICOR]:
|
|
13: return abort(404);
|
|
14:
|
|
>> 15: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
16:
|
|
17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
|
|
Line 17 [match: EPICOR]:
|
|
15: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
16:
|
|
>> 17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
18:
|
|
19: if(is_null($SelectedCompanyEpicorCustID) || !isset($ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]))
|
|
|
|
Line 19 [match: EPICOR]:
|
|
17: $SelectedCompanyEpicorCustID = $Request->input('selected_company_epicor_cust_id');
|
|
18:
|
|
>> 19: if(is_null($SelectedCompanyEpicorCustID) || !isset($ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]))
|
|
20: return response()->json(['success' => '0']);
|
|
21:
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20: return response()->json(['success' => '0']);
|
|
21:
|
|
>> 22: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($SelectedCompanyEpicorCustID);
|
|
23:
|
|
24: return response()->json(['success' => '1']);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Controllers\Quest\ShipmentReleaseController.php
|
|
================================================================================
|
|
Line 59 [match: epicor]:
|
|
57: $Data = request()->except(['_token']);
|
|
58:
|
|
>> 59: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
60:
|
|
61: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
Line 59 [match: Epicor]:
|
|
57: $Data = request()->except(['_token']);
|
|
58:
|
|
>> 59: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
60:
|
|
61: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
Line 59 [match: EPICOR]:
|
|
57: $Data = request()->except(['_token']);
|
|
58:
|
|
>> 59: $CustomerID = $Customer->getSelectedCompanyEpicorCustID();
|
|
60:
|
|
61: /** @var \App\Model\Entities\quest_EmailEvent $quest_EmailEvent_Copy */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Middleware\CompanyData.php
|
|
================================================================================
|
|
Line 32 [match: epicor]:
|
|
30: return $next($request);
|
|
31:
|
|
>> 32: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
33:
|
|
34:
|
|
|
|
Line 40 [match: epicor]:
|
|
38:
|
|
39:
|
|
>> 40: $SelectedCompanyEpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
41: $CompanySelectionOptions = [];
|
|
42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 42 [match: epicor]:
|
|
40: $SelectedCompanyEpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
41: $CompanySelectionOptions = [];
|
|
>> 42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
43: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
44:
|
|
|
|
Line 43 [match: epicor]:
|
|
41: $CompanySelectionOptions = [];
|
|
42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
>> 43: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
44:
|
|
45: ksort($CompanySelectionOptions);
|
|
|
|
Line 51 [match: epicor]:
|
|
49: view()->share('CompanySelectionOptions', $CompanySelectionOptions);
|
|
50:
|
|
>> 51: if(is_null($SelectedCompanyEpicorCustID)) // getSelectedCompanyEpicorCustID already clears out any value set for any no longer active companies (for this user)
|
|
52: {
|
|
53: if($request->expectsJson() || $request->method() !== 'GET')
|
|
|
|
Line 55 [match: epicor]:
|
|
53: if($request->expectsJson() || $request->method() !== 'GET')
|
|
54: return abort(404);
|
|
>> 55: view()->share('SelectedCompanyEpicorCustID', null);
|
|
56: return response()->view('quest.select_company');
|
|
57: }
|
|
|
|
Line 59 [match: epicor]:
|
|
57: }
|
|
58:
|
|
>> 59: view()->share('SelectedCompanyEpicorCustID', $SelectedCompanyEpicorCustID);
|
|
60: view()->share('SelectedCompanyName', $ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]->getCalcDisplayName());
|
|
61:
|
|
|
|
Line 60 [match: epicor]:
|
|
58:
|
|
59: view()->share('SelectedCompanyEpicorCustID', $SelectedCompanyEpicorCustID);
|
|
>> 60: view()->share('SelectedCompanyName', $ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]->getCalcDisplayName());
|
|
61:
|
|
62: return $next($request);
|
|
|
|
Line 32 [match: Epicor]:
|
|
30: return $next($request);
|
|
31:
|
|
>> 32: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
33:
|
|
34:
|
|
|
|
Line 40 [match: Epicor]:
|
|
38:
|
|
39:
|
|
>> 40: $SelectedCompanyEpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
41: $CompanySelectionOptions = [];
|
|
42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 42 [match: Epicor]:
|
|
40: $SelectedCompanyEpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
41: $CompanySelectionOptions = [];
|
|
>> 42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
43: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
44:
|
|
|
|
Line 43 [match: Epicor]:
|
|
41: $CompanySelectionOptions = [];
|
|
42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
>> 43: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
44:
|
|
45: ksort($CompanySelectionOptions);
|
|
|
|
Line 51 [match: Epicor]:
|
|
49: view()->share('CompanySelectionOptions', $CompanySelectionOptions);
|
|
50:
|
|
>> 51: if(is_null($SelectedCompanyEpicorCustID)) // getSelectedCompanyEpicorCustID already clears out any value set for any no longer active companies (for this user)
|
|
52: {
|
|
53: if($request->expectsJson() || $request->method() !== 'GET')
|
|
|
|
Line 55 [match: Epicor]:
|
|
53: if($request->expectsJson() || $request->method() !== 'GET')
|
|
54: return abort(404);
|
|
>> 55: view()->share('SelectedCompanyEpicorCustID', null);
|
|
56: return response()->view('quest.select_company');
|
|
57: }
|
|
|
|
Line 59 [match: Epicor]:
|
|
57: }
|
|
58:
|
|
>> 59: view()->share('SelectedCompanyEpicorCustID', $SelectedCompanyEpicorCustID);
|
|
60: view()->share('SelectedCompanyName', $ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]->getCalcDisplayName());
|
|
61:
|
|
|
|
Line 60 [match: Epicor]:
|
|
58:
|
|
59: view()->share('SelectedCompanyEpicorCustID', $SelectedCompanyEpicorCustID);
|
|
>> 60: view()->share('SelectedCompanyName', $ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]->getCalcDisplayName());
|
|
61:
|
|
62: return $next($request);
|
|
|
|
Line 32 [match: EPICOR]:
|
|
30: return $next($request);
|
|
31:
|
|
>> 32: $ActiveCompaniesByEpicorCustID = $QuestPageValues->getAllActiveCompaniesByEpicorCustID();
|
|
33:
|
|
34:
|
|
|
|
Line 40 [match: EPICOR]:
|
|
38:
|
|
39:
|
|
>> 40: $SelectedCompanyEpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
41: $CompanySelectionOptions = [];
|
|
42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 42 [match: EPICOR]:
|
|
40: $SelectedCompanyEpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
41: $CompanySelectionOptions = [];
|
|
>> 42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
43: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
44:
|
|
|
|
Line 43 [match: EPICOR]:
|
|
41: $CompanySelectionOptions = [];
|
|
42: foreach($ActiveCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
>> 43: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
44:
|
|
45: ksort($CompanySelectionOptions);
|
|
|
|
Line 51 [match: EPICOR]:
|
|
49: view()->share('CompanySelectionOptions', $CompanySelectionOptions);
|
|
50:
|
|
>> 51: if(is_null($SelectedCompanyEpicorCustID)) // getSelectedCompanyEpicorCustID already clears out any value set for any no longer active companies (for this user)
|
|
52: {
|
|
53: if($request->expectsJson() || $request->method() !== 'GET')
|
|
|
|
Line 55 [match: EPICOR]:
|
|
53: if($request->expectsJson() || $request->method() !== 'GET')
|
|
54: return abort(404);
|
|
>> 55: view()->share('SelectedCompanyEpicorCustID', null);
|
|
56: return response()->view('quest.select_company');
|
|
57: }
|
|
|
|
Line 59 [match: EPICOR]:
|
|
57: }
|
|
58:
|
|
>> 59: view()->share('SelectedCompanyEpicorCustID', $SelectedCompanyEpicorCustID);
|
|
60: view()->share('SelectedCompanyName', $ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]->getCalcDisplayName());
|
|
61:
|
|
|
|
Line 60 [match: EPICOR]:
|
|
58:
|
|
59: view()->share('SelectedCompanyEpicorCustID', $SelectedCompanyEpicorCustID);
|
|
>> 60: view()->share('SelectedCompanyName', $ActiveCompaniesByEpicorCustID[$SelectedCompanyEpicorCustID]->getCalcDisplayName());
|
|
61:
|
|
62: return $next($request);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Middleware\VerifyAndShareQuestUserAndCompanyInfo.php
|
|
================================================================================
|
|
Line 32 [match: epicor]:
|
|
30:
|
|
31: view()->share('QuestUserName', $QuestUser->getFullName());
|
|
>> 32: view()->share('QuestCompanyName', (!$QuestPageValues->doesUserBelongToSingleActiveCompany() ? null : $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getCalcDisplayName()));
|
|
33:
|
|
34: return $next($request);
|
|
|
|
Line 32 [match: Epicor]:
|
|
30:
|
|
31: view()->share('QuestUserName', $QuestUser->getFullName());
|
|
>> 32: view()->share('QuestCompanyName', (!$QuestPageValues->doesUserBelongToSingleActiveCompany() ? null : $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getCalcDisplayName()));
|
|
33:
|
|
34: return $next($request);
|
|
|
|
Line 32 [match: EPICOR]:
|
|
30:
|
|
31: view()->share('QuestUserName', $QuestUser->getFullName());
|
|
>> 32: view()->share('QuestCompanyName', (!$QuestPageValues->doesUserBelongToSingleActiveCompany() ? null : $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getCalcDisplayName()));
|
|
33:
|
|
34: return $next($request);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Middleware\VerifyCsrfToken.php
|
|
================================================================================
|
|
Line 10 [match: FROM ]:
|
|
8: {
|
|
9: /**
|
|
>> 10: * The URIs that should be excluded from CSRF verification.
|
|
11: *
|
|
12: * @var array<int, string>
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Http\Middleware\WebServicesCompany.php
|
|
================================================================================
|
|
Line 30 [match: epicor]:
|
|
28: $APIUser = app(APIUser::class);
|
|
29:
|
|
>> 30: if(!array_key_exists(request()->route()->parameter('epicor_cust_id'), $APIUser->getActiveCompaniesByEpicorCustID()))
|
|
31: throw new WebServicesAccessException();
|
|
32:
|
|
|
|
Line 30 [match: Epicor]:
|
|
28: $APIUser = app(APIUser::class);
|
|
29:
|
|
>> 30: if(!array_key_exists(request()->route()->parameter('epicor_cust_id'), $APIUser->getActiveCompaniesByEpicorCustID()))
|
|
31: throw new WebServicesAccessException();
|
|
32:
|
|
|
|
Line 30 [match: EPICOR]:
|
|
28: $APIUser = app(APIUser::class);
|
|
29:
|
|
>> 30: if(!array_key_exists(request()->route()->parameter('epicor_cust_id'), $APIUser->getActiveCompaniesByEpicorCustID()))
|
|
31: throw new WebServicesAccessException();
|
|
32:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Listeners\LogSentMessage.php
|
|
================================================================================
|
|
Line 68 [match: FROM ]:
|
|
66:
|
|
67:
|
|
>> 68: $from = $message->getFrom();
|
|
69:
|
|
70: $f = [];
|
|
|
|
Line 72 [match: FROM ]:
|
|
70: $f = [];
|
|
71:
|
|
>> 72: foreach ($from as $recipient)
|
|
73: {
|
|
74:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\alloc_Request.php
|
|
================================================================================
|
|
Line 416 [match: UPDATE ]:
|
|
414: * @return alloc_Request
|
|
415: */
|
|
>> 416: public function setRequestedPickupDate($requestedPickupDate = null)
|
|
417: {
|
|
418: $this->RequestedPickupDate = $requestedPickupDate;
|
|
|
|
Line 418 [match: UPDATE ]:
|
|
416: public function setRequestedPickupDate($requestedPickupDate = null)
|
|
417: {
|
|
>> 418: $this->RequestedPickupDate = $requestedPickupDate;
|
|
419:
|
|
420: return $this;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\auth_User.php
|
|
================================================================================
|
|
Line 775 [match: UPDATE ]:
|
|
773: * @return auth_User
|
|
774: */
|
|
>> 775: public function setSSOLastFieldDataUpdate($sSOLastFieldDataUpdate = null)
|
|
776: {
|
|
777: $this->SSOLastFieldDataUpdate = $sSOLastFieldDataUpdate;
|
|
|
|
Line 777 [match: UPDATE ]:
|
|
775: public function setSSOLastFieldDataUpdate($sSOLastFieldDataUpdate = null)
|
|
776: {
|
|
>> 777: $this->SSOLastFieldDataUpdate = $sSOLastFieldDataUpdate;
|
|
778:
|
|
779: return $this;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\paint_Line.php
|
|
================================================================================
|
|
Line 24 [match: epicor]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $EpicorKey;
|
|
25:
|
|
26: /**
|
|
|
|
Line 80 [match: epicor]:
|
|
78:
|
|
79: /**
|
|
>> 80: * Set epicorKey.
|
|
81: *
|
|
82: * @param string $epicorKey
|
|
|
|
Line 82 [match: epicor]:
|
|
80: * Set epicorKey.
|
|
81: *
|
|
>> 82: * @param string $epicorKey
|
|
83: *
|
|
84: * @return paint_Line
|
|
|
|
Line 86 [match: epicor]:
|
|
84: * @return paint_Line
|
|
85: */
|
|
>> 86: public function setEpicorKey($epicorKey)
|
|
87: {
|
|
88: $this->EpicorKey = $epicorKey;
|
|
|
|
Line 88 [match: epicor]:
|
|
86: public function setEpicorKey($epicorKey)
|
|
87: {
|
|
>> 88: $this->EpicorKey = $epicorKey;
|
|
89:
|
|
90: return $this;
|
|
|
|
Line 94 [match: epicor]:
|
|
92:
|
|
93: /**
|
|
>> 94: * Get epicorKey.
|
|
95: *
|
|
96: * @return string
|
|
|
|
Line 98 [match: epicor]:
|
|
96: * @return string
|
|
97: */
|
|
>> 98: public function getEpicorKey()
|
|
99: {
|
|
100: return $this->EpicorKey;
|
|
|
|
Line 100 [match: epicor]:
|
|
98: public function getEpicorKey()
|
|
99: {
|
|
>> 100: return $this->EpicorKey;
|
|
101: }
|
|
102:
|
|
|
|
Line 24 [match: Epicor]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $EpicorKey;
|
|
25:
|
|
26: /**
|
|
|
|
Line 80 [match: Epicor]:
|
|
78:
|
|
79: /**
|
|
>> 80: * Set epicorKey.
|
|
81: *
|
|
82: * @param string $epicorKey
|
|
|
|
Line 82 [match: Epicor]:
|
|
80: * Set epicorKey.
|
|
81: *
|
|
>> 82: * @param string $epicorKey
|
|
83: *
|
|
84: * @return paint_Line
|
|
|
|
Line 86 [match: Epicor]:
|
|
84: * @return paint_Line
|
|
85: */
|
|
>> 86: public function setEpicorKey($epicorKey)
|
|
87: {
|
|
88: $this->EpicorKey = $epicorKey;
|
|
|
|
Line 88 [match: Epicor]:
|
|
86: public function setEpicorKey($epicorKey)
|
|
87: {
|
|
>> 88: $this->EpicorKey = $epicorKey;
|
|
89:
|
|
90: return $this;
|
|
|
|
Line 94 [match: Epicor]:
|
|
92:
|
|
93: /**
|
|
>> 94: * Get epicorKey.
|
|
95: *
|
|
96: * @return string
|
|
|
|
Line 98 [match: Epicor]:
|
|
96: * @return string
|
|
97: */
|
|
>> 98: public function getEpicorKey()
|
|
99: {
|
|
100: return $this->EpicorKey;
|
|
|
|
Line 100 [match: Epicor]:
|
|
98: public function getEpicorKey()
|
|
99: {
|
|
>> 100: return $this->EpicorKey;
|
|
101: }
|
|
102:
|
|
|
|
Line 24 [match: EPICOR]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $EpicorKey;
|
|
25:
|
|
26: /**
|
|
|
|
Line 80 [match: EPICOR]:
|
|
78:
|
|
79: /**
|
|
>> 80: * Set epicorKey.
|
|
81: *
|
|
82: * @param string $epicorKey
|
|
|
|
Line 82 [match: EPICOR]:
|
|
80: * Set epicorKey.
|
|
81: *
|
|
>> 82: * @param string $epicorKey
|
|
83: *
|
|
84: * @return paint_Line
|
|
|
|
Line 86 [match: EPICOR]:
|
|
84: * @return paint_Line
|
|
85: */
|
|
>> 86: public function setEpicorKey($epicorKey)
|
|
87: {
|
|
88: $this->EpicorKey = $epicorKey;
|
|
|
|
Line 88 [match: EPICOR]:
|
|
86: public function setEpicorKey($epicorKey)
|
|
87: {
|
|
>> 88: $this->EpicorKey = $epicorKey;
|
|
89:
|
|
90: return $this;
|
|
|
|
Line 94 [match: EPICOR]:
|
|
92:
|
|
93: /**
|
|
>> 94: * Get epicorKey.
|
|
95: *
|
|
96: * @return string
|
|
|
|
Line 98 [match: EPICOR]:
|
|
96: * @return string
|
|
97: */
|
|
>> 98: public function getEpicorKey()
|
|
99: {
|
|
100: return $this->EpicorKey;
|
|
|
|
Line 100 [match: EPICOR]:
|
|
98: public function getEpicorKey()
|
|
99: {
|
|
>> 100: return $this->EpicorKey;
|
|
101: }
|
|
102:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\paint_Plant.php
|
|
================================================================================
|
|
Line 24 [match: epicor]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $EpicorKey;
|
|
25:
|
|
26: /**
|
|
|
|
Line 86 [match: epicor]:
|
|
84:
|
|
85: /**
|
|
>> 86: * Set epicorKey.
|
|
87: *
|
|
88: * @param string $epicorKey
|
|
|
|
Line 88 [match: epicor]:
|
|
86: * Set epicorKey.
|
|
87: *
|
|
>> 88: * @param string $epicorKey
|
|
89: *
|
|
90: * @return paint_Plant
|
|
|
|
Line 92 [match: epicor]:
|
|
90: * @return paint_Plant
|
|
91: */
|
|
>> 92: public function setEpicorKey($epicorKey)
|
|
93: {
|
|
94: $this->EpicorKey = $epicorKey;
|
|
|
|
Line 94 [match: epicor]:
|
|
92: public function setEpicorKey($epicorKey)
|
|
93: {
|
|
>> 94: $this->EpicorKey = $epicorKey;
|
|
95:
|
|
96: return $this;
|
|
|
|
Line 100 [match: epicor]:
|
|
98:
|
|
99: /**
|
|
>> 100: * Get epicorKey.
|
|
101: *
|
|
102: * @return string
|
|
|
|
Line 104 [match: epicor]:
|
|
102: * @return string
|
|
103: */
|
|
>> 104: public function getEpicorKey()
|
|
105: {
|
|
106: return $this->EpicorKey;
|
|
|
|
Line 106 [match: epicor]:
|
|
104: public function getEpicorKey()
|
|
105: {
|
|
>> 106: return $this->EpicorKey;
|
|
107: }
|
|
108:
|
|
|
|
Line 24 [match: Epicor]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $EpicorKey;
|
|
25:
|
|
26: /**
|
|
|
|
Line 86 [match: Epicor]:
|
|
84:
|
|
85: /**
|
|
>> 86: * Set epicorKey.
|
|
87: *
|
|
88: * @param string $epicorKey
|
|
|
|
Line 88 [match: Epicor]:
|
|
86: * Set epicorKey.
|
|
87: *
|
|
>> 88: * @param string $epicorKey
|
|
89: *
|
|
90: * @return paint_Plant
|
|
|
|
Line 92 [match: Epicor]:
|
|
90: * @return paint_Plant
|
|
91: */
|
|
>> 92: public function setEpicorKey($epicorKey)
|
|
93: {
|
|
94: $this->EpicorKey = $epicorKey;
|
|
|
|
Line 94 [match: Epicor]:
|
|
92: public function setEpicorKey($epicorKey)
|
|
93: {
|
|
>> 94: $this->EpicorKey = $epicorKey;
|
|
95:
|
|
96: return $this;
|
|
|
|
Line 100 [match: Epicor]:
|
|
98:
|
|
99: /**
|
|
>> 100: * Get epicorKey.
|
|
101: *
|
|
102: * @return string
|
|
|
|
Line 104 [match: Epicor]:
|
|
102: * @return string
|
|
103: */
|
|
>> 104: public function getEpicorKey()
|
|
105: {
|
|
106: return $this->EpicorKey;
|
|
|
|
Line 106 [match: Epicor]:
|
|
104: public function getEpicorKey()
|
|
105: {
|
|
>> 106: return $this->EpicorKey;
|
|
107: }
|
|
108:
|
|
|
|
Line 24 [match: EPICOR]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $EpicorKey;
|
|
25:
|
|
26: /**
|
|
|
|
Line 86 [match: EPICOR]:
|
|
84:
|
|
85: /**
|
|
>> 86: * Set epicorKey.
|
|
87: *
|
|
88: * @param string $epicorKey
|
|
|
|
Line 88 [match: EPICOR]:
|
|
86: * Set epicorKey.
|
|
87: *
|
|
>> 88: * @param string $epicorKey
|
|
89: *
|
|
90: * @return paint_Plant
|
|
|
|
Line 92 [match: EPICOR]:
|
|
90: * @return paint_Plant
|
|
91: */
|
|
>> 92: public function setEpicorKey($epicorKey)
|
|
93: {
|
|
94: $this->EpicorKey = $epicorKey;
|
|
|
|
Line 94 [match: EPICOR]:
|
|
92: public function setEpicorKey($epicorKey)
|
|
93: {
|
|
>> 94: $this->EpicorKey = $epicorKey;
|
|
95:
|
|
96: return $this;
|
|
|
|
Line 100 [match: EPICOR]:
|
|
98:
|
|
99: /**
|
|
>> 100: * Get epicorKey.
|
|
101: *
|
|
102: * @return string
|
|
|
|
Line 104 [match: EPICOR]:
|
|
102: * @return string
|
|
103: */
|
|
>> 104: public function getEpicorKey()
|
|
105: {
|
|
106: return $this->EpicorKey;
|
|
|
|
Line 106 [match: EPICOR]:
|
|
104: public function getEpicorKey()
|
|
105: {
|
|
>> 106: return $this->EpicorKey;
|
|
107: }
|
|
108:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\quest_Company.php
|
|
================================================================================
|
|
Line 19 [match: epicor]:
|
|
17: * @var string
|
|
18: */
|
|
>> 19: protected $EpicorCustID;
|
|
20:
|
|
21: /**
|
|
|
|
Line 99 [match: epicor]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Set epicorCustID.
|
|
100: *
|
|
101: * @param string $epicorCustID
|
|
|
|
Line 101 [match: epicor]:
|
|
99: * Set epicorCustID.
|
|
100: *
|
|
>> 101: * @param string $epicorCustID
|
|
102: *
|
|
103: * @return quest_Company
|
|
|
|
Line 105 [match: epicor]:
|
|
103: * @return quest_Company
|
|
104: */
|
|
>> 105: public function setEpicorCustID($epicorCustID)
|
|
106: {
|
|
107: $this->EpicorCustID = $epicorCustID;
|
|
|
|
Line 107 [match: epicor]:
|
|
105: public function setEpicorCustID($epicorCustID)
|
|
106: {
|
|
>> 107: $this->EpicorCustID = $epicorCustID;
|
|
108:
|
|
109: return $this;
|
|
|
|
Line 113 [match: epicor]:
|
|
111:
|
|
112: /**
|
|
>> 113: * Get epicorCustID.
|
|
114: *
|
|
115: * @return string
|
|
|
|
Line 117 [match: epicor]:
|
|
115: * @return string
|
|
116: */
|
|
>> 117: public function getEpicorCustID()
|
|
118: {
|
|
119: return $this->EpicorCustID;
|
|
|
|
Line 119 [match: epicor]:
|
|
117: public function getEpicorCustID()
|
|
118: {
|
|
>> 119: return $this->EpicorCustID;
|
|
120: }
|
|
121:
|
|
|
|
Line 19 [match: Epicor]:
|
|
17: * @var string
|
|
18: */
|
|
>> 19: protected $EpicorCustID;
|
|
20:
|
|
21: /**
|
|
|
|
Line 99 [match: Epicor]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Set epicorCustID.
|
|
100: *
|
|
101: * @param string $epicorCustID
|
|
|
|
Line 101 [match: Epicor]:
|
|
99: * Set epicorCustID.
|
|
100: *
|
|
>> 101: * @param string $epicorCustID
|
|
102: *
|
|
103: * @return quest_Company
|
|
|
|
Line 105 [match: Epicor]:
|
|
103: * @return quest_Company
|
|
104: */
|
|
>> 105: public function setEpicorCustID($epicorCustID)
|
|
106: {
|
|
107: $this->EpicorCustID = $epicorCustID;
|
|
|
|
Line 107 [match: Epicor]:
|
|
105: public function setEpicorCustID($epicorCustID)
|
|
106: {
|
|
>> 107: $this->EpicorCustID = $epicorCustID;
|
|
108:
|
|
109: return $this;
|
|
|
|
Line 113 [match: Epicor]:
|
|
111:
|
|
112: /**
|
|
>> 113: * Get epicorCustID.
|
|
114: *
|
|
115: * @return string
|
|
|
|
Line 117 [match: Epicor]:
|
|
115: * @return string
|
|
116: */
|
|
>> 117: public function getEpicorCustID()
|
|
118: {
|
|
119: return $this->EpicorCustID;
|
|
|
|
Line 119 [match: Epicor]:
|
|
117: public function getEpicorCustID()
|
|
118: {
|
|
>> 119: return $this->EpicorCustID;
|
|
120: }
|
|
121:
|
|
|
|
Line 19 [match: EPICOR]:
|
|
17: * @var string
|
|
18: */
|
|
>> 19: protected $EpicorCustID;
|
|
20:
|
|
21: /**
|
|
|
|
Line 99 [match: EPICOR]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Set epicorCustID.
|
|
100: *
|
|
101: * @param string $epicorCustID
|
|
|
|
Line 101 [match: EPICOR]:
|
|
99: * Set epicorCustID.
|
|
100: *
|
|
>> 101: * @param string $epicorCustID
|
|
102: *
|
|
103: * @return quest_Company
|
|
|
|
Line 105 [match: EPICOR]:
|
|
103: * @return quest_Company
|
|
104: */
|
|
>> 105: public function setEpicorCustID($epicorCustID)
|
|
106: {
|
|
107: $this->EpicorCustID = $epicorCustID;
|
|
|
|
Line 107 [match: EPICOR]:
|
|
105: public function setEpicorCustID($epicorCustID)
|
|
106: {
|
|
>> 107: $this->EpicorCustID = $epicorCustID;
|
|
108:
|
|
109: return $this;
|
|
|
|
Line 113 [match: EPICOR]:
|
|
111:
|
|
112: /**
|
|
>> 113: * Get epicorCustID.
|
|
114: *
|
|
115: * @return string
|
|
|
|
Line 117 [match: EPICOR]:
|
|
115: * @return string
|
|
116: */
|
|
>> 117: public function getEpicorCustID()
|
|
118: {
|
|
119: return $this->EpicorCustID;
|
|
|
|
Line 119 [match: EPICOR]:
|
|
117: public function getEpicorCustID()
|
|
118: {
|
|
>> 119: return $this->EpicorCustID;
|
|
120: }
|
|
121:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\quest_EmailEvent.php
|
|
================================================================================
|
|
Line 29 [match: wave]:
|
|
27: * @var \Doctrine\Common\Collections\Collection
|
|
28: */
|
|
>> 29: protected $wave_Process;
|
|
30:
|
|
31: /**
|
|
|
|
Line 42 [match: wave]:
|
|
40: {
|
|
41: parent::__construct();
|
|
>> 42: $this->wave_Process = new \Doctrine\Common\Collections\ArrayCollection();
|
|
43: $this->quest_User = new \Doctrine\Common\Collections\ArrayCollection();
|
|
44: }
|
|
|
|
Line 105 [match: wave]:
|
|
103:
|
|
104: /**
|
|
>> 105: * Add waveProcess.
|
|
106: *
|
|
107: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
|
|
Line 107 [match: wave]:
|
|
105: * Add waveProcess.
|
|
106: *
|
|
>> 107: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
108: *
|
|
109: * @return quest_EmailEvent
|
|
|
|
Line 111 [match: wave]:
|
|
109: * @return quest_EmailEvent
|
|
110: */
|
|
>> 111: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
112: {
|
|
113: $this->wave_Process[] = $waveProcess;
|
|
|
|
Line 113 [match: wave]:
|
|
111: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
112: {
|
|
>> 113: $this->wave_Process[] = $waveProcess;
|
|
114:
|
|
115: return $this;
|
|
|
|
Line 119 [match: wave]:
|
|
117:
|
|
118: /**
|
|
>> 119: * Remove waveProcess.
|
|
120: *
|
|
121: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
|
|
Line 121 [match: wave]:
|
|
119: * Remove waveProcess.
|
|
120: *
|
|
>> 121: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
122: *
|
|
123: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
|
|
Line 125 [match: wave]:
|
|
123: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
124: */
|
|
>> 125: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
126: {
|
|
127: return $this->wave_Process->removeElement($waveProcess);
|
|
|
|
Line 127 [match: wave]:
|
|
125: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
126: {
|
|
>> 127: return $this->wave_Process->removeElement($waveProcess);
|
|
128: }
|
|
129:
|
|
|
|
Line 131 [match: wave]:
|
|
129:
|
|
130: /**
|
|
>> 131: * Get waveProcess.
|
|
132: *
|
|
133: * @return \Doctrine\Common\Collections\Collection
|
|
|
|
Line 135 [match: wave]:
|
|
133: * @return \Doctrine\Common\Collections\Collection
|
|
134: */
|
|
>> 135: public function getWaveProcess()
|
|
136: {
|
|
137: return $this->wave_Process;
|
|
|
|
Line 137 [match: wave]:
|
|
135: public function getWaveProcess()
|
|
136: {
|
|
>> 137: return $this->wave_Process;
|
|
138: }
|
|
139:
|
|
|
|
Line 29 [match: Wave]:
|
|
27: * @var \Doctrine\Common\Collections\Collection
|
|
28: */
|
|
>> 29: protected $wave_Process;
|
|
30:
|
|
31: /**
|
|
|
|
Line 42 [match: Wave]:
|
|
40: {
|
|
41: parent::__construct();
|
|
>> 42: $this->wave_Process = new \Doctrine\Common\Collections\ArrayCollection();
|
|
43: $this->quest_User = new \Doctrine\Common\Collections\ArrayCollection();
|
|
44: }
|
|
|
|
Line 105 [match: Wave]:
|
|
103:
|
|
104: /**
|
|
>> 105: * Add waveProcess.
|
|
106: *
|
|
107: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
|
|
Line 107 [match: Wave]:
|
|
105: * Add waveProcess.
|
|
106: *
|
|
>> 107: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
108: *
|
|
109: * @return quest_EmailEvent
|
|
|
|
Line 111 [match: Wave]:
|
|
109: * @return quest_EmailEvent
|
|
110: */
|
|
>> 111: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
112: {
|
|
113: $this->wave_Process[] = $waveProcess;
|
|
|
|
Line 113 [match: Wave]:
|
|
111: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
112: {
|
|
>> 113: $this->wave_Process[] = $waveProcess;
|
|
114:
|
|
115: return $this;
|
|
|
|
Line 119 [match: Wave]:
|
|
117:
|
|
118: /**
|
|
>> 119: * Remove waveProcess.
|
|
120: *
|
|
121: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
|
|
Line 121 [match: Wave]:
|
|
119: * Remove waveProcess.
|
|
120: *
|
|
>> 121: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
122: *
|
|
123: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
|
|
Line 125 [match: Wave]:
|
|
123: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
124: */
|
|
>> 125: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
126: {
|
|
127: return $this->wave_Process->removeElement($waveProcess);
|
|
|
|
Line 127 [match: Wave]:
|
|
125: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
126: {
|
|
>> 127: return $this->wave_Process->removeElement($waveProcess);
|
|
128: }
|
|
129:
|
|
|
|
Line 131 [match: Wave]:
|
|
129:
|
|
130: /**
|
|
>> 131: * Get waveProcess.
|
|
132: *
|
|
133: * @return \Doctrine\Common\Collections\Collection
|
|
|
|
Line 135 [match: Wave]:
|
|
133: * @return \Doctrine\Common\Collections\Collection
|
|
134: */
|
|
>> 135: public function getWaveProcess()
|
|
136: {
|
|
137: return $this->wave_Process;
|
|
|
|
Line 137 [match: Wave]:
|
|
135: public function getWaveProcess()
|
|
136: {
|
|
>> 137: return $this->wave_Process;
|
|
138: }
|
|
139:
|
|
|
|
Line 29 [match: WAVE]:
|
|
27: * @var \Doctrine\Common\Collections\Collection
|
|
28: */
|
|
>> 29: protected $wave_Process;
|
|
30:
|
|
31: /**
|
|
|
|
Line 42 [match: WAVE]:
|
|
40: {
|
|
41: parent::__construct();
|
|
>> 42: $this->wave_Process = new \Doctrine\Common\Collections\ArrayCollection();
|
|
43: $this->quest_User = new \Doctrine\Common\Collections\ArrayCollection();
|
|
44: }
|
|
|
|
Line 105 [match: WAVE]:
|
|
103:
|
|
104: /**
|
|
>> 105: * Add waveProcess.
|
|
106: *
|
|
107: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
|
|
Line 107 [match: WAVE]:
|
|
105: * Add waveProcess.
|
|
106: *
|
|
>> 107: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
108: *
|
|
109: * @return quest_EmailEvent
|
|
|
|
Line 111 [match: WAVE]:
|
|
109: * @return quest_EmailEvent
|
|
110: */
|
|
>> 111: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
112: {
|
|
113: $this->wave_Process[] = $waveProcess;
|
|
|
|
Line 113 [match: WAVE]:
|
|
111: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
112: {
|
|
>> 113: $this->wave_Process[] = $waveProcess;
|
|
114:
|
|
115: return $this;
|
|
|
|
Line 119 [match: WAVE]:
|
|
117:
|
|
118: /**
|
|
>> 119: * Remove waveProcess.
|
|
120: *
|
|
121: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
|
|
Line 121 [match: WAVE]:
|
|
119: * Remove waveProcess.
|
|
120: *
|
|
>> 121: * @param \App\Model\Entities\wave_Process $waveProcess
|
|
122: *
|
|
123: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
|
|
Line 125 [match: WAVE]:
|
|
123: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
124: */
|
|
>> 125: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
126: {
|
|
127: return $this->wave_Process->removeElement($waveProcess);
|
|
|
|
Line 127 [match: WAVE]:
|
|
125: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
126: {
|
|
>> 127: return $this->wave_Process->removeElement($waveProcess);
|
|
128: }
|
|
129:
|
|
|
|
Line 131 [match: WAVE]:
|
|
129:
|
|
130: /**
|
|
>> 131: * Get waveProcess.
|
|
132: *
|
|
133: * @return \Doctrine\Common\Collections\Collection
|
|
|
|
Line 135 [match: WAVE]:
|
|
133: * @return \Doctrine\Common\Collections\Collection
|
|
134: */
|
|
>> 135: public function getWaveProcess()
|
|
136: {
|
|
137: return $this->wave_Process;
|
|
|
|
Line 137 [match: WAVE]:
|
|
135: public function getWaveProcess()
|
|
136: {
|
|
>> 137: return $this->wave_Process;
|
|
138: }
|
|
139:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\ship_Request.php
|
|
================================================================================
|
|
Line 653 [match: UPDATE ]:
|
|
651: * @return ship_Request
|
|
652: */
|
|
>> 653: public function setRequestedPickupDate($requestedPickupDate = null)
|
|
654: {
|
|
655: $this->RequestedPickupDate = $requestedPickupDate;
|
|
|
|
Line 655 [match: UPDATE ]:
|
|
653: public function setRequestedPickupDate($requestedPickupDate = null)
|
|
654: {
|
|
>> 655: $this->RequestedPickupDate = $requestedPickupDate;
|
|
656:
|
|
657: return $this;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\wave_Process.php
|
|
================================================================================
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_Process
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
|
|
Line 9 [match: wave]:
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
>> 9: abstract class wave_Process extends \App\Model\Base\Entity
|
|
10: {
|
|
11: /**
|
|
|
|
Line 49 [match: wave]:
|
|
47: * @var \Doctrine\Common\Collections\Collection
|
|
48: */
|
|
>> 49: protected $wave_ProcessHistory;
|
|
50:
|
|
51: /**
|
|
|
|
Line 62 [match: wave]:
|
|
60: {
|
|
61: parent::__construct();
|
|
>> 62: $this->wave_ProcessHistory = new \Doctrine\Common\Collections\ArrayCollection();
|
|
63: }
|
|
64:
|
|
|
|
Line 80 [match: wave]:
|
|
78: * @param string $codingKey
|
|
79: *
|
|
>> 80: * @return wave_Process
|
|
81: */
|
|
82: public function setCodingKey($codingKey)
|
|
|
|
Line 104 [match: wave]:
|
|
102: * @param bool $isEnabled
|
|
103: *
|
|
>> 104: * @return wave_Process
|
|
105: */
|
|
106: public function setIsEnabled($isEnabled)
|
|
|
|
Line 128 [match: wave]:
|
|
126: * @param int $processOrder
|
|
127: *
|
|
>> 128: * @return wave_Process
|
|
129: */
|
|
130: public function setProcessOrder($processOrder)
|
|
|
|
Line 152 [match: wave]:
|
|
150: * @param string $processName
|
|
151: *
|
|
>> 152: * @return wave_Process
|
|
153: */
|
|
154: public function setProcessName($processName)
|
|
|
|
Line 176 [match: wave]:
|
|
174: * @param string|null $processDesc
|
|
175: *
|
|
>> 176: * @return wave_Process
|
|
177: */
|
|
178: public function setProcessDesc($processDesc = null)
|
|
|
|
Line 200 [match: wave]:
|
|
198: * @param \DateTime|null $lastRanDT
|
|
199: *
|
|
>> 200: * @return wave_Process
|
|
201: */
|
|
202: public function setLastRanDT($lastRanDT = null)
|
|
|
|
Line 220 [match: wave]:
|
|
218:
|
|
219: /**
|
|
>> 220: * Add waveProcessHistory.
|
|
221: *
|
|
222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
|
|
Line 222 [match: wave]:
|
|
220: * Add waveProcessHistory.
|
|
221: *
|
|
>> 222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
223: *
|
|
224: * @return wave_Process
|
|
|
|
Line 224 [match: wave]:
|
|
222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
223: *
|
|
>> 224: * @return wave_Process
|
|
225: */
|
|
226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
|
|
Line 226 [match: wave]:
|
|
224: * @return wave_Process
|
|
225: */
|
|
>> 226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
227: {
|
|
228: $this->wave_ProcessHistory[] = $waveProcessHistory;
|
|
|
|
Line 228 [match: wave]:
|
|
226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
227: {
|
|
>> 228: $this->wave_ProcessHistory[] = $waveProcessHistory;
|
|
229:
|
|
230: return $this;
|
|
|
|
Line 234 [match: wave]:
|
|
232:
|
|
233: /**
|
|
>> 234: * Remove waveProcessHistory.
|
|
235: *
|
|
236: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
|
|
Line 236 [match: wave]:
|
|
234: * Remove waveProcessHistory.
|
|
235: *
|
|
>> 236: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
237: *
|
|
238: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
|
|
Line 240 [match: wave]:
|
|
238: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
239: */
|
|
>> 240: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
241: {
|
|
242: return $this->wave_ProcessHistory->removeElement($waveProcessHistory);
|
|
|
|
Line 242 [match: wave]:
|
|
240: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
241: {
|
|
>> 242: return $this->wave_ProcessHistory->removeElement($waveProcessHistory);
|
|
243: }
|
|
244:
|
|
|
|
Line 246 [match: wave]:
|
|
244:
|
|
245: /**
|
|
>> 246: * Get waveProcessHistory.
|
|
247: *
|
|
248: * @return \Doctrine\Common\Collections\Collection
|
|
|
|
Line 250 [match: wave]:
|
|
248: * @return \Doctrine\Common\Collections\Collection
|
|
249: */
|
|
>> 250: public function getWaveProcessHistory()
|
|
251: {
|
|
252: return $this->wave_ProcessHistory;
|
|
|
|
Line 252 [match: wave]:
|
|
250: public function getWaveProcessHistory()
|
|
251: {
|
|
>> 252: return $this->wave_ProcessHistory;
|
|
253: }
|
|
254:
|
|
|
|
Line 260 [match: wave]:
|
|
258: * @param \App\Model\Entities\quest_EmailEvent|null $questEmailEvent
|
|
259: *
|
|
>> 260: * @return wave_Process
|
|
261: */
|
|
262: public function setQuestEmailEvent(\App\Model\Entities\quest_EmailEvent $questEmailEvent = null)
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_Process
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
|
|
Line 9 [match: Wave]:
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
>> 9: abstract class wave_Process extends \App\Model\Base\Entity
|
|
10: {
|
|
11: /**
|
|
|
|
Line 49 [match: Wave]:
|
|
47: * @var \Doctrine\Common\Collections\Collection
|
|
48: */
|
|
>> 49: protected $wave_ProcessHistory;
|
|
50:
|
|
51: /**
|
|
|
|
Line 62 [match: Wave]:
|
|
60: {
|
|
61: parent::__construct();
|
|
>> 62: $this->wave_ProcessHistory = new \Doctrine\Common\Collections\ArrayCollection();
|
|
63: }
|
|
64:
|
|
|
|
Line 80 [match: Wave]:
|
|
78: * @param string $codingKey
|
|
79: *
|
|
>> 80: * @return wave_Process
|
|
81: */
|
|
82: public function setCodingKey($codingKey)
|
|
|
|
Line 104 [match: Wave]:
|
|
102: * @param bool $isEnabled
|
|
103: *
|
|
>> 104: * @return wave_Process
|
|
105: */
|
|
106: public function setIsEnabled($isEnabled)
|
|
|
|
Line 128 [match: Wave]:
|
|
126: * @param int $processOrder
|
|
127: *
|
|
>> 128: * @return wave_Process
|
|
129: */
|
|
130: public function setProcessOrder($processOrder)
|
|
|
|
Line 152 [match: Wave]:
|
|
150: * @param string $processName
|
|
151: *
|
|
>> 152: * @return wave_Process
|
|
153: */
|
|
154: public function setProcessName($processName)
|
|
|
|
Line 176 [match: Wave]:
|
|
174: * @param string|null $processDesc
|
|
175: *
|
|
>> 176: * @return wave_Process
|
|
177: */
|
|
178: public function setProcessDesc($processDesc = null)
|
|
|
|
Line 200 [match: Wave]:
|
|
198: * @param \DateTime|null $lastRanDT
|
|
199: *
|
|
>> 200: * @return wave_Process
|
|
201: */
|
|
202: public function setLastRanDT($lastRanDT = null)
|
|
|
|
Line 220 [match: Wave]:
|
|
218:
|
|
219: /**
|
|
>> 220: * Add waveProcessHistory.
|
|
221: *
|
|
222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
|
|
Line 222 [match: Wave]:
|
|
220: * Add waveProcessHistory.
|
|
221: *
|
|
>> 222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
223: *
|
|
224: * @return wave_Process
|
|
|
|
Line 224 [match: Wave]:
|
|
222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
223: *
|
|
>> 224: * @return wave_Process
|
|
225: */
|
|
226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
|
|
Line 226 [match: Wave]:
|
|
224: * @return wave_Process
|
|
225: */
|
|
>> 226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
227: {
|
|
228: $this->wave_ProcessHistory[] = $waveProcessHistory;
|
|
|
|
Line 228 [match: Wave]:
|
|
226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
227: {
|
|
>> 228: $this->wave_ProcessHistory[] = $waveProcessHistory;
|
|
229:
|
|
230: return $this;
|
|
|
|
Line 234 [match: Wave]:
|
|
232:
|
|
233: /**
|
|
>> 234: * Remove waveProcessHistory.
|
|
235: *
|
|
236: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
|
|
Line 236 [match: Wave]:
|
|
234: * Remove waveProcessHistory.
|
|
235: *
|
|
>> 236: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
237: *
|
|
238: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
|
|
Line 240 [match: Wave]:
|
|
238: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
239: */
|
|
>> 240: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
241: {
|
|
242: return $this->wave_ProcessHistory->removeElement($waveProcessHistory);
|
|
|
|
Line 242 [match: Wave]:
|
|
240: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
241: {
|
|
>> 242: return $this->wave_ProcessHistory->removeElement($waveProcessHistory);
|
|
243: }
|
|
244:
|
|
|
|
Line 246 [match: Wave]:
|
|
244:
|
|
245: /**
|
|
>> 246: * Get waveProcessHistory.
|
|
247: *
|
|
248: * @return \Doctrine\Common\Collections\Collection
|
|
|
|
Line 250 [match: Wave]:
|
|
248: * @return \Doctrine\Common\Collections\Collection
|
|
249: */
|
|
>> 250: public function getWaveProcessHistory()
|
|
251: {
|
|
252: return $this->wave_ProcessHistory;
|
|
|
|
Line 252 [match: Wave]:
|
|
250: public function getWaveProcessHistory()
|
|
251: {
|
|
>> 252: return $this->wave_ProcessHistory;
|
|
253: }
|
|
254:
|
|
|
|
Line 260 [match: Wave]:
|
|
258: * @param \App\Model\Entities\quest_EmailEvent|null $questEmailEvent
|
|
259: *
|
|
>> 260: * @return wave_Process
|
|
261: */
|
|
262: public function setQuestEmailEvent(\App\Model\Entities\quest_EmailEvent $questEmailEvent = null)
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_Process
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
>> 9: abstract class wave_Process extends \App\Model\Base\Entity
|
|
10: {
|
|
11: /**
|
|
|
|
Line 49 [match: WAVE]:
|
|
47: * @var \Doctrine\Common\Collections\Collection
|
|
48: */
|
|
>> 49: protected $wave_ProcessHistory;
|
|
50:
|
|
51: /**
|
|
|
|
Line 62 [match: WAVE]:
|
|
60: {
|
|
61: parent::__construct();
|
|
>> 62: $this->wave_ProcessHistory = new \Doctrine\Common\Collections\ArrayCollection();
|
|
63: }
|
|
64:
|
|
|
|
Line 80 [match: WAVE]:
|
|
78: * @param string $codingKey
|
|
79: *
|
|
>> 80: * @return wave_Process
|
|
81: */
|
|
82: public function setCodingKey($codingKey)
|
|
|
|
Line 104 [match: WAVE]:
|
|
102: * @param bool $isEnabled
|
|
103: *
|
|
>> 104: * @return wave_Process
|
|
105: */
|
|
106: public function setIsEnabled($isEnabled)
|
|
|
|
Line 128 [match: WAVE]:
|
|
126: * @param int $processOrder
|
|
127: *
|
|
>> 128: * @return wave_Process
|
|
129: */
|
|
130: public function setProcessOrder($processOrder)
|
|
|
|
Line 152 [match: WAVE]:
|
|
150: * @param string $processName
|
|
151: *
|
|
>> 152: * @return wave_Process
|
|
153: */
|
|
154: public function setProcessName($processName)
|
|
|
|
Line 176 [match: WAVE]:
|
|
174: * @param string|null $processDesc
|
|
175: *
|
|
>> 176: * @return wave_Process
|
|
177: */
|
|
178: public function setProcessDesc($processDesc = null)
|
|
|
|
Line 200 [match: WAVE]:
|
|
198: * @param \DateTime|null $lastRanDT
|
|
199: *
|
|
>> 200: * @return wave_Process
|
|
201: */
|
|
202: public function setLastRanDT($lastRanDT = null)
|
|
|
|
Line 220 [match: WAVE]:
|
|
218:
|
|
219: /**
|
|
>> 220: * Add waveProcessHistory.
|
|
221: *
|
|
222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
|
|
Line 222 [match: WAVE]:
|
|
220: * Add waveProcessHistory.
|
|
221: *
|
|
>> 222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
223: *
|
|
224: * @return wave_Process
|
|
|
|
Line 224 [match: WAVE]:
|
|
222: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
223: *
|
|
>> 224: * @return wave_Process
|
|
225: */
|
|
226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
|
|
Line 226 [match: WAVE]:
|
|
224: * @return wave_Process
|
|
225: */
|
|
>> 226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
227: {
|
|
228: $this->wave_ProcessHistory[] = $waveProcessHistory;
|
|
|
|
Line 228 [match: WAVE]:
|
|
226: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
227: {
|
|
>> 228: $this->wave_ProcessHistory[] = $waveProcessHistory;
|
|
229:
|
|
230: return $this;
|
|
|
|
Line 234 [match: WAVE]:
|
|
232:
|
|
233: /**
|
|
>> 234: * Remove waveProcessHistory.
|
|
235: *
|
|
236: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
|
|
Line 236 [match: WAVE]:
|
|
234: * Remove waveProcessHistory.
|
|
235: *
|
|
>> 236: * @param \App\Model\Entities\wave_ProcessHistory $waveProcessHistory
|
|
237: *
|
|
238: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
|
|
Line 240 [match: WAVE]:
|
|
238: * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
|
|
239: */
|
|
>> 240: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
241: {
|
|
242: return $this->wave_ProcessHistory->removeElement($waveProcessHistory);
|
|
|
|
Line 242 [match: WAVE]:
|
|
240: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
241: {
|
|
>> 242: return $this->wave_ProcessHistory->removeElement($waveProcessHistory);
|
|
243: }
|
|
244:
|
|
|
|
Line 246 [match: WAVE]:
|
|
244:
|
|
245: /**
|
|
>> 246: * Get waveProcessHistory.
|
|
247: *
|
|
248: * @return \Doctrine\Common\Collections\Collection
|
|
|
|
Line 250 [match: WAVE]:
|
|
248: * @return \Doctrine\Common\Collections\Collection
|
|
249: */
|
|
>> 250: public function getWaveProcessHistory()
|
|
251: {
|
|
252: return $this->wave_ProcessHistory;
|
|
|
|
Line 252 [match: WAVE]:
|
|
250: public function getWaveProcessHistory()
|
|
251: {
|
|
>> 252: return $this->wave_ProcessHistory;
|
|
253: }
|
|
254:
|
|
|
|
Line 260 [match: WAVE]:
|
|
258: * @param \App\Model\Entities\quest_EmailEvent|null $questEmailEvent
|
|
259: *
|
|
>> 260: * @return wave_Process
|
|
261: */
|
|
262: public function setQuestEmailEvent(\App\Model\Entities\quest_EmailEvent $questEmailEvent = null)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\Generated\wave_ProcessHistory.php
|
|
================================================================================
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_ProcessHistory
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
|
|
Line 9 [match: wave]:
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
>> 9: abstract class wave_ProcessHistory extends \App\Model\Base\Entity
|
|
10: {
|
|
11: /**
|
|
|
|
Line 42 [match: wave]:
|
|
40:
|
|
41: /**
|
|
>> 42: * @var \App\Model\Entities\wave_Process
|
|
43: */
|
|
44: protected $wave_Process;
|
|
|
|
Line 44 [match: wave]:
|
|
42: * @var \App\Model\Entities\wave_Process
|
|
43: */
|
|
>> 44: protected $wave_Process;
|
|
45:
|
|
46: public function __construct()
|
|
|
|
Line 66 [match: wave]:
|
|
64: * @param string|null $results
|
|
65: *
|
|
>> 66: * @return wave_ProcessHistory
|
|
67: */
|
|
68: public function setResults($results = null)
|
|
|
|
Line 90 [match: wave]:
|
|
88: * @param bool|null $wasSuccessful
|
|
89: *
|
|
>> 90: * @return wave_ProcessHistory
|
|
91: */
|
|
92: public function setWasSuccessful($wasSuccessful = null)
|
|
|
|
Line 114 [match: wave]:
|
|
112: * @param bool|null $wasManual
|
|
113: *
|
|
>> 114: * @return wave_ProcessHistory
|
|
115: */
|
|
116: public function setWasManual($wasManual = null)
|
|
|
|
Line 138 [match: wave]:
|
|
136: * @param string|null $resultsFilePath
|
|
137: *
|
|
>> 138: * @return wave_ProcessHistory
|
|
139: */
|
|
140: public function setResultsFilePath($resultsFilePath = null)
|
|
|
|
Line 162 [match: wave]:
|
|
160: * @param \DateTime|null $ranDT
|
|
161: *
|
|
>> 162: * @return wave_ProcessHistory
|
|
163: */
|
|
164: public function setRanDT($ranDT = null)
|
|
|
|
Line 182 [match: wave]:
|
|
180:
|
|
181: /**
|
|
>> 182: * Set waveProcess.
|
|
183: *
|
|
184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
|
|
Line 184 [match: wave]:
|
|
182: * Set waveProcess.
|
|
183: *
|
|
>> 184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
185: *
|
|
186: * @return wave_ProcessHistory
|
|
|
|
Line 186 [match: wave]:
|
|
184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
185: *
|
|
>> 186: * @return wave_ProcessHistory
|
|
187: */
|
|
188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
|
|
Line 188 [match: wave]:
|
|
186: * @return wave_ProcessHistory
|
|
187: */
|
|
>> 188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
189: {
|
|
190: $this->wave_Process = $waveProcess;
|
|
|
|
Line 190 [match: wave]:
|
|
188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
189: {
|
|
>> 190: $this->wave_Process = $waveProcess;
|
|
191:
|
|
192: return $this;
|
|
|
|
Line 196 [match: wave]:
|
|
194:
|
|
195: /**
|
|
>> 196: * Get waveProcess.
|
|
197: *
|
|
198: * @return \App\Model\Entities\wave_Process|null
|
|
|
|
Line 198 [match: wave]:
|
|
196: * Get waveProcess.
|
|
197: *
|
|
>> 198: * @return \App\Model\Entities\wave_Process|null
|
|
199: */
|
|
200: public function getWaveProcess()
|
|
|
|
Line 200 [match: wave]:
|
|
198: * @return \App\Model\Entities\wave_Process|null
|
|
199: */
|
|
>> 200: public function getWaveProcess()
|
|
201: {
|
|
202: return $this->wave_Process;
|
|
|
|
Line 202 [match: wave]:
|
|
200: public function getWaveProcess()
|
|
201: {
|
|
>> 202: return $this->wave_Process;
|
|
203: }
|
|
204: }
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_ProcessHistory
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
|
|
Line 9 [match: Wave]:
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
>> 9: abstract class wave_ProcessHistory extends \App\Model\Base\Entity
|
|
10: {
|
|
11: /**
|
|
|
|
Line 42 [match: Wave]:
|
|
40:
|
|
41: /**
|
|
>> 42: * @var \App\Model\Entities\wave_Process
|
|
43: */
|
|
44: protected $wave_Process;
|
|
|
|
Line 44 [match: Wave]:
|
|
42: * @var \App\Model\Entities\wave_Process
|
|
43: */
|
|
>> 44: protected $wave_Process;
|
|
45:
|
|
46: public function __construct()
|
|
|
|
Line 66 [match: Wave]:
|
|
64: * @param string|null $results
|
|
65: *
|
|
>> 66: * @return wave_ProcessHistory
|
|
67: */
|
|
68: public function setResults($results = null)
|
|
|
|
Line 90 [match: Wave]:
|
|
88: * @param bool|null $wasSuccessful
|
|
89: *
|
|
>> 90: * @return wave_ProcessHistory
|
|
91: */
|
|
92: public function setWasSuccessful($wasSuccessful = null)
|
|
|
|
Line 114 [match: Wave]:
|
|
112: * @param bool|null $wasManual
|
|
113: *
|
|
>> 114: * @return wave_ProcessHistory
|
|
115: */
|
|
116: public function setWasManual($wasManual = null)
|
|
|
|
Line 138 [match: Wave]:
|
|
136: * @param string|null $resultsFilePath
|
|
137: *
|
|
>> 138: * @return wave_ProcessHistory
|
|
139: */
|
|
140: public function setResultsFilePath($resultsFilePath = null)
|
|
|
|
Line 162 [match: Wave]:
|
|
160: * @param \DateTime|null $ranDT
|
|
161: *
|
|
>> 162: * @return wave_ProcessHistory
|
|
163: */
|
|
164: public function setRanDT($ranDT = null)
|
|
|
|
Line 182 [match: Wave]:
|
|
180:
|
|
181: /**
|
|
>> 182: * Set waveProcess.
|
|
183: *
|
|
184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
|
|
Line 184 [match: Wave]:
|
|
182: * Set waveProcess.
|
|
183: *
|
|
>> 184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
185: *
|
|
186: * @return wave_ProcessHistory
|
|
|
|
Line 186 [match: Wave]:
|
|
184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
185: *
|
|
>> 186: * @return wave_ProcessHistory
|
|
187: */
|
|
188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
|
|
Line 188 [match: Wave]:
|
|
186: * @return wave_ProcessHistory
|
|
187: */
|
|
>> 188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
189: {
|
|
190: $this->wave_Process = $waveProcess;
|
|
|
|
Line 190 [match: Wave]:
|
|
188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
189: {
|
|
>> 190: $this->wave_Process = $waveProcess;
|
|
191:
|
|
192: return $this;
|
|
|
|
Line 196 [match: Wave]:
|
|
194:
|
|
195: /**
|
|
>> 196: * Get waveProcess.
|
|
197: *
|
|
198: * @return \App\Model\Entities\wave_Process|null
|
|
|
|
Line 198 [match: Wave]:
|
|
196: * Get waveProcess.
|
|
197: *
|
|
>> 198: * @return \App\Model\Entities\wave_Process|null
|
|
199: */
|
|
200: public function getWaveProcess()
|
|
|
|
Line 200 [match: Wave]:
|
|
198: * @return \App\Model\Entities\wave_Process|null
|
|
199: */
|
|
>> 200: public function getWaveProcess()
|
|
201: {
|
|
202: return $this->wave_Process;
|
|
|
|
Line 202 [match: Wave]:
|
|
200: public function getWaveProcess()
|
|
201: {
|
|
>> 202: return $this->wave_Process;
|
|
203: }
|
|
204: }
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_ProcessHistory
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: * @MappedSuperclass
|
|
8: */
|
|
>> 9: abstract class wave_ProcessHistory extends \App\Model\Base\Entity
|
|
10: {
|
|
11: /**
|
|
|
|
Line 42 [match: WAVE]:
|
|
40:
|
|
41: /**
|
|
>> 42: * @var \App\Model\Entities\wave_Process
|
|
43: */
|
|
44: protected $wave_Process;
|
|
|
|
Line 44 [match: WAVE]:
|
|
42: * @var \App\Model\Entities\wave_Process
|
|
43: */
|
|
>> 44: protected $wave_Process;
|
|
45:
|
|
46: public function __construct()
|
|
|
|
Line 66 [match: WAVE]:
|
|
64: * @param string|null $results
|
|
65: *
|
|
>> 66: * @return wave_ProcessHistory
|
|
67: */
|
|
68: public function setResults($results = null)
|
|
|
|
Line 90 [match: WAVE]:
|
|
88: * @param bool|null $wasSuccessful
|
|
89: *
|
|
>> 90: * @return wave_ProcessHistory
|
|
91: */
|
|
92: public function setWasSuccessful($wasSuccessful = null)
|
|
|
|
Line 114 [match: WAVE]:
|
|
112: * @param bool|null $wasManual
|
|
113: *
|
|
>> 114: * @return wave_ProcessHistory
|
|
115: */
|
|
116: public function setWasManual($wasManual = null)
|
|
|
|
Line 138 [match: WAVE]:
|
|
136: * @param string|null $resultsFilePath
|
|
137: *
|
|
>> 138: * @return wave_ProcessHistory
|
|
139: */
|
|
140: public function setResultsFilePath($resultsFilePath = null)
|
|
|
|
Line 162 [match: WAVE]:
|
|
160: * @param \DateTime|null $ranDT
|
|
161: *
|
|
>> 162: * @return wave_ProcessHistory
|
|
163: */
|
|
164: public function setRanDT($ranDT = null)
|
|
|
|
Line 182 [match: WAVE]:
|
|
180:
|
|
181: /**
|
|
>> 182: * Set waveProcess.
|
|
183: *
|
|
184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
|
|
Line 184 [match: WAVE]:
|
|
182: * Set waveProcess.
|
|
183: *
|
|
>> 184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
185: *
|
|
186: * @return wave_ProcessHistory
|
|
|
|
Line 186 [match: WAVE]:
|
|
184: * @param \App\Model\Entities\wave_Process|null $waveProcess
|
|
185: *
|
|
>> 186: * @return wave_ProcessHistory
|
|
187: */
|
|
188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
|
|
Line 188 [match: WAVE]:
|
|
186: * @return wave_ProcessHistory
|
|
187: */
|
|
>> 188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
189: {
|
|
190: $this->wave_Process = $waveProcess;
|
|
|
|
Line 190 [match: WAVE]:
|
|
188: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = null)
|
|
189: {
|
|
>> 190: $this->wave_Process = $waveProcess;
|
|
191:
|
|
192: return $this;
|
|
|
|
Line 196 [match: WAVE]:
|
|
194:
|
|
195: /**
|
|
>> 196: * Get waveProcess.
|
|
197: *
|
|
198: * @return \App\Model\Entities\wave_Process|null
|
|
|
|
Line 198 [match: WAVE]:
|
|
196: * Get waveProcess.
|
|
197: *
|
|
>> 198: * @return \App\Model\Entities\wave_Process|null
|
|
199: */
|
|
200: public function getWaveProcess()
|
|
|
|
Line 200 [match: WAVE]:
|
|
198: * @return \App\Model\Entities\wave_Process|null
|
|
199: */
|
|
>> 200: public function getWaveProcess()
|
|
201: {
|
|
202: return $this->wave_Process;
|
|
|
|
Line 202 [match: WAVE]:
|
|
200: public function getWaveProcess()
|
|
201: {
|
|
>> 202: return $this->wave_Process;
|
|
203: }
|
|
204: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\quest_Company.php
|
|
================================================================================
|
|
Line 18 [match: epicor]:
|
|
16: }
|
|
17:
|
|
>> 18: public function setEpicorCustID($epicorCustID)
|
|
19: {
|
|
20: parent::setEpicorCustID($epicorCustID);
|
|
|
|
Line 20 [match: epicor]:
|
|
18: public function setEpicorCustID($epicorCustID)
|
|
19: {
|
|
>> 20: parent::setEpicorCustID($epicorCustID);
|
|
21: $this->updateCalcDisplayName();
|
|
22: return $this;
|
|
|
|
Line 34 [match: epicor]:
|
|
32: protected function updateCalcDisplayName()
|
|
33: {
|
|
>> 34: $this->setCalcDisplayName((is_null($this->getEpiName()) ? $this->getEpicorCustID() : ($this->getEpicorCustID().' - '.$this->getEpiName())));
|
|
35: }
|
|
36: }
|
|
|
|
Line 18 [match: Epicor]:
|
|
16: }
|
|
17:
|
|
>> 18: public function setEpicorCustID($epicorCustID)
|
|
19: {
|
|
20: parent::setEpicorCustID($epicorCustID);
|
|
|
|
Line 20 [match: Epicor]:
|
|
18: public function setEpicorCustID($epicorCustID)
|
|
19: {
|
|
>> 20: parent::setEpicorCustID($epicorCustID);
|
|
21: $this->updateCalcDisplayName();
|
|
22: return $this;
|
|
|
|
Line 34 [match: Epicor]:
|
|
32: protected function updateCalcDisplayName()
|
|
33: {
|
|
>> 34: $this->setCalcDisplayName((is_null($this->getEpiName()) ? $this->getEpicorCustID() : ($this->getEpicorCustID().' - '.$this->getEpiName())));
|
|
35: }
|
|
36: }
|
|
|
|
Line 18 [match: EPICOR]:
|
|
16: }
|
|
17:
|
|
>> 18: public function setEpicorCustID($epicorCustID)
|
|
19: {
|
|
20: parent::setEpicorCustID($epicorCustID);
|
|
|
|
Line 20 [match: EPICOR]:
|
|
18: public function setEpicorCustID($epicorCustID)
|
|
19: {
|
|
>> 20: parent::setEpicorCustID($epicorCustID);
|
|
21: $this->updateCalcDisplayName();
|
|
22: return $this;
|
|
|
|
Line 34 [match: EPICOR]:
|
|
32: protected function updateCalcDisplayName()
|
|
33: {
|
|
>> 34: $this->setCalcDisplayName((is_null($this->getEpiName()) ? $this->getEpicorCustID() : ($this->getEpicorCustID().' - '.$this->getEpiName())));
|
|
35: }
|
|
36: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\quest_Plant.php
|
|
================================================================================
|
|
Line 18 [match: epicor]:
|
|
16: }
|
|
17:
|
|
>> 18: public function getEpicorKey()
|
|
19: {
|
|
20: return $this->getPlantCode();
|
|
|
|
Line 18 [match: Epicor]:
|
|
16: }
|
|
17:
|
|
>> 18: public function getEpicorKey()
|
|
19: {
|
|
20: return $this->getPlantCode();
|
|
|
|
Line 18 [match: EPICOR]:
|
|
16: }
|
|
17:
|
|
>> 18: public function getEpicorKey()
|
|
19: {
|
|
20: return $this->getPlantCode();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\wave_Process.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2: namespace App\Model\Entities;
|
|
>> 3: use App\Model\Entities\Generated\wave_Process as wave_ProcessGenerated;
|
|
4:
|
|
5: /**
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_Process application-level entity class
|
|
7: *
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 10 [match: wave]:
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
9: */
|
|
>> 10: class wave_Process extends wave_ProcessGenerated
|
|
11: {
|
|
12: public function __construct()
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2: namespace App\Model\Entities;
|
|
>> 3: use App\Model\Entities\Generated\wave_Process as wave_ProcessGenerated;
|
|
4:
|
|
5: /**
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_Process application-level entity class
|
|
7: *
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 10 [match: Wave]:
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
9: */
|
|
>> 10: class wave_Process extends wave_ProcessGenerated
|
|
11: {
|
|
12: public function __construct()
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2: namespace App\Model\Entities;
|
|
>> 3: use App\Model\Entities\Generated\wave_Process as wave_ProcessGenerated;
|
|
4:
|
|
5: /**
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_Process application-level entity class
|
|
7: *
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
9: */
|
|
>> 10: class wave_Process extends wave_ProcessGenerated
|
|
11: {
|
|
12: public function __construct()
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Entities\wave_ProcessHistory.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2: namespace App\Model\Entities;
|
|
>> 3: use App\Model\Entities\Generated\wave_ProcessHistory as wave_ProcessHistoryGenerated;
|
|
4:
|
|
5: /**
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_ProcessHistory application-level entity class
|
|
7: *
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 10 [match: wave]:
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
9: */
|
|
>> 10: class wave_ProcessHistory extends wave_ProcessHistoryGenerated
|
|
11: {
|
|
12: public function __construct()
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2: namespace App\Model\Entities;
|
|
>> 3: use App\Model\Entities\Generated\wave_ProcessHistory as wave_ProcessHistoryGenerated;
|
|
4:
|
|
5: /**
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_ProcessHistory application-level entity class
|
|
7: *
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 10 [match: Wave]:
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
9: */
|
|
>> 10: class wave_ProcessHistory extends wave_ProcessHistoryGenerated
|
|
11: {
|
|
12: public function __construct()
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2: namespace App\Model\Entities;
|
|
>> 3: use App\Model\Entities\Generated\wave_ProcessHistory as wave_ProcessHistoryGenerated;
|
|
4:
|
|
5: /**
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: /**
|
|
>> 6: * wave_ProcessHistory application-level entity class
|
|
7: *
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
9: */
|
|
>> 10: class wave_ProcessHistory extends wave_ProcessHistoryGenerated
|
|
11: {
|
|
12: public function __construct()
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiesalloc_Request.php
|
|
================================================================================
|
|
Line 436 [match: UPDATE ]:
|
|
434: * {@inheritDoc}
|
|
435: */
|
|
>> 436: public function setRequestedPickupDate($requestedPickupDate = NULL)
|
|
437: {
|
|
438:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiesauth_User.php
|
|
================================================================================
|
|
Line 678 [match: UPDATE ]:
|
|
676: * {@inheritDoc}
|
|
677: */
|
|
>> 678: public function setSSOLastFieldDataUpdate($sSOLastFieldDataUpdate = NULL)
|
|
679: {
|
|
680:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiespaint_Line.php
|
|
================================================================================
|
|
Line 70 [match: epicor]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_LineType'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: epicor]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_LineType'];
|
|
74: }
|
|
75:
|
|
|
|
Line 216 [match: epicor]:
|
|
214: * {@inheritDoc}
|
|
215: */
|
|
>> 216: public function setEpicorKey($epicorKey)
|
|
217: {
|
|
218:
|
|
|
|
Line 219 [match: epicor]:
|
|
217: {
|
|
218:
|
|
>> 219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
221: return parent::setEpicorKey($epicorKey);
|
|
|
|
Line 221 [match: epicor]:
|
|
219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
>> 221: return parent::setEpicorKey($epicorKey);
|
|
222: }
|
|
223:
|
|
|
|
Line 227 [match: epicor]:
|
|
225: * {@inheritDoc}
|
|
226: */
|
|
>> 227: public function getEpicorKey()
|
|
228: {
|
|
229:
|
|
|
|
Line 230 [match: epicor]:
|
|
228: {
|
|
229:
|
|
>> 230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
232: return parent::getEpicorKey();
|
|
|
|
Line 232 [match: epicor]:
|
|
230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
>> 232: return parent::getEpicorKey();
|
|
233: }
|
|
234:
|
|
|
|
Line 70 [match: Epicor]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_LineType'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: Epicor]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_LineType'];
|
|
74: }
|
|
75:
|
|
|
|
Line 216 [match: Epicor]:
|
|
214: * {@inheritDoc}
|
|
215: */
|
|
>> 216: public function setEpicorKey($epicorKey)
|
|
217: {
|
|
218:
|
|
|
|
Line 219 [match: Epicor]:
|
|
217: {
|
|
218:
|
|
>> 219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
221: return parent::setEpicorKey($epicorKey);
|
|
|
|
Line 221 [match: Epicor]:
|
|
219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
>> 221: return parent::setEpicorKey($epicorKey);
|
|
222: }
|
|
223:
|
|
|
|
Line 227 [match: Epicor]:
|
|
225: * {@inheritDoc}
|
|
226: */
|
|
>> 227: public function getEpicorKey()
|
|
228: {
|
|
229:
|
|
|
|
Line 230 [match: Epicor]:
|
|
228: {
|
|
229:
|
|
>> 230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
232: return parent::getEpicorKey();
|
|
|
|
Line 232 [match: Epicor]:
|
|
230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
>> 232: return parent::getEpicorKey();
|
|
233: }
|
|
234:
|
|
|
|
Line 70 [match: EPICOR]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_LineType'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: EPICOR]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Line' . "\0" . 'paint_LineType'];
|
|
74: }
|
|
75:
|
|
|
|
Line 216 [match: EPICOR]:
|
|
214: * {@inheritDoc}
|
|
215: */
|
|
>> 216: public function setEpicorKey($epicorKey)
|
|
217: {
|
|
218:
|
|
|
|
Line 219 [match: EPICOR]:
|
|
217: {
|
|
218:
|
|
>> 219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
221: return parent::setEpicorKey($epicorKey);
|
|
|
|
Line 221 [match: EPICOR]:
|
|
219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
>> 221: return parent::setEpicorKey($epicorKey);
|
|
222: }
|
|
223:
|
|
|
|
Line 227 [match: EPICOR]:
|
|
225: * {@inheritDoc}
|
|
226: */
|
|
>> 227: public function getEpicorKey()
|
|
228: {
|
|
229:
|
|
|
|
Line 230 [match: EPICOR]:
|
|
228: {
|
|
229:
|
|
>> 230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
232: return parent::getEpicorKey();
|
|
|
|
Line 232 [match: EPICOR]:
|
|
230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
>> 232: return parent::getEpicorKey();
|
|
233: }
|
|
234:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiespaint_Plant.php
|
|
================================================================================
|
|
Line 70 [match: epicor]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'TimeZoneModifier', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: epicor]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'TimeZoneModifier', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 216 [match: epicor]:
|
|
214: * {@inheritDoc}
|
|
215: */
|
|
>> 216: public function setEpicorKey($epicorKey)
|
|
217: {
|
|
218:
|
|
|
|
Line 219 [match: epicor]:
|
|
217: {
|
|
218:
|
|
>> 219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
221: return parent::setEpicorKey($epicorKey);
|
|
|
|
Line 221 [match: epicor]:
|
|
219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
>> 221: return parent::setEpicorKey($epicorKey);
|
|
222: }
|
|
223:
|
|
|
|
Line 227 [match: epicor]:
|
|
225: * {@inheritDoc}
|
|
226: */
|
|
>> 227: public function getEpicorKey()
|
|
228: {
|
|
229:
|
|
|
|
Line 230 [match: epicor]:
|
|
228: {
|
|
229:
|
|
>> 230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
232: return parent::getEpicorKey();
|
|
|
|
Line 232 [match: epicor]:
|
|
230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
>> 232: return parent::getEpicorKey();
|
|
233: }
|
|
234:
|
|
|
|
Line 70 [match: Epicor]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'TimeZoneModifier', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: Epicor]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'TimeZoneModifier', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 216 [match: Epicor]:
|
|
214: * {@inheritDoc}
|
|
215: */
|
|
>> 216: public function setEpicorKey($epicorKey)
|
|
217: {
|
|
218:
|
|
|
|
Line 219 [match: Epicor]:
|
|
217: {
|
|
218:
|
|
>> 219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
221: return parent::setEpicorKey($epicorKey);
|
|
|
|
Line 221 [match: Epicor]:
|
|
219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
>> 221: return parent::setEpicorKey($epicorKey);
|
|
222: }
|
|
223:
|
|
|
|
Line 227 [match: Epicor]:
|
|
225: * {@inheritDoc}
|
|
226: */
|
|
>> 227: public function getEpicorKey()
|
|
228: {
|
|
229:
|
|
|
|
Line 230 [match: Epicor]:
|
|
228: {
|
|
229:
|
|
>> 230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
232: return parent::getEpicorKey();
|
|
|
|
Line 232 [match: Epicor]:
|
|
230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
>> 232: return parent::getEpicorKey();
|
|
233: }
|
|
234:
|
|
|
|
Line 70 [match: EPICOR]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'TimeZoneModifier', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: EPICOR]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'Name', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'EpicorKey', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'TimeZoneModifier', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'paint_PlantLine', '' . "\0" . 'App\\Model\\Entities\\paint_Plant' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 216 [match: EPICOR]:
|
|
214: * {@inheritDoc}
|
|
215: */
|
|
>> 216: public function setEpicorKey($epicorKey)
|
|
217: {
|
|
218:
|
|
|
|
Line 219 [match: EPICOR]:
|
|
217: {
|
|
218:
|
|
>> 219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
221: return parent::setEpicorKey($epicorKey);
|
|
|
|
Line 221 [match: EPICOR]:
|
|
219: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorKey', [$epicorKey]);
|
|
220:
|
|
>> 221: return parent::setEpicorKey($epicorKey);
|
|
222: }
|
|
223:
|
|
|
|
Line 227 [match: EPICOR]:
|
|
225: * {@inheritDoc}
|
|
226: */
|
|
>> 227: public function getEpicorKey()
|
|
228: {
|
|
229:
|
|
|
|
Line 230 [match: EPICOR]:
|
|
228: {
|
|
229:
|
|
>> 230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
232: return parent::getEpicorKey();
|
|
|
|
Line 232 [match: EPICOR]:
|
|
230: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorKey', []);
|
|
231:
|
|
>> 232: return parent::getEpicorKey();
|
|
233: }
|
|
234:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiesquest_Company.php
|
|
================================================================================
|
|
Line 70 [match: epicor]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'EpicorCustID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'epi_Name', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'calc_DisplayName', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'IsDeactivated', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'InvoicingEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'OrderAckEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'CanAccessInvoices', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ReceivesSOEmails', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ship_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'inv_UploadEntry', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'alloc_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: epicor]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'EpicorCustID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'epi_Name', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'calc_DisplayName', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'IsDeactivated', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'InvoicingEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'OrderAckEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'CanAccessInvoices', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ReceivesSOEmails', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ship_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'inv_UploadEntry', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'alloc_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 194 [match: epicor]:
|
|
192: * {@inheritDoc}
|
|
193: */
|
|
>> 194: public function setEpicorCustID($epicorCustID)
|
|
195: {
|
|
196:
|
|
|
|
Line 197 [match: epicor]:
|
|
195: {
|
|
196:
|
|
>> 197: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorCustID', [$epicorCustID]);
|
|
198:
|
|
199: return parent::setEpicorCustID($epicorCustID);
|
|
|
|
Line 199 [match: epicor]:
|
|
197: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorCustID', [$epicorCustID]);
|
|
198:
|
|
>> 199: return parent::setEpicorCustID($epicorCustID);
|
|
200: }
|
|
201:
|
|
|
|
Line 205 [match: epicor]:
|
|
203: * {@inheritDoc}
|
|
204: */
|
|
>> 205: public function getEpicorCustID()
|
|
206: {
|
|
207:
|
|
|
|
Line 208 [match: epicor]:
|
|
206: {
|
|
207:
|
|
>> 208: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorCustID', []);
|
|
209:
|
|
210: return parent::getEpicorCustID();
|
|
|
|
Line 210 [match: epicor]:
|
|
208: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorCustID', []);
|
|
209:
|
|
>> 210: return parent::getEpicorCustID();
|
|
211: }
|
|
212:
|
|
|
|
Line 70 [match: Epicor]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'EpicorCustID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'epi_Name', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'calc_DisplayName', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'IsDeactivated', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'InvoicingEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'OrderAckEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'CanAccessInvoices', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ReceivesSOEmails', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ship_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'inv_UploadEntry', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'alloc_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: Epicor]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'EpicorCustID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'epi_Name', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'calc_DisplayName', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'IsDeactivated', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'InvoicingEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'OrderAckEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'CanAccessInvoices', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ReceivesSOEmails', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ship_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'inv_UploadEntry', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'alloc_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 194 [match: Epicor]:
|
|
192: * {@inheritDoc}
|
|
193: */
|
|
>> 194: public function setEpicorCustID($epicorCustID)
|
|
195: {
|
|
196:
|
|
|
|
Line 197 [match: Epicor]:
|
|
195: {
|
|
196:
|
|
>> 197: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorCustID', [$epicorCustID]);
|
|
198:
|
|
199: return parent::setEpicorCustID($epicorCustID);
|
|
|
|
Line 199 [match: Epicor]:
|
|
197: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorCustID', [$epicorCustID]);
|
|
198:
|
|
>> 199: return parent::setEpicorCustID($epicorCustID);
|
|
200: }
|
|
201:
|
|
|
|
Line 205 [match: Epicor]:
|
|
203: * {@inheritDoc}
|
|
204: */
|
|
>> 205: public function getEpicorCustID()
|
|
206: {
|
|
207:
|
|
|
|
Line 208 [match: Epicor]:
|
|
206: {
|
|
207:
|
|
>> 208: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorCustID', []);
|
|
209:
|
|
210: return parent::getEpicorCustID();
|
|
|
|
Line 210 [match: Epicor]:
|
|
208: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorCustID', []);
|
|
209:
|
|
>> 210: return parent::getEpicorCustID();
|
|
211: }
|
|
212:
|
|
|
|
Line 70 [match: EPICOR]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'EpicorCustID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'epi_Name', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'calc_DisplayName', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'IsDeactivated', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'InvoicingEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'OrderAckEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'CanAccessInvoices', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ReceivesSOEmails', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ship_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'inv_UploadEntry', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'alloc_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: EPICOR]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'EpicorCustID', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'epi_Name', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'calc_DisplayName', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'IsDeactivated', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'InvoicingEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'OrderAckEmail', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'CanAccessInvoices', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ReceivesSOEmails', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'ship_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'inv_UploadEntry', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'alloc_Request', '' . "\0" . 'App\\Model\\Entities\\quest_Company' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 194 [match: EPICOR]:
|
|
192: * {@inheritDoc}
|
|
193: */
|
|
>> 194: public function setEpicorCustID($epicorCustID)
|
|
195: {
|
|
196:
|
|
|
|
Line 197 [match: EPICOR]:
|
|
195: {
|
|
196:
|
|
>> 197: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorCustID', [$epicorCustID]);
|
|
198:
|
|
199: return parent::setEpicorCustID($epicorCustID);
|
|
|
|
Line 199 [match: EPICOR]:
|
|
197: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEpicorCustID', [$epicorCustID]);
|
|
198:
|
|
>> 199: return parent::setEpicorCustID($epicorCustID);
|
|
200: }
|
|
201:
|
|
|
|
Line 205 [match: EPICOR]:
|
|
203: * {@inheritDoc}
|
|
204: */
|
|
>> 205: public function getEpicorCustID()
|
|
206: {
|
|
207:
|
|
|
|
Line 208 [match: EPICOR]:
|
|
206: {
|
|
207:
|
|
>> 208: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorCustID', []);
|
|
209:
|
|
210: return parent::getEpicorCustID();
|
|
|
|
Line 210 [match: EPICOR]:
|
|
208: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEpicorCustID', []);
|
|
209:
|
|
>> 210: return parent::getEpicorCustID();
|
|
211: }
|
|
212:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiesquest_EmailEvent.php
|
|
================================================================================
|
|
Line 70 [match: wave]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'EventName', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'wave_Process', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: wave]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'EventName', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'wave_Process', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 238 [match: wave]:
|
|
236: * {@inheritDoc}
|
|
237: */
|
|
>> 238: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
239: {
|
|
240:
|
|
|
|
Line 241 [match: wave]:
|
|
239: {
|
|
240:
|
|
>> 241: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcess', [$waveProcess]);
|
|
242:
|
|
243: return parent::addWaveProcess($waveProcess);
|
|
|
|
Line 243 [match: wave]:
|
|
241: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcess', [$waveProcess]);
|
|
242:
|
|
>> 243: return parent::addWaveProcess($waveProcess);
|
|
244: }
|
|
245:
|
|
|
|
Line 249 [match: wave]:
|
|
247: * {@inheritDoc}
|
|
248: */
|
|
>> 249: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
250: {
|
|
251:
|
|
|
|
Line 252 [match: wave]:
|
|
250: {
|
|
251:
|
|
>> 252: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcess', [$waveProcess]);
|
|
253:
|
|
254: return parent::removeWaveProcess($waveProcess);
|
|
|
|
Line 254 [match: wave]:
|
|
252: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcess', [$waveProcess]);
|
|
253:
|
|
>> 254: return parent::removeWaveProcess($waveProcess);
|
|
255: }
|
|
256:
|
|
|
|
Line 260 [match: wave]:
|
|
258: * {@inheritDoc}
|
|
259: */
|
|
>> 260: public function getWaveProcess()
|
|
261: {
|
|
262:
|
|
|
|
Line 263 [match: wave]:
|
|
261: {
|
|
262:
|
|
>> 263: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
264:
|
|
265: return parent::getWaveProcess();
|
|
|
|
Line 265 [match: wave]:
|
|
263: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
264:
|
|
>> 265: return parent::getWaveProcess();
|
|
266: }
|
|
267:
|
|
|
|
Line 70 [match: Wave]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'EventName', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'wave_Process', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: Wave]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'EventName', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'wave_Process', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 238 [match: Wave]:
|
|
236: * {@inheritDoc}
|
|
237: */
|
|
>> 238: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
239: {
|
|
240:
|
|
|
|
Line 241 [match: Wave]:
|
|
239: {
|
|
240:
|
|
>> 241: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcess', [$waveProcess]);
|
|
242:
|
|
243: return parent::addWaveProcess($waveProcess);
|
|
|
|
Line 243 [match: Wave]:
|
|
241: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcess', [$waveProcess]);
|
|
242:
|
|
>> 243: return parent::addWaveProcess($waveProcess);
|
|
244: }
|
|
245:
|
|
|
|
Line 249 [match: Wave]:
|
|
247: * {@inheritDoc}
|
|
248: */
|
|
>> 249: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
250: {
|
|
251:
|
|
|
|
Line 252 [match: Wave]:
|
|
250: {
|
|
251:
|
|
>> 252: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcess', [$waveProcess]);
|
|
253:
|
|
254: return parent::removeWaveProcess($waveProcess);
|
|
|
|
Line 254 [match: Wave]:
|
|
252: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcess', [$waveProcess]);
|
|
253:
|
|
>> 254: return parent::removeWaveProcess($waveProcess);
|
|
255: }
|
|
256:
|
|
|
|
Line 260 [match: Wave]:
|
|
258: * {@inheritDoc}
|
|
259: */
|
|
>> 260: public function getWaveProcess()
|
|
261: {
|
|
262:
|
|
|
|
Line 263 [match: Wave]:
|
|
261: {
|
|
262:
|
|
>> 263: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
264:
|
|
265: return parent::getWaveProcess();
|
|
|
|
Line 265 [match: Wave]:
|
|
263: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
264:
|
|
>> 265: return parent::getWaveProcess();
|
|
266: }
|
|
267:
|
|
|
|
Line 70 [match: WAVE]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'EventName', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'wave_Process', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'quest_User'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: WAVE]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'EventName', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'wave_Process', '' . "\0" . 'App\\Model\\Entities\\quest_EmailEvent' . "\0" . 'quest_User'];
|
|
74: }
|
|
75:
|
|
|
|
Line 238 [match: WAVE]:
|
|
236: * {@inheritDoc}
|
|
237: */
|
|
>> 238: public function addWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
239: {
|
|
240:
|
|
|
|
Line 241 [match: WAVE]:
|
|
239: {
|
|
240:
|
|
>> 241: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcess', [$waveProcess]);
|
|
242:
|
|
243: return parent::addWaveProcess($waveProcess);
|
|
|
|
Line 243 [match: WAVE]:
|
|
241: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcess', [$waveProcess]);
|
|
242:
|
|
>> 243: return parent::addWaveProcess($waveProcess);
|
|
244: }
|
|
245:
|
|
|
|
Line 249 [match: WAVE]:
|
|
247: * {@inheritDoc}
|
|
248: */
|
|
>> 249: public function removeWaveProcess(\App\Model\Entities\wave_Process $waveProcess)
|
|
250: {
|
|
251:
|
|
|
|
Line 252 [match: WAVE]:
|
|
250: {
|
|
251:
|
|
>> 252: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcess', [$waveProcess]);
|
|
253:
|
|
254: return parent::removeWaveProcess($waveProcess);
|
|
|
|
Line 254 [match: WAVE]:
|
|
252: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcess', [$waveProcess]);
|
|
253:
|
|
>> 254: return parent::removeWaveProcess($waveProcess);
|
|
255: }
|
|
256:
|
|
|
|
Line 260 [match: WAVE]:
|
|
258: * {@inheritDoc}
|
|
259: */
|
|
>> 260: public function getWaveProcess()
|
|
261: {
|
|
262:
|
|
|
|
Line 263 [match: WAVE]:
|
|
261: {
|
|
262:
|
|
>> 263: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
264:
|
|
265: return parent::getWaveProcess();
|
|
|
|
Line 265 [match: WAVE]:
|
|
263: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
264:
|
|
>> 265: return parent::getWaveProcess();
|
|
266: }
|
|
267:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitiesship_Request.php
|
|
================================================================================
|
|
Line 612 [match: UPDATE ]:
|
|
610: * {@inheritDoc}
|
|
611: */
|
|
>> 612: public function setRequestedPickupDate($requestedPickupDate = NULL)
|
|
613: {
|
|
614:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitieswave_Process.php
|
|
================================================================================
|
|
Line 9 [match: wave]:
|
|
7: * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
|
|
8: */
|
|
>> 9: class wave_Process extends \App\Model\Entities\wave_Process implements \Doctrine\ORM\Proxy\Proxy
|
|
10: {
|
|
11: /**
|
|
|
|
Line 70 [match: wave]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'IsEnabled', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessOrder', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessName', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessDesc', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'LastRanDT', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'wave_ProcessHistory', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'quest_EmailEvent'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: wave]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'IsEnabled', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessOrder', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessName', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessDesc', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'LastRanDT', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'wave_ProcessHistory', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'quest_EmailEvent'];
|
|
74: }
|
|
75:
|
|
|
|
Line 82 [match: wave]:
|
|
80: {
|
|
81: if ( ! $this->__isInitialized__) {
|
|
>> 82: $this->__initializer__ = function (wave_Process $proxy) {
|
|
83: $proxy->__setInitializer(null);
|
|
84: $proxy->__setCloner(null);
|
|
|
|
Line 326 [match: wave]:
|
|
324: * {@inheritDoc}
|
|
325: */
|
|
>> 326: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
327: {
|
|
328:
|
|
|
|
Line 329 [match: wave]:
|
|
327: {
|
|
328:
|
|
>> 329: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcessHistory', [$waveProcessHistory]);
|
|
330:
|
|
331: return parent::addWaveProcessHistory($waveProcessHistory);
|
|
|
|
Line 331 [match: wave]:
|
|
329: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcessHistory', [$waveProcessHistory]);
|
|
330:
|
|
>> 331: return parent::addWaveProcessHistory($waveProcessHistory);
|
|
332: }
|
|
333:
|
|
|
|
Line 337 [match: wave]:
|
|
335: * {@inheritDoc}
|
|
336: */
|
|
>> 337: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
338: {
|
|
339:
|
|
|
|
Line 340 [match: wave]:
|
|
338: {
|
|
339:
|
|
>> 340: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcessHistory', [$waveProcessHistory]);
|
|
341:
|
|
342: return parent::removeWaveProcessHistory($waveProcessHistory);
|
|
|
|
Line 342 [match: wave]:
|
|
340: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcessHistory', [$waveProcessHistory]);
|
|
341:
|
|
>> 342: return parent::removeWaveProcessHistory($waveProcessHistory);
|
|
343: }
|
|
344:
|
|
|
|
Line 348 [match: wave]:
|
|
346: * {@inheritDoc}
|
|
347: */
|
|
>> 348: public function getWaveProcessHistory()
|
|
349: {
|
|
350:
|
|
|
|
Line 351 [match: wave]:
|
|
349: {
|
|
350:
|
|
>> 351: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcessHistory', []);
|
|
352:
|
|
353: return parent::getWaveProcessHistory();
|
|
|
|
Line 353 [match: wave]:
|
|
351: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcessHistory', []);
|
|
352:
|
|
>> 353: return parent::getWaveProcessHistory();
|
|
354: }
|
|
355:
|
|
|
|
Line 9 [match: Wave]:
|
|
7: * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
|
|
8: */
|
|
>> 9: class wave_Process extends \App\Model\Entities\wave_Process implements \Doctrine\ORM\Proxy\Proxy
|
|
10: {
|
|
11: /**
|
|
|
|
Line 70 [match: Wave]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'IsEnabled', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessOrder', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessName', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessDesc', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'LastRanDT', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'wave_ProcessHistory', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'quest_EmailEvent'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: Wave]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'IsEnabled', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessOrder', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessName', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessDesc', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'LastRanDT', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'wave_ProcessHistory', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'quest_EmailEvent'];
|
|
74: }
|
|
75:
|
|
|
|
Line 82 [match: Wave]:
|
|
80: {
|
|
81: if ( ! $this->__isInitialized__) {
|
|
>> 82: $this->__initializer__ = function (wave_Process $proxy) {
|
|
83: $proxy->__setInitializer(null);
|
|
84: $proxy->__setCloner(null);
|
|
|
|
Line 326 [match: Wave]:
|
|
324: * {@inheritDoc}
|
|
325: */
|
|
>> 326: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
327: {
|
|
328:
|
|
|
|
Line 329 [match: Wave]:
|
|
327: {
|
|
328:
|
|
>> 329: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcessHistory', [$waveProcessHistory]);
|
|
330:
|
|
331: return parent::addWaveProcessHistory($waveProcessHistory);
|
|
|
|
Line 331 [match: Wave]:
|
|
329: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcessHistory', [$waveProcessHistory]);
|
|
330:
|
|
>> 331: return parent::addWaveProcessHistory($waveProcessHistory);
|
|
332: }
|
|
333:
|
|
|
|
Line 337 [match: Wave]:
|
|
335: * {@inheritDoc}
|
|
336: */
|
|
>> 337: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
338: {
|
|
339:
|
|
|
|
Line 340 [match: Wave]:
|
|
338: {
|
|
339:
|
|
>> 340: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcessHistory', [$waveProcessHistory]);
|
|
341:
|
|
342: return parent::removeWaveProcessHistory($waveProcessHistory);
|
|
|
|
Line 342 [match: Wave]:
|
|
340: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcessHistory', [$waveProcessHistory]);
|
|
341:
|
|
>> 342: return parent::removeWaveProcessHistory($waveProcessHistory);
|
|
343: }
|
|
344:
|
|
|
|
Line 348 [match: Wave]:
|
|
346: * {@inheritDoc}
|
|
347: */
|
|
>> 348: public function getWaveProcessHistory()
|
|
349: {
|
|
350:
|
|
|
|
Line 351 [match: Wave]:
|
|
349: {
|
|
350:
|
|
>> 351: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcessHistory', []);
|
|
352:
|
|
353: return parent::getWaveProcessHistory();
|
|
|
|
Line 353 [match: Wave]:
|
|
351: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcessHistory', []);
|
|
352:
|
|
>> 353: return parent::getWaveProcessHistory();
|
|
354: }
|
|
355:
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
|
|
8: */
|
|
>> 9: class wave_Process extends \App\Model\Entities\wave_Process implements \Doctrine\ORM\Proxy\Proxy
|
|
10: {
|
|
11: /**
|
|
|
|
Line 70 [match: WAVE]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'IsEnabled', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessOrder', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessName', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessDesc', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'LastRanDT', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'wave_ProcessHistory', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'quest_EmailEvent'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: WAVE]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'CodingKey', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'IsEnabled', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessOrder', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessName', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'ProcessDesc', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'LastRanDT', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'wave_ProcessHistory', '' . "\0" . 'App\\Model\\Entities\\wave_Process' . "\0" . 'quest_EmailEvent'];
|
|
74: }
|
|
75:
|
|
|
|
Line 82 [match: WAVE]:
|
|
80: {
|
|
81: if ( ! $this->__isInitialized__) {
|
|
>> 82: $this->__initializer__ = function (wave_Process $proxy) {
|
|
83: $proxy->__setInitializer(null);
|
|
84: $proxy->__setCloner(null);
|
|
|
|
Line 326 [match: WAVE]:
|
|
324: * {@inheritDoc}
|
|
325: */
|
|
>> 326: public function addWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
327: {
|
|
328:
|
|
|
|
Line 329 [match: WAVE]:
|
|
327: {
|
|
328:
|
|
>> 329: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcessHistory', [$waveProcessHistory]);
|
|
330:
|
|
331: return parent::addWaveProcessHistory($waveProcessHistory);
|
|
|
|
Line 331 [match: WAVE]:
|
|
329: $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWaveProcessHistory', [$waveProcessHistory]);
|
|
330:
|
|
>> 331: return parent::addWaveProcessHistory($waveProcessHistory);
|
|
332: }
|
|
333:
|
|
|
|
Line 337 [match: WAVE]:
|
|
335: * {@inheritDoc}
|
|
336: */
|
|
>> 337: public function removeWaveProcessHistory(\App\Model\Entities\wave_ProcessHistory $waveProcessHistory)
|
|
338: {
|
|
339:
|
|
|
|
Line 340 [match: WAVE]:
|
|
338: {
|
|
339:
|
|
>> 340: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcessHistory', [$waveProcessHistory]);
|
|
341:
|
|
342: return parent::removeWaveProcessHistory($waveProcessHistory);
|
|
|
|
Line 342 [match: WAVE]:
|
|
340: $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeWaveProcessHistory', [$waveProcessHistory]);
|
|
341:
|
|
>> 342: return parent::removeWaveProcessHistory($waveProcessHistory);
|
|
343: }
|
|
344:
|
|
|
|
Line 348 [match: WAVE]:
|
|
346: * {@inheritDoc}
|
|
347: */
|
|
>> 348: public function getWaveProcessHistory()
|
|
349: {
|
|
350:
|
|
|
|
Line 351 [match: WAVE]:
|
|
349: {
|
|
350:
|
|
>> 351: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcessHistory', []);
|
|
352:
|
|
353: return parent::getWaveProcessHistory();
|
|
|
|
Line 353 [match: WAVE]:
|
|
351: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcessHistory', []);
|
|
352:
|
|
>> 353: return parent::getWaveProcessHistory();
|
|
354: }
|
|
355:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Proxies\__CG__AppModelEntitieswave_ProcessHistory.php
|
|
================================================================================
|
|
Line 9 [match: wave]:
|
|
7: * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
|
|
8: */
|
|
>> 9: class wave_ProcessHistory extends \App\Model\Entities\wave_ProcessHistory implements \Doctrine\ORM\Proxy\Proxy
|
|
10: {
|
|
11: /**
|
|
|
|
Line 70 [match: wave]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'Results', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasSuccessful', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasManual', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ResultsFilePath', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'RanDT', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'wave_Process'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: wave]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'Results', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasSuccessful', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasManual', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ResultsFilePath', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'RanDT', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'wave_Process'];
|
|
74: }
|
|
75:
|
|
|
|
Line 82 [match: wave]:
|
|
80: {
|
|
81: if ( ! $this->__isInitialized__) {
|
|
>> 82: $this->__initializer__ = function (wave_ProcessHistory $proxy) {
|
|
83: $proxy->__setInitializer(null);
|
|
84: $proxy->__setCloner(null);
|
|
|
|
Line 304 [match: wave]:
|
|
302: * {@inheritDoc}
|
|
303: */
|
|
>> 304: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = NULL)
|
|
305: {
|
|
306:
|
|
|
|
Line 307 [match: wave]:
|
|
305: {
|
|
306:
|
|
>> 307: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWaveProcess', [$waveProcess]);
|
|
308:
|
|
309: return parent::setWaveProcess($waveProcess);
|
|
|
|
Line 309 [match: wave]:
|
|
307: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWaveProcess', [$waveProcess]);
|
|
308:
|
|
>> 309: return parent::setWaveProcess($waveProcess);
|
|
310: }
|
|
311:
|
|
|
|
Line 315 [match: wave]:
|
|
313: * {@inheritDoc}
|
|
314: */
|
|
>> 315: public function getWaveProcess()
|
|
316: {
|
|
317:
|
|
|
|
Line 318 [match: wave]:
|
|
316: {
|
|
317:
|
|
>> 318: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
319:
|
|
320: return parent::getWaveProcess();
|
|
|
|
Line 320 [match: wave]:
|
|
318: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
319:
|
|
>> 320: return parent::getWaveProcess();
|
|
321: }
|
|
322:
|
|
|
|
Line 9 [match: Wave]:
|
|
7: * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
|
|
8: */
|
|
>> 9: class wave_ProcessHistory extends \App\Model\Entities\wave_ProcessHistory implements \Doctrine\ORM\Proxy\Proxy
|
|
10: {
|
|
11: /**
|
|
|
|
Line 70 [match: Wave]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'Results', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasSuccessful', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasManual', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ResultsFilePath', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'RanDT', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'wave_Process'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: Wave]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'Results', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasSuccessful', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasManual', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ResultsFilePath', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'RanDT', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'wave_Process'];
|
|
74: }
|
|
75:
|
|
|
|
Line 82 [match: Wave]:
|
|
80: {
|
|
81: if ( ! $this->__isInitialized__) {
|
|
>> 82: $this->__initializer__ = function (wave_ProcessHistory $proxy) {
|
|
83: $proxy->__setInitializer(null);
|
|
84: $proxy->__setCloner(null);
|
|
|
|
Line 304 [match: Wave]:
|
|
302: * {@inheritDoc}
|
|
303: */
|
|
>> 304: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = NULL)
|
|
305: {
|
|
306:
|
|
|
|
Line 307 [match: Wave]:
|
|
305: {
|
|
306:
|
|
>> 307: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWaveProcess', [$waveProcess]);
|
|
308:
|
|
309: return parent::setWaveProcess($waveProcess);
|
|
|
|
Line 309 [match: Wave]:
|
|
307: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWaveProcess', [$waveProcess]);
|
|
308:
|
|
>> 309: return parent::setWaveProcess($waveProcess);
|
|
310: }
|
|
311:
|
|
|
|
Line 315 [match: Wave]:
|
|
313: * {@inheritDoc}
|
|
314: */
|
|
>> 315: public function getWaveProcess()
|
|
316: {
|
|
317:
|
|
|
|
Line 318 [match: Wave]:
|
|
316: {
|
|
317:
|
|
>> 318: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
319:
|
|
320: return parent::getWaveProcess();
|
|
|
|
Line 320 [match: Wave]:
|
|
318: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
319:
|
|
>> 320: return parent::getWaveProcess();
|
|
321: }
|
|
322:
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
|
|
8: */
|
|
>> 9: class wave_ProcessHistory extends \App\Model\Entities\wave_ProcessHistory implements \Doctrine\ORM\Proxy\Proxy
|
|
10: {
|
|
11: /**
|
|
|
|
Line 70 [match: WAVE]:
|
|
68: {
|
|
69: if ($this->__isInitialized__) {
|
|
>> 70: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'Results', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasSuccessful', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasManual', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ResultsFilePath', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'RanDT', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'wave_Process'];
|
|
71: }
|
|
72:
|
|
|
|
Line 73 [match: WAVE]:
|
|
71: }
|
|
72:
|
|
>> 73: return ['__isInitialized__', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ID', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'Results', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasSuccessful', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'WasManual', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'ResultsFilePath', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'RanDT', '' . "\0" . 'App\\Model\\Entities\\wave_ProcessHistory' . "\0" . 'wave_Process'];
|
|
74: }
|
|
75:
|
|
|
|
Line 82 [match: WAVE]:
|
|
80: {
|
|
81: if ( ! $this->__isInitialized__) {
|
|
>> 82: $this->__initializer__ = function (wave_ProcessHistory $proxy) {
|
|
83: $proxy->__setInitializer(null);
|
|
84: $proxy->__setCloner(null);
|
|
|
|
Line 304 [match: WAVE]:
|
|
302: * {@inheritDoc}
|
|
303: */
|
|
>> 304: public function setWaveProcess(\App\Model\Entities\wave_Process $waveProcess = NULL)
|
|
305: {
|
|
306:
|
|
|
|
Line 307 [match: WAVE]:
|
|
305: {
|
|
306:
|
|
>> 307: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWaveProcess', [$waveProcess]);
|
|
308:
|
|
309: return parent::setWaveProcess($waveProcess);
|
|
|
|
Line 309 [match: WAVE]:
|
|
307: $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWaveProcess', [$waveProcess]);
|
|
308:
|
|
>> 309: return parent::setWaveProcess($waveProcess);
|
|
310: }
|
|
311:
|
|
|
|
Line 315 [match: WAVE]:
|
|
313: * {@inheritDoc}
|
|
314: */
|
|
>> 315: public function getWaveProcess()
|
|
316: {
|
|
317:
|
|
|
|
Line 318 [match: WAVE]:
|
|
316: {
|
|
317:
|
|
>> 318: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
319:
|
|
320: return parent::getWaveProcess();
|
|
|
|
Line 320 [match: WAVE]:
|
|
318: $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWaveProcess', []);
|
|
319:
|
|
>> 320: return parent::getWaveProcess();
|
|
321: }
|
|
322:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\alloc_Request.php
|
|
================================================================================
|
|
Line 33 [match: FROM ]:
|
|
31:
|
|
32: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 33: FROM ".$this->getEntityName()." r
|
|
34: LEFT JOIN r.alloc_RequestDetail rd
|
|
35: INNER JOIN r.quest_Company qc
|
|
|
|
Line 54 [match: FROM ]:
|
|
52: {
|
|
53: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 54: FROM ".$this->getEntityName()." r
|
|
55: LEFT JOIN r.alloc_RequestDetail rd
|
|
56: WHERE r.ID = :releaseID
|
|
|
|
Line 69 [match: FROM ]:
|
|
67: {
|
|
68: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 69: FROM ".$this->getEntityName()." r
|
|
70: LEFT JOIN r.alloc_RequestDetail rd
|
|
71: WHERE r.ID = :releaseID")
|
|
|
|
Line 79 [match: FROM ]:
|
|
77: {
|
|
78: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
>> 79: FROM ".$this->getEntityName()." r
|
|
80: INNER JOIN r.quest_Company c
|
|
81: INNER JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 105 [match: FROM ]:
|
|
103: {
|
|
104: $entity = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
>> 105: FROM ".$this->getEntityName()." r
|
|
106: INNER JOIN r.quest_Company c
|
|
107: INNER JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 146 [match: FROM ]:
|
|
144: {
|
|
145: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
>> 146: FROM ".$this->getEntityName()." r
|
|
147: INNER JOIN r.quest_Company c
|
|
148: INNER JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 176 [match: FROM ]:
|
|
174: {
|
|
175: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
>> 176: FROM ".$this->getEntityName()." r
|
|
177: INNER JOIN r.quest_User qu
|
|
178: INNER JOIN r.quest_Company c
|
|
|
|
Line 199 [match: FROM ]:
|
|
197: // the inner join to alloc_RequestDetail will ensure no requests are included here for shipments without any selected items yet
|
|
198: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
>> 199: FROM ".$this->getEntityName()." r
|
|
200: INNER JOIN r.quest_User qu
|
|
201: INNER JOIN qu.auth_User u
|
|
|
|
Line 220 [match: FROM ]:
|
|
218: {
|
|
219: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
>> 220: FROM ".$this->getEntityName()." r
|
|
221: WHERE r.ID = :id")
|
|
222: ->setParameter('id', $RequestID)
|
|
|
|
Line 234 [match: FROM ]:
|
|
232: {
|
|
233: return $this->getEntityManager()->createQuery("SELECT r.IsCancelled
|
|
>> 234: FROM ".$this->getEntityName()." r
|
|
235: WHERE r.ID = :requestID")
|
|
236: ->setParameter('requestID', $RequestID)
|
|
|
|
Line 248 [match: FROM ]:
|
|
246: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
247: r.Plant, r.CompletedDT
|
|
>> 248: FROM " . $this->getEntityName() ." r
|
|
249: LEFT JOIN r.quest_Company c
|
|
250: LEFT JOIN r.quest_User u
|
|
|
|
Line 269 [match: FROM ]:
|
|
267: r.CustomerReleaseNum, r.RequestedPickupDate, r.SpecialInstructions,
|
|
268: r.ConfirmationEmailRecipients
|
|
>> 269: FROM " . $this->getEntityName() ." r
|
|
270: LEFT JOIN r.quest_Company c
|
|
271: LEFT JOIN r.quest_User u
|
|
|
|
Line 290 [match: FROM ]:
|
|
288: r.CustomerReleaseNum, r.RequestedPickupDate, r.SpecialInstructions,
|
|
289: r.ConfirmationEmailRecipients
|
|
>> 290: FROM " . $this->getEntityName() ." r
|
|
291: LEFT JOIN r.quest_Company c
|
|
292: LEFT JOIN r.quest_User u
|
|
|
|
Line 323 [match: FROM ]:
|
|
321: {
|
|
322: return $this->getEntityManager()->createQuery("SELECT r.IsCancelled
|
|
>> 323: FROM ".$this->getEntityName()." r
|
|
324: WHERE r.ID = :requestID")
|
|
325: ->setParameter('requestID', $RequestID)
|
|
|
|
Line 337 [match: FROM ]:
|
|
335: {
|
|
336: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, r.Plant, u.Email, c.epi_Name
|
|
>> 337: FROM ".$this->getEntityName()." r
|
|
338: INNER JOIN r.quest_User qu
|
|
339: INNER JOIN qu.auth_User u
|
|
|
|
Line 32 [match: SELECT ]:
|
|
30:
|
|
31:
|
|
>> 32: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
33: FROM ".$this->getEntityName()." r
|
|
34: LEFT JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 53 [match: SELECT ]:
|
|
51: public function getCompletedAllocationWithAllDetailLinesByID($AllocationReleaseID)
|
|
52: {
|
|
>> 53: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
54: FROM ".$this->getEntityName()." r
|
|
55: LEFT JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 68 [match: SELECT ]:
|
|
66: public function getAllocationWithAllDetailLinesByID($AllocationReleaseID)
|
|
67: {
|
|
>> 68: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
69: FROM ".$this->getEntityName()." r
|
|
70: LEFT JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 78 [match: SELECT ]:
|
|
76: public function doesNonCancelledAllocationExistForCompanyWithPlantAndJobNum($CustID, $Plant, $JobNum)
|
|
77: {
|
|
>> 78: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
79: FROM ".$this->getEntityName()." r
|
|
80: INNER JOIN r.quest_Company c
|
|
|
|
Line 104 [match: SELECT ]:
|
|
102: public function doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
103: {
|
|
>> 104: $entity = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
105: FROM ".$this->getEntityName()." r
|
|
106: INNER JOIN r.quest_Company c
|
|
|
|
Line 145 [match: SELECT ]:
|
|
143: public function getNonCancelledAllocationRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
144: {
|
|
>> 145: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
146: FROM ".$this->getEntityName()." r
|
|
147: INNER JOIN r.quest_Company c
|
|
|
|
Line 175 [match: SELECT ]:
|
|
173: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestUserID, $EpicorCustID)
|
|
174: {
|
|
>> 175: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
176: FROM ".$this->getEntityName()." r
|
|
177: INNER JOIN r.quest_User qu
|
|
|
|
Line 198 [match: SELECT ]:
|
|
196:
|
|
197: // the inner join to alloc_RequestDetail will ensure no requests are included here for shipments without any selected items yet
|
|
>> 198: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
199: FROM ".$this->getEntityName()." r
|
|
200: INNER JOIN r.quest_User qu
|
|
|
|
Line 219 [match: SELECT ]:
|
|
217: public function getReferenceNumberForRequest($RequestID)
|
|
218: {
|
|
>> 219: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
220: FROM ".$this->getEntityName()." r
|
|
221: WHERE r.ID = :id")
|
|
|
|
Line 233 [match: SELECT ]:
|
|
231: public function isCoilAllocationCancelled($RequestID)
|
|
232: {
|
|
>> 233: return $this->getEntityManager()->createQuery("SELECT r.IsCancelled
|
|
234: FROM ".$this->getEntityName()." r
|
|
235: WHERE r.ID = :requestID")
|
|
|
|
Line 246 [match: SELECT ]:
|
|
244: public function getShipmentReleaseData($epicorCustID)
|
|
245: {
|
|
>> 246: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
247: r.Plant, r.CompletedDT
|
|
248: FROM " . $this->getEntityName() ." r
|
|
|
|
Line 264 [match: SELECT ]:
|
|
262: public function getAllocationRequestDetailsData($epicorCustID)
|
|
263: {
|
|
>> 264: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
265: r.ShipToAddress2, r.ShipToCity, r.ShipToState, r.ShipToZip, u.FirstName,
|
|
266: u.LastName, r.Plant, r.CompletedDT, r.CustomerOrderNum, r.CustomerPONum,
|
|
|
|
Line 285 [match: SELECT ]:
|
|
283: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
284: {
|
|
>> 285: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
286: r.ShipToAddress2, r.ShipToCity, r.ShipToState, r.ShipToZip, u.FirstName,
|
|
287: u.LastName, r.Plant, r.CompletedDT, r.CustomerOrderNum, r.CustomerPONum,
|
|
|
|
Line 322 [match: SELECT ]:
|
|
320: public function isAllocationRequestCancelled($RequestID)
|
|
321: {
|
|
>> 322: return $this->getEntityManager()->createQuery("SELECT r.IsCancelled
|
|
323: FROM ".$this->getEntityName()." r
|
|
324: WHERE r.ID = :requestID")
|
|
|
|
Line 336 [match: SELECT ]:
|
|
334: public function getReleaseInfoForCancellationEmails($RequestID)
|
|
335: {
|
|
>> 336: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, r.Plant, u.Email, c.epi_Name
|
|
337: FROM ".$this->getEntityName()." r
|
|
338: INNER JOIN r.quest_User qu
|
|
|
|
Line 35 [match: INNER JOIN]:
|
|
33: FROM ".$this->getEntityName()." r
|
|
34: LEFT JOIN r.alloc_RequestDetail rd
|
|
>> 35: INNER JOIN r.quest_Company qc
|
|
36: INNER JOIN r.quest_User qu
|
|
37: WHERE qc.EpicorCustID = :epicorCustID
|
|
|
|
Line 36 [match: INNER JOIN]:
|
|
34: LEFT JOIN r.alloc_RequestDetail rd
|
|
35: INNER JOIN r.quest_Company qc
|
|
>> 36: INNER JOIN r.quest_User qu
|
|
37: WHERE qc.EpicorCustID = :epicorCustID
|
|
38: AND qu.ID = :questUserID
|
|
|
|
Line 80 [match: INNER JOIN]:
|
|
78: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
79: FROM ".$this->getEntityName()." r
|
|
>> 80: INNER JOIN r.quest_Company c
|
|
81: INNER JOIN r.alloc_RequestDetail rd
|
|
82: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 81 [match: INNER JOIN]:
|
|
79: FROM ".$this->getEntityName()." r
|
|
80: INNER JOIN r.quest_Company c
|
|
>> 81: INNER JOIN r.alloc_RequestDetail rd
|
|
82: WHERE c.EpicorCustID = :epicorCustID
|
|
83: AND r.Plant = :plant
|
|
|
|
Line 106 [match: INNER JOIN]:
|
|
104: $entity = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
105: FROM ".$this->getEntityName()." r
|
|
>> 106: INNER JOIN r.quest_Company c
|
|
107: INNER JOIN r.alloc_RequestDetail rd
|
|
108: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 107 [match: INNER JOIN]:
|
|
105: FROM ".$this->getEntityName()." r
|
|
106: INNER JOIN r.quest_Company c
|
|
>> 107: INNER JOIN r.alloc_RequestDetail rd
|
|
108: WHERE c.EpicorCustID = :epicorCustID
|
|
109: AND r.Plant = :plant
|
|
|
|
Line 147 [match: INNER JOIN]:
|
|
145: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
146: FROM ".$this->getEntityName()." r
|
|
>> 147: INNER JOIN r.quest_Company c
|
|
148: INNER JOIN r.alloc_RequestDetail rd
|
|
149: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 148 [match: INNER JOIN]:
|
|
146: FROM ".$this->getEntityName()." r
|
|
147: INNER JOIN r.quest_Company c
|
|
>> 148: INNER JOIN r.alloc_RequestDetail rd
|
|
149: WHERE c.EpicorCustID = :epicorCustID
|
|
150: AND r.Plant = :plant
|
|
|
|
Line 177 [match: INNER JOIN]:
|
|
175: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
176: FROM ".$this->getEntityName()." r
|
|
>> 177: INNER JOIN r.quest_User qu
|
|
178: INNER JOIN r.quest_Company c
|
|
179: WHERE r.ID = :allocationId
|
|
|
|
Line 178 [match: INNER JOIN]:
|
|
176: FROM ".$this->getEntityName()." r
|
|
177: INNER JOIN r.quest_User qu
|
|
>> 178: INNER JOIN r.quest_Company c
|
|
179: WHERE r.ID = :allocationId
|
|
180: AND qu.ID = :questUserID
|
|
|
|
Line 197 [match: INNER JOIN]:
|
|
195: $ThresholdHoursAgo = (new \DateTime())->sub(new \DateInterval('PT'.$NagThresholdHours.'H'));
|
|
196:
|
|
>> 197: // the inner join to alloc_RequestDetail will ensure no requests are included here for shipments without any selected items yet
|
|
198: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
199: FROM ".$this->getEntityName()." r
|
|
|
|
Line 200 [match: INNER JOIN]:
|
|
198: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
199: FROM ".$this->getEntityName()." r
|
|
>> 200: INNER JOIN r.quest_User qu
|
|
201: INNER JOIN qu.auth_User u
|
|
202: INNER JOIN r.quest_Company c
|
|
|
|
Line 201 [match: INNER JOIN]:
|
|
199: FROM ".$this->getEntityName()." r
|
|
200: INNER JOIN r.quest_User qu
|
|
>> 201: INNER JOIN qu.auth_User u
|
|
202: INNER JOIN r.quest_Company c
|
|
203: INNER JOIN r.alloc_RequestDetail rd
|
|
|
|
Line 202 [match: INNER JOIN]:
|
|
200: INNER JOIN r.quest_User qu
|
|
201: INNER JOIN qu.auth_User u
|
|
>> 202: INNER JOIN r.quest_Company c
|
|
203: INNER JOIN r.alloc_RequestDetail rd
|
|
204: WHERE r.IsSubmitted = false
|
|
|
|
Line 203 [match: INNER JOIN]:
|
|
201: INNER JOIN qu.auth_User u
|
|
202: INNER JOIN r.quest_Company c
|
|
>> 203: INNER JOIN r.alloc_RequestDetail rd
|
|
204: WHERE r.IsSubmitted = false
|
|
205: AND (((r.LastNagDT IS NULL OR r.LastCartActivity > r.LastNagDT) AND r.LastCartActivity <= :threshold)
|
|
|
|
Line 338 [match: INNER JOIN]:
|
|
336: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, r.Plant, u.Email, c.epi_Name
|
|
337: FROM ".$this->getEntityName()." r
|
|
>> 338: INNER JOIN r.quest_User qu
|
|
339: INNER JOIN qu.auth_User u
|
|
340: INNER JOIN r.quest_Company c
|
|
|
|
Line 339 [match: INNER JOIN]:
|
|
337: FROM ".$this->getEntityName()." r
|
|
338: INNER JOIN r.quest_User qu
|
|
>> 339: INNER JOIN qu.auth_User u
|
|
340: INNER JOIN r.quest_Company c
|
|
341: WHERE r.ID = :requestID")
|
|
|
|
Line 340 [match: INNER JOIN]:
|
|
338: INNER JOIN r.quest_User qu
|
|
339: INNER JOIN qu.auth_User u
|
|
>> 340: INNER JOIN r.quest_Company c
|
|
341: WHERE r.ID = :requestID")
|
|
342: ->setParameter('requestID', $RequestID)
|
|
|
|
Line 34 [match: LEFT JOIN]:
|
|
32: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
33: FROM ".$this->getEntityName()." r
|
|
>> 34: LEFT JOIN r.alloc_RequestDetail rd
|
|
35: INNER JOIN r.quest_Company qc
|
|
36: INNER JOIN r.quest_User qu
|
|
|
|
Line 55 [match: LEFT JOIN]:
|
|
53: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
54: FROM ".$this->getEntityName()." r
|
|
>> 55: LEFT JOIN r.alloc_RequestDetail rd
|
|
56: WHERE r.ID = :releaseID
|
|
57: AND r.IsSubmitted = true")
|
|
|
|
Line 70 [match: LEFT JOIN]:
|
|
68: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
69: FROM ".$this->getEntityName()." r
|
|
>> 70: LEFT JOIN r.alloc_RequestDetail rd
|
|
71: WHERE r.ID = :releaseID")
|
|
72: ->setParameter('releaseID', $AllocationReleaseID)
|
|
|
|
Line 249 [match: LEFT JOIN]:
|
|
247: r.Plant, r.CompletedDT
|
|
248: FROM " . $this->getEntityName() ." r
|
|
>> 249: LEFT JOIN r.quest_Company c
|
|
250: LEFT JOIN r.quest_User u
|
|
251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
|
|
Line 250 [match: LEFT JOIN]:
|
|
248: FROM " . $this->getEntityName() ." r
|
|
249: LEFT JOIN r.quest_Company c
|
|
>> 250: LEFT JOIN r.quest_User u
|
|
251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 270 [match: LEFT JOIN]:
|
|
268: r.ConfirmationEmailRecipients
|
|
269: FROM " . $this->getEntityName() ." r
|
|
>> 270: LEFT JOIN r.quest_Company c
|
|
271: LEFT JOIN r.quest_User u
|
|
272: WHERE c.EpicorCustID = :epicorCustID")
|
|
|
|
Line 271 [match: LEFT JOIN]:
|
|
269: FROM " . $this->getEntityName() ." r
|
|
270: LEFT JOIN r.quest_Company c
|
|
>> 271: LEFT JOIN r.quest_User u
|
|
272: WHERE c.EpicorCustID = :epicorCustID")
|
|
273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 291 [match: LEFT JOIN]:
|
|
289: r.ConfirmationEmailRecipients
|
|
290: FROM " . $this->getEntityName() ." r
|
|
>> 291: LEFT JOIN r.quest_Company c
|
|
292: LEFT JOIN r.quest_User u
|
|
293: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 292 [match: LEFT JOIN]:
|
|
290: FROM " . $this->getEntityName() ." r
|
|
291: LEFT JOIN r.quest_Company c
|
|
>> 292: LEFT JOIN r.quest_User u
|
|
293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
|
|
Line 22 [match: epicor]:
|
|
20:
|
|
21: /**
|
|
>> 22: * @param string $EpicorCustID
|
|
23: * @param int $QuestUserID
|
|
24: * @throws NonUniqueResultException
|
|
|
|
Line 27 [match: epicor]:
|
|
25: * @return \App\Model\Entities\alloc_Request|null
|
|
26: */
|
|
>> 27: public function getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
29:
|
|
|
|
Line 37 [match: epicor]:
|
|
35: INNER JOIN r.quest_Company qc
|
|
36: INNER JOIN r.quest_User qu
|
|
>> 37: WHERE qc.EpicorCustID = :epicorCustID
|
|
38: AND qu.ID = :questUserID
|
|
39: AND r.IsSubmitted = false
|
|
|
|
Line 42 [match: epicor]:
|
|
40: AND r.IsCancelled <> true
|
|
41: ")
|
|
>> 42: ->setParameter('epicorCustID', $EpicorCustID)
|
|
43: ->setParameter('questUserID', $QuestUserID)
|
|
44: ->getOneOrNullResult();
|
|
|
|
Line 82 [match: epicor]:
|
|
80: INNER JOIN r.quest_Company c
|
|
81: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 82: WHERE c.EpicorCustID = :epicorCustID
|
|
83: AND r.Plant = :plant
|
|
84: AND r.JobNum = :job
|
|
|
|
Line 86 [match: epicor]:
|
|
84: AND r.JobNum = :job
|
|
85: AND r.IsCancelled = false")
|
|
>> 86: ->setParameter('epicorCustID', $CustID)
|
|
87: ->setParameter('plant', $Plant)
|
|
88: ->setParameter('job', $JobNum)
|
|
|
|
Line 94 [match: epicor]:
|
|
92:
|
|
93: /**
|
|
>> 94: * @param string $EpicorCustID
|
|
95: * @param string $Plant
|
|
96: * @param string $PartNum
|
|
|
|
Line 102 [match: epicor]:
|
|
100: * @return bool
|
|
101: */
|
|
>> 102: public function doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
103: {
|
|
104: $entity = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 108 [match: epicor]:
|
|
106: INNER JOIN r.quest_Company c
|
|
107: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 108: WHERE c.EpicorCustID = :epicorCustID
|
|
109: AND r.Plant = :plant
|
|
110: AND rd.Part = :part
|
|
|
|
Line 115 [match: epicor]:
|
|
113: AND rd.OnHandQuantity = :onHandQty
|
|
114: AND r.IsCancelled = false")
|
|
>> 115: ->setParameter('epicorCustID', $EpicorCustID)
|
|
116: ->setParameter('plant', $Plant)
|
|
117: ->setParameter('part', $PartNum)
|
|
|
|
Line 135 [match: epicor]:
|
|
133:
|
|
134: /**
|
|
>> 135: * @param string $EpicorCustID
|
|
136: * @param string $Plant
|
|
137: * @param string $PartNum
|
|
|
|
Line 143 [match: epicor]:
|
|
141: * @return int
|
|
142: */
|
|
>> 143: public function getNonCancelledAllocationRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
144: {
|
|
145: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 149 [match: epicor]:
|
|
147: INNER JOIN r.quest_Company c
|
|
148: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 149: WHERE c.EpicorCustID = :epicorCustID
|
|
150: AND r.Plant = :plant
|
|
151: AND rd.Part = :part
|
|
|
|
Line 156 [match: epicor]:
|
|
154: AND rd.OnHandQuantity = :onHandQty
|
|
155: AND r.IsCancelled = false")
|
|
>> 156: ->setParameter('epicorCustID', $EpicorCustID)
|
|
157: ->setParameter('plant', $Plant)
|
|
158: ->setParameter('part', $PartNum)
|
|
|
|
Line 169 [match: epicor]:
|
|
167: * @param $AllocationId
|
|
168: * @param $QuestUserID
|
|
>> 169: * @param $EpicorCustID
|
|
170: * @return int|mixed|string|null
|
|
171: * @throws NonUniqueResultException
|
|
|
|
Line 173 [match: epicor]:
|
|
171: * @throws NonUniqueResultException
|
|
172: */
|
|
>> 173: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestUserID, $EpicorCustID)
|
|
174: {
|
|
175: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
|
|
Line 182 [match: epicor]:
|
|
180: AND qu.ID = :questUserID
|
|
181: AND r.IsSubmitted = true
|
|
>> 182: AND c.EpicorCustID = :epicorCustID")
|
|
183: ->setParameter('allocationId', $AllocationId)
|
|
184: ->setParameter('questUserID', $QuestUserID)
|
|
|
|
Line 185 [match: epicor]:
|
|
183: ->setParameter('allocationId', $AllocationId)
|
|
184: ->setParameter('questUserID', $QuestUserID)
|
|
>> 185: ->setParameter('epicorCustID', $EpicorCustID)
|
|
186: ->getOneOrNullResult(Query::HYDRATE_SINGLE_SCALAR);
|
|
187: }
|
|
|
|
Line 241 [match: epicor]:
|
|
239:
|
|
240: /**
|
|
>> 241: * @param $epicorCustID
|
|
242: * @return array
|
|
243: */
|
|
|
|
Line 244 [match: epicor]:
|
|
242: * @return array
|
|
243: */
|
|
>> 244: public function getShipmentReleaseData($epicorCustID)
|
|
245: {
|
|
246: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
|
|
Line 251 [match: epicor]:
|
|
249: LEFT JOIN r.quest_Company c
|
|
250: LEFT JOIN r.quest_User u
|
|
>> 251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
253: ->getArrayResult();
|
|
|
|
Line 252 [match: epicor]:
|
|
250: LEFT JOIN r.quest_User u
|
|
251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
>> 252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
253: ->getArrayResult();
|
|
254:
|
|
|
|
Line 259 [match: epicor]:
|
|
257:
|
|
258: /**
|
|
>> 259: * @param $epicorCustID
|
|
260: * @return array
|
|
261: */
|
|
|
|
Line 262 [match: epicor]:
|
|
260: * @return array
|
|
261: */
|
|
>> 262: public function getAllocationRequestDetailsData($epicorCustID)
|
|
263: {
|
|
264: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 272 [match: epicor]:
|
|
270: LEFT JOIN r.quest_Company c
|
|
271: LEFT JOIN r.quest_User u
|
|
>> 272: WHERE c.EpicorCustID = :epicorCustID")
|
|
273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
274: ->getArrayResult();
|
|
|
|
Line 273 [match: epicor]:
|
|
271: LEFT JOIN r.quest_User u
|
|
272: WHERE c.EpicorCustID = :epicorCustID")
|
|
>> 273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
274: ->getArrayResult();
|
|
275:
|
|
|
|
Line 280 [match: epicor]:
|
|
278:
|
|
279: /**
|
|
>> 280: * @param $epicorCustID
|
|
281: * @return array
|
|
282: */
|
|
|
|
Line 283 [match: epicor]:
|
|
281: * @return array
|
|
282: */
|
|
>> 283: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
284: {
|
|
285: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 293 [match: epicor]:
|
|
291: LEFT JOIN r.quest_Company c
|
|
292: LEFT JOIN r.quest_User u
|
|
>> 293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
295: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 295 [match: epicor]:
|
|
293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
>> 295: ->setParameter(":epicorCustID", $epicorCustID)
|
|
296: ->setParameter(":id", $id)
|
|
297: ->getOneOrNullResult();
|
|
|
|
Line 22 [match: Epicor]:
|
|
20:
|
|
21: /**
|
|
>> 22: * @param string $EpicorCustID
|
|
23: * @param int $QuestUserID
|
|
24: * @throws NonUniqueResultException
|
|
|
|
Line 27 [match: Epicor]:
|
|
25: * @return \App\Model\Entities\alloc_Request|null
|
|
26: */
|
|
>> 27: public function getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
29:
|
|
|
|
Line 37 [match: Epicor]:
|
|
35: INNER JOIN r.quest_Company qc
|
|
36: INNER JOIN r.quest_User qu
|
|
>> 37: WHERE qc.EpicorCustID = :epicorCustID
|
|
38: AND qu.ID = :questUserID
|
|
39: AND r.IsSubmitted = false
|
|
|
|
Line 42 [match: Epicor]:
|
|
40: AND r.IsCancelled <> true
|
|
41: ")
|
|
>> 42: ->setParameter('epicorCustID', $EpicorCustID)
|
|
43: ->setParameter('questUserID', $QuestUserID)
|
|
44: ->getOneOrNullResult();
|
|
|
|
Line 82 [match: Epicor]:
|
|
80: INNER JOIN r.quest_Company c
|
|
81: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 82: WHERE c.EpicorCustID = :epicorCustID
|
|
83: AND r.Plant = :plant
|
|
84: AND r.JobNum = :job
|
|
|
|
Line 86 [match: Epicor]:
|
|
84: AND r.JobNum = :job
|
|
85: AND r.IsCancelled = false")
|
|
>> 86: ->setParameter('epicorCustID', $CustID)
|
|
87: ->setParameter('plant', $Plant)
|
|
88: ->setParameter('job', $JobNum)
|
|
|
|
Line 94 [match: Epicor]:
|
|
92:
|
|
93: /**
|
|
>> 94: * @param string $EpicorCustID
|
|
95: * @param string $Plant
|
|
96: * @param string $PartNum
|
|
|
|
Line 102 [match: Epicor]:
|
|
100: * @return bool
|
|
101: */
|
|
>> 102: public function doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
103: {
|
|
104: $entity = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 108 [match: Epicor]:
|
|
106: INNER JOIN r.quest_Company c
|
|
107: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 108: WHERE c.EpicorCustID = :epicorCustID
|
|
109: AND r.Plant = :plant
|
|
110: AND rd.Part = :part
|
|
|
|
Line 115 [match: Epicor]:
|
|
113: AND rd.OnHandQuantity = :onHandQty
|
|
114: AND r.IsCancelled = false")
|
|
>> 115: ->setParameter('epicorCustID', $EpicorCustID)
|
|
116: ->setParameter('plant', $Plant)
|
|
117: ->setParameter('part', $PartNum)
|
|
|
|
Line 135 [match: Epicor]:
|
|
133:
|
|
134: /**
|
|
>> 135: * @param string $EpicorCustID
|
|
136: * @param string $Plant
|
|
137: * @param string $PartNum
|
|
|
|
Line 143 [match: Epicor]:
|
|
141: * @return int
|
|
142: */
|
|
>> 143: public function getNonCancelledAllocationRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
144: {
|
|
145: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 149 [match: Epicor]:
|
|
147: INNER JOIN r.quest_Company c
|
|
148: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 149: WHERE c.EpicorCustID = :epicorCustID
|
|
150: AND r.Plant = :plant
|
|
151: AND rd.Part = :part
|
|
|
|
Line 156 [match: Epicor]:
|
|
154: AND rd.OnHandQuantity = :onHandQty
|
|
155: AND r.IsCancelled = false")
|
|
>> 156: ->setParameter('epicorCustID', $EpicorCustID)
|
|
157: ->setParameter('plant', $Plant)
|
|
158: ->setParameter('part', $PartNum)
|
|
|
|
Line 169 [match: Epicor]:
|
|
167: * @param $AllocationId
|
|
168: * @param $QuestUserID
|
|
>> 169: * @param $EpicorCustID
|
|
170: * @return int|mixed|string|null
|
|
171: * @throws NonUniqueResultException
|
|
|
|
Line 173 [match: Epicor]:
|
|
171: * @throws NonUniqueResultException
|
|
172: */
|
|
>> 173: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestUserID, $EpicorCustID)
|
|
174: {
|
|
175: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
|
|
Line 182 [match: Epicor]:
|
|
180: AND qu.ID = :questUserID
|
|
181: AND r.IsSubmitted = true
|
|
>> 182: AND c.EpicorCustID = :epicorCustID")
|
|
183: ->setParameter('allocationId', $AllocationId)
|
|
184: ->setParameter('questUserID', $QuestUserID)
|
|
|
|
Line 185 [match: Epicor]:
|
|
183: ->setParameter('allocationId', $AllocationId)
|
|
184: ->setParameter('questUserID', $QuestUserID)
|
|
>> 185: ->setParameter('epicorCustID', $EpicorCustID)
|
|
186: ->getOneOrNullResult(Query::HYDRATE_SINGLE_SCALAR);
|
|
187: }
|
|
|
|
Line 241 [match: Epicor]:
|
|
239:
|
|
240: /**
|
|
>> 241: * @param $epicorCustID
|
|
242: * @return array
|
|
243: */
|
|
|
|
Line 244 [match: Epicor]:
|
|
242: * @return array
|
|
243: */
|
|
>> 244: public function getShipmentReleaseData($epicorCustID)
|
|
245: {
|
|
246: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
|
|
Line 251 [match: Epicor]:
|
|
249: LEFT JOIN r.quest_Company c
|
|
250: LEFT JOIN r.quest_User u
|
|
>> 251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
253: ->getArrayResult();
|
|
|
|
Line 252 [match: Epicor]:
|
|
250: LEFT JOIN r.quest_User u
|
|
251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
>> 252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
253: ->getArrayResult();
|
|
254:
|
|
|
|
Line 259 [match: Epicor]:
|
|
257:
|
|
258: /**
|
|
>> 259: * @param $epicorCustID
|
|
260: * @return array
|
|
261: */
|
|
|
|
Line 262 [match: Epicor]:
|
|
260: * @return array
|
|
261: */
|
|
>> 262: public function getAllocationRequestDetailsData($epicorCustID)
|
|
263: {
|
|
264: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 272 [match: Epicor]:
|
|
270: LEFT JOIN r.quest_Company c
|
|
271: LEFT JOIN r.quest_User u
|
|
>> 272: WHERE c.EpicorCustID = :epicorCustID")
|
|
273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
274: ->getArrayResult();
|
|
|
|
Line 273 [match: Epicor]:
|
|
271: LEFT JOIN r.quest_User u
|
|
272: WHERE c.EpicorCustID = :epicorCustID")
|
|
>> 273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
274: ->getArrayResult();
|
|
275:
|
|
|
|
Line 280 [match: Epicor]:
|
|
278:
|
|
279: /**
|
|
>> 280: * @param $epicorCustID
|
|
281: * @return array
|
|
282: */
|
|
|
|
Line 283 [match: Epicor]:
|
|
281: * @return array
|
|
282: */
|
|
>> 283: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
284: {
|
|
285: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 293 [match: Epicor]:
|
|
291: LEFT JOIN r.quest_Company c
|
|
292: LEFT JOIN r.quest_User u
|
|
>> 293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
295: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 295 [match: Epicor]:
|
|
293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
>> 295: ->setParameter(":epicorCustID", $epicorCustID)
|
|
296: ->setParameter(":id", $id)
|
|
297: ->getOneOrNullResult();
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20:
|
|
21: /**
|
|
>> 22: * @param string $EpicorCustID
|
|
23: * @param int $QuestUserID
|
|
24: * @throws NonUniqueResultException
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25: * @return \App\Model\Entities\alloc_Request|null
|
|
26: */
|
|
>> 27: public function getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
29:
|
|
|
|
Line 37 [match: EPICOR]:
|
|
35: INNER JOIN r.quest_Company qc
|
|
36: INNER JOIN r.quest_User qu
|
|
>> 37: WHERE qc.EpicorCustID = :epicorCustID
|
|
38: AND qu.ID = :questUserID
|
|
39: AND r.IsSubmitted = false
|
|
|
|
Line 42 [match: EPICOR]:
|
|
40: AND r.IsCancelled <> true
|
|
41: ")
|
|
>> 42: ->setParameter('epicorCustID', $EpicorCustID)
|
|
43: ->setParameter('questUserID', $QuestUserID)
|
|
44: ->getOneOrNullResult();
|
|
|
|
Line 82 [match: EPICOR]:
|
|
80: INNER JOIN r.quest_Company c
|
|
81: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 82: WHERE c.EpicorCustID = :epicorCustID
|
|
83: AND r.Plant = :plant
|
|
84: AND r.JobNum = :job
|
|
|
|
Line 86 [match: EPICOR]:
|
|
84: AND r.JobNum = :job
|
|
85: AND r.IsCancelled = false")
|
|
>> 86: ->setParameter('epicorCustID', $CustID)
|
|
87: ->setParameter('plant', $Plant)
|
|
88: ->setParameter('job', $JobNum)
|
|
|
|
Line 94 [match: EPICOR]:
|
|
92:
|
|
93: /**
|
|
>> 94: * @param string $EpicorCustID
|
|
95: * @param string $Plant
|
|
96: * @param string $PartNum
|
|
|
|
Line 102 [match: EPICOR]:
|
|
100: * @return bool
|
|
101: */
|
|
>> 102: public function doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
103: {
|
|
104: $entity = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 108 [match: EPICOR]:
|
|
106: INNER JOIN r.quest_Company c
|
|
107: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 108: WHERE c.EpicorCustID = :epicorCustID
|
|
109: AND r.Plant = :plant
|
|
110: AND rd.Part = :part
|
|
|
|
Line 115 [match: EPICOR]:
|
|
113: AND rd.OnHandQuantity = :onHandQty
|
|
114: AND r.IsCancelled = false")
|
|
>> 115: ->setParameter('epicorCustID', $EpicorCustID)
|
|
116: ->setParameter('plant', $Plant)
|
|
117: ->setParameter('part', $PartNum)
|
|
|
|
Line 135 [match: EPICOR]:
|
|
133:
|
|
134: /**
|
|
>> 135: * @param string $EpicorCustID
|
|
136: * @param string $Plant
|
|
137: * @param string $PartNum
|
|
|
|
Line 143 [match: EPICOR]:
|
|
141: * @return int
|
|
142: */
|
|
>> 143: public function getNonCancelledAllocationRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
144: {
|
|
145: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 149 [match: EPICOR]:
|
|
147: INNER JOIN r.quest_Company c
|
|
148: INNER JOIN r.alloc_RequestDetail rd
|
|
>> 149: WHERE c.EpicorCustID = :epicorCustID
|
|
150: AND r.Plant = :plant
|
|
151: AND rd.Part = :part
|
|
|
|
Line 156 [match: EPICOR]:
|
|
154: AND rd.OnHandQuantity = :onHandQty
|
|
155: AND r.IsCancelled = false")
|
|
>> 156: ->setParameter('epicorCustID', $EpicorCustID)
|
|
157: ->setParameter('plant', $Plant)
|
|
158: ->setParameter('part', $PartNum)
|
|
|
|
Line 169 [match: EPICOR]:
|
|
167: * @param $AllocationId
|
|
168: * @param $QuestUserID
|
|
>> 169: * @param $EpicorCustID
|
|
170: * @return int|mixed|string|null
|
|
171: * @throws NonUniqueResultException
|
|
|
|
Line 173 [match: EPICOR]:
|
|
171: * @throws NonUniqueResultException
|
|
172: */
|
|
>> 173: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($AllocationId, $QuestUserID, $EpicorCustID)
|
|
174: {
|
|
175: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
|
|
Line 182 [match: EPICOR]:
|
|
180: AND qu.ID = :questUserID
|
|
181: AND r.IsSubmitted = true
|
|
>> 182: AND c.EpicorCustID = :epicorCustID")
|
|
183: ->setParameter('allocationId', $AllocationId)
|
|
184: ->setParameter('questUserID', $QuestUserID)
|
|
|
|
Line 185 [match: EPICOR]:
|
|
183: ->setParameter('allocationId', $AllocationId)
|
|
184: ->setParameter('questUserID', $QuestUserID)
|
|
>> 185: ->setParameter('epicorCustID', $EpicorCustID)
|
|
186: ->getOneOrNullResult(Query::HYDRATE_SINGLE_SCALAR);
|
|
187: }
|
|
|
|
Line 241 [match: EPICOR]:
|
|
239:
|
|
240: /**
|
|
>> 241: * @param $epicorCustID
|
|
242: * @return array
|
|
243: */
|
|
|
|
Line 244 [match: EPICOR]:
|
|
242: * @return array
|
|
243: */
|
|
>> 244: public function getShipmentReleaseData($epicorCustID)
|
|
245: {
|
|
246: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
|
|
Line 251 [match: EPICOR]:
|
|
249: LEFT JOIN r.quest_Company c
|
|
250: LEFT JOIN r.quest_User u
|
|
>> 251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
253: ->getArrayResult();
|
|
|
|
Line 252 [match: EPICOR]:
|
|
250: LEFT JOIN r.quest_User u
|
|
251: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
>> 252: ->setParameter(":epicorCustID", $epicorCustID)
|
|
253: ->getArrayResult();
|
|
254:
|
|
|
|
Line 259 [match: EPICOR]:
|
|
257:
|
|
258: /**
|
|
>> 259: * @param $epicorCustID
|
|
260: * @return array
|
|
261: */
|
|
|
|
Line 262 [match: EPICOR]:
|
|
260: * @return array
|
|
261: */
|
|
>> 262: public function getAllocationRequestDetailsData($epicorCustID)
|
|
263: {
|
|
264: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 272 [match: EPICOR]:
|
|
270: LEFT JOIN r.quest_Company c
|
|
271: LEFT JOIN r.quest_User u
|
|
>> 272: WHERE c.EpicorCustID = :epicorCustID")
|
|
273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
274: ->getArrayResult();
|
|
|
|
Line 273 [match: EPICOR]:
|
|
271: LEFT JOIN r.quest_User u
|
|
272: WHERE c.EpicorCustID = :epicorCustID")
|
|
>> 273: ->setParameter(":epicorCustID", $epicorCustID)
|
|
274: ->getArrayResult();
|
|
275:
|
|
|
|
Line 280 [match: EPICOR]:
|
|
278:
|
|
279: /**
|
|
>> 280: * @param $epicorCustID
|
|
281: * @return array
|
|
282: */
|
|
|
|
Line 283 [match: EPICOR]:
|
|
281: * @return array
|
|
282: */
|
|
>> 283: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
284: {
|
|
285: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 293 [match: EPICOR]:
|
|
291: LEFT JOIN r.quest_Company c
|
|
292: LEFT JOIN r.quest_User u
|
|
>> 293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
295: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 295 [match: EPICOR]:
|
|
293: WHERE c.EpicorCustID = :epicorCustID
|
|
294: AND r.ID = :id")
|
|
>> 295: ->setParameter(":epicorCustID", $epicorCustID)
|
|
296: ->setParameter(":id", $id)
|
|
297: ->getOneOrNullResult();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\doc_Article.php
|
|
================================================================================
|
|
Line 25 [match: ->select(]:
|
|
23: $authUserId = auth()->user()->getId();
|
|
24:
|
|
>> 25: $results = $qb->select('doc_Article')
|
|
26: ->from($this->getEntityName(), 'doc_Article')
|
|
27: ->join('doc_Article.doc_Category', 'doc_Category')
|
|
|
|
Line 37 [match: getQuery()]:
|
|
35: ->addOrderBy('doc_Category.ID', 'asc')
|
|
36: ->addOrderBy('doc_Article.DisplayOrder', 'asc')
|
|
>> 37: ->getQuery()
|
|
38: ->execute([]);
|
|
39:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\doc_Category.php
|
|
================================================================================
|
|
Line 22 [match: ->select(]:
|
|
20: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
21:
|
|
>> 22: $results = $qb->select('doc_Category')
|
|
23: ->from($this->getEntityName(), 'doc_Category')
|
|
24: ->orderBy('doc_Category.CategoryName', 'asc')
|
|
|
|
Line 25 [match: getQuery()]:
|
|
23: ->from($this->getEntityName(), 'doc_Category')
|
|
24: ->orderBy('doc_Category.CategoryName', 'asc')
|
|
>> 25: ->getQuery()
|
|
26: ->execute([]);
|
|
27:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\epi_InvcHead.php
|
|
================================================================================
|
|
Line 29 [match: FROM ]:
|
|
27:
|
|
28: $res = $this->getEntityManager()->createQuery("SELECT invoice.InvoiceNum
|
|
>> 29: FROM ".$this->getEntityName()." invoice
|
|
30: WHERE invoice.InvoiceNum IN (:invoiceNumbers)")
|
|
31: ->setParameter('invoiceNumbers', $InvoiceNumbers)
|
|
|
|
Line 28 [match: SELECT ]:
|
|
26: return $InvoiceNumbers;
|
|
27:
|
|
>> 28: $res = $this->getEntityManager()->createQuery("SELECT invoice.InvoiceNum
|
|
29: FROM ".$this->getEntityName()." invoice
|
|
30: WHERE invoice.InvoiceNum IN (:invoiceNumbers)")
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\inv_Upload.php
|
|
================================================================================
|
|
Line 30 [match: FROM ]:
|
|
28:
|
|
29: $res = $this->getEntityManager()->createQuery("SELECT upload, uploadStatus, uploadEntry, company, invoice
|
|
>> 30: FROM ".$this->getEntityName()." upload
|
|
31: LEFT JOIN upload.inv_UploadStatus uploadStatus
|
|
32: LEFT JOIN upload.inv_UploadEntry uploadEntry
|
|
|
|
Line 29 [match: SELECT ]:
|
|
27: return null;
|
|
28:
|
|
>> 29: $res = $this->getEntityManager()->createQuery("SELECT upload, uploadStatus, uploadEntry, company, invoice
|
|
30: FROM ".$this->getEntityName()." upload
|
|
31: LEFT JOIN upload.inv_UploadStatus uploadStatus
|
|
|
|
Line 31 [match: LEFT JOIN]:
|
|
29: $res = $this->getEntityManager()->createQuery("SELECT upload, uploadStatus, uploadEntry, company, invoice
|
|
30: FROM ".$this->getEntityName()." upload
|
|
>> 31: LEFT JOIN upload.inv_UploadStatus uploadStatus
|
|
32: LEFT JOIN upload.inv_UploadEntry uploadEntry
|
|
33: LEFT JOIN uploadEntry.quest_Company company
|
|
|
|
Line 32 [match: LEFT JOIN]:
|
|
30: FROM ".$this->getEntityName()." upload
|
|
31: LEFT JOIN upload.inv_UploadStatus uploadStatus
|
|
>> 32: LEFT JOIN upload.inv_UploadEntry uploadEntry
|
|
33: LEFT JOIN uploadEntry.quest_Company company
|
|
34: LEFT JOIN uploadEntry.epi_InvcHead invoice
|
|
|
|
Line 33 [match: LEFT JOIN]:
|
|
31: LEFT JOIN upload.inv_UploadStatus uploadStatus
|
|
32: LEFT JOIN upload.inv_UploadEntry uploadEntry
|
|
>> 33: LEFT JOIN uploadEntry.quest_Company company
|
|
34: LEFT JOIN uploadEntry.epi_InvcHead invoice
|
|
35: WHERE upload.ID = :uploadID
|
|
|
|
Line 34 [match: LEFT JOIN]:
|
|
32: LEFT JOIN upload.inv_UploadEntry uploadEntry
|
|
33: LEFT JOIN uploadEntry.quest_Company company
|
|
>> 34: LEFT JOIN uploadEntry.epi_InvcHead invoice
|
|
35: WHERE upload.ID = :uploadID
|
|
36: ORDER BY uploadEntry.CustID, uploadEntry.InvoiceNumber")
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\inv_UploadEntry.php
|
|
================================================================================
|
|
Line 78 [match: ->select(]:
|
|
76: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
77:
|
|
>> 78: $results = $qb->select('inv_UploadEntry, inv_Upload')
|
|
79: ->from($this->getEntityName(), 'inv_UploadEntry')
|
|
80: ->join('inv_UploadEntry.quest_Company', 'quest_Company')
|
|
|
|
Line 28 [match: FROM ]:
|
|
26: {
|
|
27: $qry = $this->getEntityManager()->createQuery("SELECT entry, upload, uploadStatus, invoice
|
|
>> 28: FROM ".$this->getEntityName()." entry
|
|
29: INNER JOIN entry.inv_Upload upload
|
|
30: INNER JOIN upload.inv_UploadStatus uploadStatus
|
|
|
|
Line 47 [match: FROM ]:
|
|
45: {
|
|
46: $res = $this->getEntityManager()->createQuery("SELECT company.ID
|
|
>> 47: FROM ".$this->getEntityName()." entry
|
|
48: LEFT JOIN entry.quest_Company company
|
|
49: WHERE entry.ID = :entryID
|
|
|
|
Line 66 [match: FROM ]:
|
|
64:
|
|
65: $res = $this->getEntityManager()->createQuery("SELECT entry.InvoiceNumber
|
|
>> 66: FROM ".$this->getEntityName()." entry
|
|
67: WHERE entry.InvoiceNumber IN (:invoiceNumber)
|
|
68: AND entry.IsSent = true")
|
|
|
|
Line 27 [match: SELECT ]:
|
|
25: public function getInvoiceUploadEntryInfoIfExists($UploadEntryID, $MustBeSentForCompanyID = null)
|
|
26: {
|
|
>> 27: $qry = $this->getEntityManager()->createQuery("SELECT entry, upload, uploadStatus, invoice
|
|
28: FROM ".$this->getEntityName()." entry
|
|
29: INNER JOIN entry.inv_Upload upload
|
|
|
|
Line 46 [match: SELECT ]:
|
|
44: public function getCompanyIDForSentInvoiceUploadEntryIfExists($UploadEntryID)
|
|
45: {
|
|
>> 46: $res = $this->getEntityManager()->createQuery("SELECT company.ID
|
|
47: FROM ".$this->getEntityName()." entry
|
|
48: LEFT JOIN entry.quest_Company company
|
|
|
|
Line 65 [match: SELECT ]:
|
|
63: return [];
|
|
64:
|
|
>> 65: $res = $this->getEntityManager()->createQuery("SELECT entry.InvoiceNumber
|
|
66: FROM ".$this->getEntityName()." entry
|
|
67: WHERE entry.InvoiceNumber IN (:invoiceNumber)
|
|
|
|
Line 29 [match: INNER JOIN]:
|
|
27: $qry = $this->getEntityManager()->createQuery("SELECT entry, upload, uploadStatus, invoice
|
|
28: FROM ".$this->getEntityName()." entry
|
|
>> 29: INNER JOIN entry.inv_Upload upload
|
|
30: INNER JOIN upload.inv_UploadStatus uploadStatus
|
|
31: LEFT JOIN entry.epi_InvcHead invoice
|
|
|
|
Line 30 [match: INNER JOIN]:
|
|
28: FROM ".$this->getEntityName()." entry
|
|
29: INNER JOIN entry.inv_Upload upload
|
|
>> 30: INNER JOIN upload.inv_UploadStatus uploadStatus
|
|
31: LEFT JOIN entry.epi_InvcHead invoice
|
|
32: LEFT JOIN entry.quest_Company company
|
|
|
|
Line 31 [match: LEFT JOIN]:
|
|
29: INNER JOIN entry.inv_Upload upload
|
|
30: INNER JOIN upload.inv_UploadStatus uploadStatus
|
|
>> 31: LEFT JOIN entry.epi_InvcHead invoice
|
|
32: LEFT JOIN entry.quest_Company company
|
|
33: WHERE entry.ID = :entryID".(!is_null($MustBeSentForCompanyID) ? ' AND entry.IsSent = true AND company.ID = :companyID' : ''));
|
|
|
|
Line 32 [match: LEFT JOIN]:
|
|
30: INNER JOIN upload.inv_UploadStatus uploadStatus
|
|
31: LEFT JOIN entry.epi_InvcHead invoice
|
|
>> 32: LEFT JOIN entry.quest_Company company
|
|
33: WHERE entry.ID = :entryID".(!is_null($MustBeSentForCompanyID) ? ' AND entry.IsSent = true AND company.ID = :companyID' : ''));
|
|
34: $qry->setParameter('entryID', $UploadEntryID);
|
|
|
|
Line 48 [match: LEFT JOIN]:
|
|
46: $res = $this->getEntityManager()->createQuery("SELECT company.ID
|
|
47: FROM ".$this->getEntityName()." entry
|
|
>> 48: LEFT JOIN entry.quest_Company company
|
|
49: WHERE entry.ID = :entryID
|
|
50: AND entry.IsSent = true")
|
|
|
|
Line 82 [match: epicor]:
|
|
80: ->join('inv_UploadEntry.quest_Company', 'quest_Company')
|
|
81: ->join('inv_UploadEntry.inv_Upload', 'inv_Upload')
|
|
>> 82: ->where('quest_Company.EpicorCustID = :CustID')
|
|
83: ->setParameter(':CustID', $CustID)
|
|
84: ->getQuery()
|
|
|
|
Line 82 [match: Epicor]:
|
|
80: ->join('inv_UploadEntry.quest_Company', 'quest_Company')
|
|
81: ->join('inv_UploadEntry.inv_Upload', 'inv_Upload')
|
|
>> 82: ->where('quest_Company.EpicorCustID = :CustID')
|
|
83: ->setParameter(':CustID', $CustID)
|
|
84: ->getQuery()
|
|
|
|
Line 82 [match: EPICOR]:
|
|
80: ->join('inv_UploadEntry.quest_Company', 'quest_Company')
|
|
81: ->join('inv_UploadEntry.inv_Upload', 'inv_Upload')
|
|
>> 82: ->where('quest_Company.EpicorCustID = :CustID')
|
|
83: ->setParameter(':CustID', $CustID)
|
|
84: ->getQuery()
|
|
|
|
Line 84 [match: getQuery()]:
|
|
82: ->where('quest_Company.EpicorCustID = :CustID')
|
|
83: ->setParameter(':CustID', $CustID)
|
|
>> 84: ->getQuery()
|
|
85: ->execute([]);
|
|
86:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\lts_TaskSchedule.php
|
|
================================================================================
|
|
Line 22 [match: FROM ]:
|
|
20: {
|
|
21: $result = $this->getEntityManager()->createQuery('SELECT t
|
|
>> 22: FROM ' . $this->getEntityName() . ' t
|
|
23: WHERE t.lts_Task = :task AND t.DayOfWeek = :dow AND t.TimeOfDay = :timeOfDay AND t.IsMonthly = :isMonthly
|
|
24: AND t.OwnerID = :ownerID')
|
|
|
|
Line 21 [match: SELECT ]:
|
|
19: public function checkIfTaskExists($task, $dow, $time, $Owner, $OwnerID, $isMonthly = 0)
|
|
20: {
|
|
>> 21: $result = $this->getEntityManager()->createQuery('SELECT t
|
|
22: FROM ' . $this->getEntityName() . ' t
|
|
23: WHERE t.lts_Task = :task AND t.DayOfWeek = :dow AND t.TimeOfDay = :timeOfDay AND t.IsMonthly = :isMonthly
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\paint_Plant.php
|
|
================================================================================
|
|
Line 23 [match: ->select(]:
|
|
21: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
22:
|
|
>> 23: $results = $qb->select('paint_Plant')
|
|
24: ->from($this->getEntityName(), 'paint_Plant')
|
|
25: ->where('paint_Plant.Name = :name')
|
|
|
|
Line 27 [match: getQuery()]:
|
|
25: ->where('paint_Plant.Name = :name')
|
|
26: ->setParameter('name', $PlantName)
|
|
>> 27: ->getQuery()
|
|
28: ->execute([], Query::HYDRATE_OBJECT);
|
|
29:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\paint_Schedule.php
|
|
================================================================================
|
|
Line 26 [match: FROM ]:
|
|
24: {
|
|
25: $PlantLine = $this->getEntityManager()->createQuery("SELECT s.PlantLine
|
|
>> 26: FROM ".$this->getEntityName()." s
|
|
27: WHERE s.JobID = :JobID")
|
|
28: ->setParameter('JobID', $StartJob)
|
|
|
|
Line 32 [match: FROM ]:
|
|
30:
|
|
31: $StartTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
>> 32: FROM ".$this->getEntityName()." s
|
|
33: WHERE s.JobID = :JobID")
|
|
34: ->setParameter('JobID', $StartJob)
|
|
|
|
Line 38 [match: FROM ]:
|
|
36:
|
|
37: $EndTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
>> 38: FROM ".$this->getEntityName()." s
|
|
39: WHERE s.JobID = :JobID")
|
|
40: ->setParameter('JobID', $EndJob)
|
|
|
|
Line 45 [match: FROM ]:
|
|
43:
|
|
44: return $this->getEntityManager()->createQuery("SELECT s
|
|
>> 45: FROM ".$this->getEntityName()." s
|
|
46: WHERE s.PlantLine = :PlantLine AND s.StartTime >= :StartTime AND s.StartTime <= :EndTime
|
|
47: ORDER BY s.StartTime ASC")
|
|
|
|
Line 62 [match: FROM ]:
|
|
60: {
|
|
61: $PlantLine = $this->getEntityManager()->createQuery("SELECT s.PlantLine
|
|
>> 62: FROM ".$this->getEntityName()." s
|
|
63: WHERE s.JobID = :JobID")
|
|
64: ->setParameter('JobID', $StartJob)
|
|
|
|
Line 68 [match: FROM ]:
|
|
66:
|
|
67: $StartTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
>> 68: FROM ".$this->getEntityName()." s
|
|
69: WHERE s.JobID = :JobID")
|
|
70: ->setParameter('JobID', $StartJob)
|
|
|
|
Line 74 [match: FROM ]:
|
|
72:
|
|
73: $EndTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
>> 74: FROM ".$this->getEntityName()." s
|
|
75: WHERE s.JobID = :JobID")
|
|
76: ->setParameter('JobID', $EndJob)
|
|
|
|
Line 81 [match: FROM ]:
|
|
79:
|
|
80: return array_column($this->getEntityManager()->createQuery("SELECT s.JobID
|
|
>> 81: FROM ".$this->getEntityName()." s
|
|
82: WHERE s.PlantLine = :PlantLine AND s.StartTime >= :StartTime AND s.StartTime <= :EndTime AND s.JobID IS NOT NULL
|
|
83: ORDER BY s.StartTime ASC")
|
|
|
|
Line 104 [match: FROM ]:
|
|
102:
|
|
103: $results = $this->getEntityManager()->createQuery("SELECT s
|
|
>> 104: FROM ".$this->getEntityName()." s
|
|
105: WHERE s.PlantLine = :PlantLine AND s.StartTime >= :StartTime
|
|
106: ORDER BY s.StartTime, s.EstimatedRunTime ASC")
|
|
|
|
Line 178 [match: FROM ]:
|
|
176: {
|
|
177: $results = $this->getEntityManager()->createQuery("SELECT s
|
|
>> 178: FROM ".$this->getEntityName()." s
|
|
179: WHERE s.PlantLine = :PlantLine AND s.Complete = 0
|
|
180: ORDER BY s.StartTime ASC")
|
|
|
|
Line 221 [match: FROM ]:
|
|
219: {
|
|
220: return $this->getEntityManager()->createQuery("SELECT s
|
|
>> 221: FROM ".$this->getEntityName()." s
|
|
222: WHERE s.PlantLine = :PlantLine AND s.StartTime < :StartTime
|
|
223: ORDER BY s.StartTime DESC")
|
|
|
|
Line 25 [match: SELECT ]:
|
|
23: public function getJobsForCoverPage($StartJob, $EndJob)
|
|
24: {
|
|
>> 25: $PlantLine = $this->getEntityManager()->createQuery("SELECT s.PlantLine
|
|
26: FROM ".$this->getEntityName()." s
|
|
27: WHERE s.JobID = :JobID")
|
|
|
|
Line 31 [match: SELECT ]:
|
|
29: ->getSingleScalarResult();
|
|
30:
|
|
>> 31: $StartTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
32: FROM ".$this->getEntityName()." s
|
|
33: WHERE s.JobID = :JobID")
|
|
|
|
Line 37 [match: SELECT ]:
|
|
35: ->getSingleScalarResult();
|
|
36:
|
|
>> 37: $EndTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
38: FROM ".$this->getEntityName()." s
|
|
39: WHERE s.JobID = :JobID")
|
|
|
|
Line 44 [match: SELECT ]:
|
|
42:
|
|
43:
|
|
>> 44: return $this->getEntityManager()->createQuery("SELECT s
|
|
45: FROM ".$this->getEntityName()." s
|
|
46: WHERE s.PlantLine = :PlantLine AND s.StartTime >= :StartTime AND s.StartTime <= :EndTime
|
|
|
|
Line 61 [match: SELECT ]:
|
|
59: public function getJobTravelerJobIDsFromStartAndEndJob($StartJob, $EndJob)
|
|
60: {
|
|
>> 61: $PlantLine = $this->getEntityManager()->createQuery("SELECT s.PlantLine
|
|
62: FROM ".$this->getEntityName()." s
|
|
63: WHERE s.JobID = :JobID")
|
|
|
|
Line 67 [match: SELECT ]:
|
|
65: ->getSingleScalarResult();
|
|
66:
|
|
>> 67: $StartTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
68: FROM ".$this->getEntityName()." s
|
|
69: WHERE s.JobID = :JobID")
|
|
|
|
Line 73 [match: SELECT ]:
|
|
71: ->getSingleScalarResult();
|
|
72:
|
|
>> 73: $EndTime = $this->getEntityManager()->createQuery("SELECT s.StartTime
|
|
74: FROM ".$this->getEntityName()." s
|
|
75: WHERE s.JobID = :JobID")
|
|
|
|
Line 80 [match: SELECT ]:
|
|
78:
|
|
79:
|
|
>> 80: return array_column($this->getEntityManager()->createQuery("SELECT s.JobID
|
|
81: FROM ".$this->getEntityName()." s
|
|
82: WHERE s.PlantLine = :PlantLine AND s.StartTime >= :StartTime AND s.StartTime <= :EndTime AND s.JobID IS NOT NULL
|
|
|
|
Line 103 [match: SELECT ]:
|
|
101: }
|
|
102:
|
|
>> 103: $results = $this->getEntityManager()->createQuery("SELECT s
|
|
104: FROM ".$this->getEntityName()." s
|
|
105: WHERE s.PlantLine = :PlantLine AND s.StartTime >= :StartTime
|
|
|
|
Line 177 [match: SELECT ]:
|
|
175: public function getIncompletePaintSchedule($IDsToExclude, $PlantLine)
|
|
176: {
|
|
>> 177: $results = $this->getEntityManager()->createQuery("SELECT s
|
|
178: FROM ".$this->getEntityName()." s
|
|
179: WHERE s.PlantLine = :PlantLine AND s.Complete = 0
|
|
|
|
Line 220 [match: SELECT ]:
|
|
218: public function getPreviousStartDate($HoursAgo, $PlantLine)
|
|
219: {
|
|
>> 220: return $this->getEntityManager()->createQuery("SELECT s
|
|
221: FROM ".$this->getEntityName()." s
|
|
222: WHERE s.PlantLine = :PlantLine AND s.StartTime < :StartTime
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\quest_AccountRequest.php
|
|
================================================================================
|
|
Line 26 [match: FROM ]:
|
|
24: {
|
|
25: $res = $this->getEntityManager()->createQuery("SELECT r.RequestProcessed
|
|
>> 26: FROM ".$this->getEntityName()." r
|
|
27: WHERE r.ID = :rID")
|
|
28: ->setParameter('rID', $id)
|
|
|
|
Line 25 [match: SELECT ]:
|
|
23: public function hasRequestBeenProcessed($id)
|
|
24: {
|
|
>> 25: $res = $this->getEntityManager()->createQuery("SELECT r.RequestProcessed
|
|
26: FROM ".$this->getEntityName()." r
|
|
27: WHERE r.ID = :rID")
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\quest_Company.php
|
|
================================================================================
|
|
Line 41 [match: ->select(]:
|
|
39: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
40:
|
|
>> 41: $Results = $qb->select('c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label')
|
|
42: ->from('App\\Model\\Entities\\quest_User', 'u')
|
|
43: ->join('u.quest_Company', 'c')
|
|
|
|
Line 27 [match: FROM ]:
|
|
25: {
|
|
26: $results = $this->getEntityManager()->createQuery('SELECT c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label
|
|
>> 27: FROM App\\Model\\Entities\\quest_Company c')
|
|
28: ->getArrayResult();
|
|
29:
|
|
|
|
Line 59 [match: FROM ]:
|
|
57: {
|
|
58: try {
|
|
>> 59: // get epicor cust ID from the company table based on the passed in company ID
|
|
60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
|
|
Line 61 [match: FROM ]:
|
|
59: // get epicor cust ID from the company table based on the passed in company ID
|
|
60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
>> 61: FROM App\\Model\\Entities\\quest_Company c
|
|
62: WHERE c.ID = :companyID')
|
|
63: ->setParameter(':companyID', $companyID)
|
|
|
|
Line 79 [match: FROM ]:
|
|
77: {
|
|
78: $query = $this->getEntityManager()->createQuery("SELECT c
|
|
>> 79: FROM ".$this->getEntityName()." c
|
|
80: WHERE c.IsDeactivated = false");
|
|
81: $res = $query->getResult();
|
|
|
|
Line 101 [match: FROM ]:
|
|
99:
|
|
100: $res = $this->getEntityManager()->createQuery("SELECT c.ID, COUNT(u.ID) as UserCount
|
|
>> 101: FROM ".$this->getEntityName()." c
|
|
102: INNER JOIN c.quest_User u
|
|
103: WHERE c.ID IN (:ids)
|
|
|
|
Line 125 [match: FROM ]:
|
|
123:
|
|
124: $res = $this->getEntityManager()->createQuery("SELECT c.ID, COUNT(s.ID) as ShipmentCount
|
|
>> 125: FROM ".$this->getEntityName()." c
|
|
126: INNER JOIN c.ship_Request s
|
|
127: WHERE c.ID IN (:ids)
|
|
|
|
Line 149 [match: FROM ]:
|
|
147:
|
|
148: $res = $this->getEntityManager()->createQuery("SELECT c.ID, c.EpicorCustID
|
|
>> 149: FROM ".$this->getEntityName()." c
|
|
150: WHERE c.ID IN (:ids)")
|
|
151: ->setParameter('ids', $RecordIDs)
|
|
|
|
Line 158 [match: FROM ]:
|
|
156:
|
|
157: $res2 = $this->getEntityManager()->createQuery("SELECT tsp.ParameterValue, COUNT(tsp.ParameterValue) as ParameterCount
|
|
>> 158: FROM App\\Model\\Entities\\lts_TaskScheduleParameter tsp
|
|
159: WHERE tsp.ParameterValue IN (:keys)
|
|
160: AND tsp.ParameterKey = 'COMPANY'
|
|
|
|
Line 168 [match: FROM ]:
|
|
166:
|
|
167: $res3 = $this->getEntityManager()->createQuery("SELECT tshp.ParameterValue, COUNT(tshp.ParameterValue) as ParameterCount
|
|
>> 168: FROM App\\Model\\Entities\\lts_TaskScheduleHistoryParameter tshp
|
|
169: WHERE tshp.ParameterValue IN (:keys)
|
|
170: AND tshp.ParameterKey = 'COMPANY'
|
|
|
|
Line 192 [match: FROM ]:
|
|
190:
|
|
191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
>> 192: FROM ".$this->getEntityName()." company
|
|
193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
194: ->setParameter('custIDs', array_values($CustomerIDs))
|
|
|
|
Line 210 [match: FROM ]:
|
|
208:
|
|
209: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.calc_DisplayName, company.".$EmailField."
|
|
>> 210: FROM ".$this->getEntityName()." company
|
|
211: ORDER BY company.calc_DisplayName")
|
|
212: ->getArrayResult();
|
|
|
|
Line 226 [match: FROM ]:
|
|
224:
|
|
225: $res = $this->getEntityManager()->createQuery("SELECT company.EpicorCustID, company.".$EmailField."
|
|
>> 226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
228: return array_combine(array_column($res,'EpicorCustID'), array_column($res,$EmailField));
|
|
|
|
Line 26 [match: SELECT ]:
|
|
24: public function getAllCompanies()
|
|
25: {
|
|
>> 26: $results = $this->getEntityManager()->createQuery('SELECT c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label
|
|
27: FROM App\\Model\\Entities\\quest_Company c')
|
|
28: ->getArrayResult();
|
|
|
|
Line 60 [match: SELECT ]:
|
|
58: try {
|
|
59: // get epicor cust ID from the company table based on the passed in company ID
|
|
>> 60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
62: WHERE c.ID = :companyID')
|
|
|
|
Line 78 [match: SELECT ]:
|
|
76: public function getActiveCompaniesByEpicorCustID()
|
|
77: {
|
|
>> 78: $query = $this->getEntityManager()->createQuery("SELECT c
|
|
79: FROM ".$this->getEntityName()." c
|
|
80: WHERE c.IsDeactivated = false");
|
|
|
|
Line 100 [match: SELECT ]:
|
|
98: $Counts = array_combine($RecordIDs, array_fill(0, sizeof($RecordIDs), 0));
|
|
99:
|
|
>> 100: $res = $this->getEntityManager()->createQuery("SELECT c.ID, COUNT(u.ID) as UserCount
|
|
101: FROM ".$this->getEntityName()." c
|
|
102: INNER JOIN c.quest_User u
|
|
|
|
Line 124 [match: SELECT ]:
|
|
122: $Counts = array_combine($RecordIDs, array_fill(0, sizeof($RecordIDs), 0));
|
|
123:
|
|
>> 124: $res = $this->getEntityManager()->createQuery("SELECT c.ID, COUNT(s.ID) as ShipmentCount
|
|
125: FROM ".$this->getEntityName()." c
|
|
126: INNER JOIN c.ship_Request s
|
|
|
|
Line 148 [match: SELECT ]:
|
|
146: $Counts = array_combine($RecordIDs, array_fill(0, sizeof($RecordIDs), 0));
|
|
147:
|
|
>> 148: $res = $this->getEntityManager()->createQuery("SELECT c.ID, c.EpicorCustID
|
|
149: FROM ".$this->getEntityName()." c
|
|
150: WHERE c.ID IN (:ids)")
|
|
|
|
Line 157 [match: SELECT ]:
|
|
155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
156:
|
|
>> 157: $res2 = $this->getEntityManager()->createQuery("SELECT tsp.ParameterValue, COUNT(tsp.ParameterValue) as ParameterCount
|
|
158: FROM App\\Model\\Entities\\lts_TaskScheduleParameter tsp
|
|
159: WHERE tsp.ParameterValue IN (:keys)
|
|
|
|
Line 167 [match: SELECT ]:
|
|
165: $Counts[$EpicorCustIDsToID[$row2['ParameterValue']]] += $row2['ParameterCount'];
|
|
166:
|
|
>> 167: $res3 = $this->getEntityManager()->createQuery("SELECT tshp.ParameterValue, COUNT(tshp.ParameterValue) as ParameterCount
|
|
168: FROM App\\Model\\Entities\\lts_TaskScheduleHistoryParameter tshp
|
|
169: WHERE tshp.ParameterValue IN (:keys)
|
|
|
|
Line 191 [match: SELECT ]:
|
|
189: $CustomerIDs = array_unique($CustomerIDs);
|
|
190:
|
|
>> 191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
|
|
Line 209 [match: SELECT ]:
|
|
207: return [];
|
|
208:
|
|
>> 209: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.calc_DisplayName, company.".$EmailField."
|
|
210: FROM ".$this->getEntityName()." company
|
|
211: ORDER BY company.calc_DisplayName")
|
|
|
|
Line 225 [match: SELECT ]:
|
|
223: return [];
|
|
224:
|
|
>> 225: $res = $this->getEntityManager()->createQuery("SELECT company.EpicorCustID, company.".$EmailField."
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
|
|
Line 102 [match: INNER JOIN]:
|
|
100: $res = $this->getEntityManager()->createQuery("SELECT c.ID, COUNT(u.ID) as UserCount
|
|
101: FROM ".$this->getEntityName()." c
|
|
>> 102: INNER JOIN c.quest_User u
|
|
103: WHERE c.ID IN (:ids)
|
|
104: GROUP BY c.ID")
|
|
|
|
Line 126 [match: INNER JOIN]:
|
|
124: $res = $this->getEntityManager()->createQuery("SELECT c.ID, COUNT(s.ID) as ShipmentCount
|
|
125: FROM ".$this->getEntityName()." c
|
|
>> 126: INNER JOIN c.ship_Request s
|
|
127: WHERE c.ID IN (:ids)
|
|
128: GROUP BY c.ID")
|
|
|
|
Line 26 [match: epicor]:
|
|
24: public function getAllCompanies()
|
|
25: {
|
|
>> 26: $results = $this->getEntityManager()->createQuery('SELECT c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label
|
|
27: FROM App\\Model\\Entities\\quest_Company c')
|
|
28: ->getArrayResult();
|
|
|
|
Line 41 [match: epicor]:
|
|
39: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
40:
|
|
>> 41: $Results = $qb->select('c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label')
|
|
42: ->from('App\\Model\\Entities\\quest_User', 'u')
|
|
43: ->join('u.quest_Company', 'c')
|
|
|
|
Line 56 [match: epicor]:
|
|
54: * @return mixed|null
|
|
55: */
|
|
>> 56: public function getEpicorCustIDByCompanyID($companyID)
|
|
57: {
|
|
58: try {
|
|
|
|
Line 59 [match: epicor]:
|
|
57: {
|
|
58: try {
|
|
>> 59: // get epicor cust ID from the company table based on the passed in company ID
|
|
60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
|
|
Line 60 [match: epicor]:
|
|
58: try {
|
|
59: // get epicor cust ID from the company table based on the passed in company ID
|
|
>> 60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
62: WHERE c.ID = :companyID')
|
|
|
|
Line 70 [match: epicor]:
|
|
68: }
|
|
69:
|
|
>> 70: return $results["epicorCustID"];
|
|
71: }
|
|
72:
|
|
|
|
Line 76 [match: epicor]:
|
|
74: * @return \App\Model\Entities\quest_Company[]
|
|
75: */
|
|
>> 76: public function getActiveCompaniesByEpicorCustID()
|
|
77: {
|
|
78: $query = $this->getEntityManager()->createQuery("SELECT c
|
|
|
|
Line 85 [match: epicor]:
|
|
83: /** @var \App\Model\Entities\quest_Company $obj */
|
|
84: foreach($res as $obj)
|
|
>> 85: $ret[$obj->getEpicorCustID()] = $obj;
|
|
86: return $ret;
|
|
87: }
|
|
|
|
Line 148 [match: epicor]:
|
|
146: $Counts = array_combine($RecordIDs, array_fill(0, sizeof($RecordIDs), 0));
|
|
147:
|
|
>> 148: $res = $this->getEntityManager()->createQuery("SELECT c.ID, c.EpicorCustID
|
|
149: FROM ".$this->getEntityName()." c
|
|
150: WHERE c.ID IN (:ids)")
|
|
|
|
Line 153 [match: epicor]:
|
|
151: ->setParameter('ids', $RecordIDs)
|
|
152: ->getArrayResult();
|
|
>> 153: $EpicorCustIDsToID = [];
|
|
154: foreach($res as $row)
|
|
155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
|
|
Line 155 [match: epicor]:
|
|
153: $EpicorCustIDsToID = [];
|
|
154: foreach($res as $row)
|
|
>> 155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
156:
|
|
157: $res2 = $this->getEntityManager()->createQuery("SELECT tsp.ParameterValue, COUNT(tsp.ParameterValue) as ParameterCount
|
|
|
|
Line 162 [match: epicor]:
|
|
160: AND tsp.ParameterKey = 'COMPANY'
|
|
161: GROUP BY tsp.ParameterValue")
|
|
>> 162: ->setParameter(':keys', array_keys($EpicorCustIDsToID))
|
|
163: ->getArrayResult();
|
|
164: foreach($res2 as $row2)
|
|
|
|
Line 165 [match: epicor]:
|
|
163: ->getArrayResult();
|
|
164: foreach($res2 as $row2)
|
|
>> 165: $Counts[$EpicorCustIDsToID[$row2['ParameterValue']]] += $row2['ParameterCount'];
|
|
166:
|
|
167: $res3 = $this->getEntityManager()->createQuery("SELECT tshp.ParameterValue, COUNT(tshp.ParameterValue) as ParameterCount
|
|
|
|
Line 172 [match: epicor]:
|
|
170: AND tshp.ParameterKey = 'COMPANY'
|
|
171: GROUP BY tshp.ParameterValue")
|
|
>> 172: ->setParameter(':keys', array_keys($EpicorCustIDsToID))
|
|
173: ->getArrayResult();
|
|
174: foreach($res3 as $row3)
|
|
|
|
Line 175 [match: epicor]:
|
|
173: ->getArrayResult();
|
|
174: foreach($res3 as $row3)
|
|
>> 175: $Counts[$EpicorCustIDsToID[$row3['ParameterValue']]] += $row3['ParameterCount'];
|
|
176:
|
|
177: return $Counts;
|
|
|
|
Line 191 [match: epicor]:
|
|
189: $CustomerIDs = array_unique($CustomerIDs);
|
|
190:
|
|
>> 191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
|
|
Line 193 [match: epicor]:
|
|
191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
>> 193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
194: ->setParameter('custIDs', array_values($CustomerIDs))
|
|
195: ->getArrayResult();
|
|
|
|
Line 197 [match: epicor]:
|
|
195: ->getArrayResult();
|
|
196: $ret = array_combine($CustomerIDs, array_fill(0,sizeof($CustomerIDs),null));
|
|
>> 197: return array_replace($ret, array_combine(array_column($res,'EpicorCustID'),array_column($res,'ID')));
|
|
198: }
|
|
199:
|
|
|
|
Line 225 [match: epicor]:
|
|
223: return [];
|
|
224:
|
|
>> 225: $res = $this->getEntityManager()->createQuery("SELECT company.EpicorCustID, company.".$EmailField."
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
|
|
Line 228 [match: epicor]:
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
>> 228: return array_combine(array_column($res,'EpicorCustID'), array_column($res,$EmailField));
|
|
229: }
|
|
230: }
|
|
|
|
Line 26 [match: Epicor]:
|
|
24: public function getAllCompanies()
|
|
25: {
|
|
>> 26: $results = $this->getEntityManager()->createQuery('SELECT c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label
|
|
27: FROM App\\Model\\Entities\\quest_Company c')
|
|
28: ->getArrayResult();
|
|
|
|
Line 41 [match: Epicor]:
|
|
39: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
40:
|
|
>> 41: $Results = $qb->select('c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label')
|
|
42: ->from('App\\Model\\Entities\\quest_User', 'u')
|
|
43: ->join('u.quest_Company', 'c')
|
|
|
|
Line 56 [match: Epicor]:
|
|
54: * @return mixed|null
|
|
55: */
|
|
>> 56: public function getEpicorCustIDByCompanyID($companyID)
|
|
57: {
|
|
58: try {
|
|
|
|
Line 59 [match: Epicor]:
|
|
57: {
|
|
58: try {
|
|
>> 59: // get epicor cust ID from the company table based on the passed in company ID
|
|
60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
|
|
Line 60 [match: Epicor]:
|
|
58: try {
|
|
59: // get epicor cust ID from the company table based on the passed in company ID
|
|
>> 60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
62: WHERE c.ID = :companyID')
|
|
|
|
Line 70 [match: Epicor]:
|
|
68: }
|
|
69:
|
|
>> 70: return $results["epicorCustID"];
|
|
71: }
|
|
72:
|
|
|
|
Line 76 [match: Epicor]:
|
|
74: * @return \App\Model\Entities\quest_Company[]
|
|
75: */
|
|
>> 76: public function getActiveCompaniesByEpicorCustID()
|
|
77: {
|
|
78: $query = $this->getEntityManager()->createQuery("SELECT c
|
|
|
|
Line 85 [match: Epicor]:
|
|
83: /** @var \App\Model\Entities\quest_Company $obj */
|
|
84: foreach($res as $obj)
|
|
>> 85: $ret[$obj->getEpicorCustID()] = $obj;
|
|
86: return $ret;
|
|
87: }
|
|
|
|
Line 148 [match: Epicor]:
|
|
146: $Counts = array_combine($RecordIDs, array_fill(0, sizeof($RecordIDs), 0));
|
|
147:
|
|
>> 148: $res = $this->getEntityManager()->createQuery("SELECT c.ID, c.EpicorCustID
|
|
149: FROM ".$this->getEntityName()." c
|
|
150: WHERE c.ID IN (:ids)")
|
|
|
|
Line 153 [match: Epicor]:
|
|
151: ->setParameter('ids', $RecordIDs)
|
|
152: ->getArrayResult();
|
|
>> 153: $EpicorCustIDsToID = [];
|
|
154: foreach($res as $row)
|
|
155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
|
|
Line 155 [match: Epicor]:
|
|
153: $EpicorCustIDsToID = [];
|
|
154: foreach($res as $row)
|
|
>> 155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
156:
|
|
157: $res2 = $this->getEntityManager()->createQuery("SELECT tsp.ParameterValue, COUNT(tsp.ParameterValue) as ParameterCount
|
|
|
|
Line 162 [match: Epicor]:
|
|
160: AND tsp.ParameterKey = 'COMPANY'
|
|
161: GROUP BY tsp.ParameterValue")
|
|
>> 162: ->setParameter(':keys', array_keys($EpicorCustIDsToID))
|
|
163: ->getArrayResult();
|
|
164: foreach($res2 as $row2)
|
|
|
|
Line 165 [match: Epicor]:
|
|
163: ->getArrayResult();
|
|
164: foreach($res2 as $row2)
|
|
>> 165: $Counts[$EpicorCustIDsToID[$row2['ParameterValue']]] += $row2['ParameterCount'];
|
|
166:
|
|
167: $res3 = $this->getEntityManager()->createQuery("SELECT tshp.ParameterValue, COUNT(tshp.ParameterValue) as ParameterCount
|
|
|
|
Line 172 [match: Epicor]:
|
|
170: AND tshp.ParameterKey = 'COMPANY'
|
|
171: GROUP BY tshp.ParameterValue")
|
|
>> 172: ->setParameter(':keys', array_keys($EpicorCustIDsToID))
|
|
173: ->getArrayResult();
|
|
174: foreach($res3 as $row3)
|
|
|
|
Line 175 [match: Epicor]:
|
|
173: ->getArrayResult();
|
|
174: foreach($res3 as $row3)
|
|
>> 175: $Counts[$EpicorCustIDsToID[$row3['ParameterValue']]] += $row3['ParameterCount'];
|
|
176:
|
|
177: return $Counts;
|
|
|
|
Line 191 [match: Epicor]:
|
|
189: $CustomerIDs = array_unique($CustomerIDs);
|
|
190:
|
|
>> 191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
|
|
Line 193 [match: Epicor]:
|
|
191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
>> 193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
194: ->setParameter('custIDs', array_values($CustomerIDs))
|
|
195: ->getArrayResult();
|
|
|
|
Line 197 [match: Epicor]:
|
|
195: ->getArrayResult();
|
|
196: $ret = array_combine($CustomerIDs, array_fill(0,sizeof($CustomerIDs),null));
|
|
>> 197: return array_replace($ret, array_combine(array_column($res,'EpicorCustID'),array_column($res,'ID')));
|
|
198: }
|
|
199:
|
|
|
|
Line 225 [match: Epicor]:
|
|
223: return [];
|
|
224:
|
|
>> 225: $res = $this->getEntityManager()->createQuery("SELECT company.EpicorCustID, company.".$EmailField."
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
|
|
Line 228 [match: Epicor]:
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
>> 228: return array_combine(array_column($res,'EpicorCustID'), array_column($res,$EmailField));
|
|
229: }
|
|
230: }
|
|
|
|
Line 26 [match: EPICOR]:
|
|
24: public function getAllCompanies()
|
|
25: {
|
|
>> 26: $results = $this->getEntityManager()->createQuery('SELECT c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label
|
|
27: FROM App\\Model\\Entities\\quest_Company c')
|
|
28: ->getArrayResult();
|
|
|
|
Line 41 [match: EPICOR]:
|
|
39: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
40:
|
|
>> 41: $Results = $qb->select('c.ID as id, c.EpicorCustID AS value, c.calc_DisplayName AS label')
|
|
42: ->from('App\\Model\\Entities\\quest_User', 'u')
|
|
43: ->join('u.quest_Company', 'c')
|
|
|
|
Line 56 [match: EPICOR]:
|
|
54: * @return mixed|null
|
|
55: */
|
|
>> 56: public function getEpicorCustIDByCompanyID($companyID)
|
|
57: {
|
|
58: try {
|
|
|
|
Line 59 [match: EPICOR]:
|
|
57: {
|
|
58: try {
|
|
>> 59: // get epicor cust ID from the company table based on the passed in company ID
|
|
60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
|
|
Line 60 [match: EPICOR]:
|
|
58: try {
|
|
59: // get epicor cust ID from the company table based on the passed in company ID
|
|
>> 60: $results = $this->getEntityManager()->createQuery('SELECT c.ID AS id, c.EpicorCustID AS epicorCustID
|
|
61: FROM App\\Model\\Entities\\quest_Company c
|
|
62: WHERE c.ID = :companyID')
|
|
|
|
Line 70 [match: EPICOR]:
|
|
68: }
|
|
69:
|
|
>> 70: return $results["epicorCustID"];
|
|
71: }
|
|
72:
|
|
|
|
Line 76 [match: EPICOR]:
|
|
74: * @return \App\Model\Entities\quest_Company[]
|
|
75: */
|
|
>> 76: public function getActiveCompaniesByEpicorCustID()
|
|
77: {
|
|
78: $query = $this->getEntityManager()->createQuery("SELECT c
|
|
|
|
Line 85 [match: EPICOR]:
|
|
83: /** @var \App\Model\Entities\quest_Company $obj */
|
|
84: foreach($res as $obj)
|
|
>> 85: $ret[$obj->getEpicorCustID()] = $obj;
|
|
86: return $ret;
|
|
87: }
|
|
|
|
Line 148 [match: EPICOR]:
|
|
146: $Counts = array_combine($RecordIDs, array_fill(0, sizeof($RecordIDs), 0));
|
|
147:
|
|
>> 148: $res = $this->getEntityManager()->createQuery("SELECT c.ID, c.EpicorCustID
|
|
149: FROM ".$this->getEntityName()." c
|
|
150: WHERE c.ID IN (:ids)")
|
|
|
|
Line 153 [match: EPICOR]:
|
|
151: ->setParameter('ids', $RecordIDs)
|
|
152: ->getArrayResult();
|
|
>> 153: $EpicorCustIDsToID = [];
|
|
154: foreach($res as $row)
|
|
155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
|
|
Line 155 [match: EPICOR]:
|
|
153: $EpicorCustIDsToID = [];
|
|
154: foreach($res as $row)
|
|
>> 155: $EpicorCustIDsToID[$row['EpicorCustID']] = $row['ID'];
|
|
156:
|
|
157: $res2 = $this->getEntityManager()->createQuery("SELECT tsp.ParameterValue, COUNT(tsp.ParameterValue) as ParameterCount
|
|
|
|
Line 162 [match: EPICOR]:
|
|
160: AND tsp.ParameterKey = 'COMPANY'
|
|
161: GROUP BY tsp.ParameterValue")
|
|
>> 162: ->setParameter(':keys', array_keys($EpicorCustIDsToID))
|
|
163: ->getArrayResult();
|
|
164: foreach($res2 as $row2)
|
|
|
|
Line 165 [match: EPICOR]:
|
|
163: ->getArrayResult();
|
|
164: foreach($res2 as $row2)
|
|
>> 165: $Counts[$EpicorCustIDsToID[$row2['ParameterValue']]] += $row2['ParameterCount'];
|
|
166:
|
|
167: $res3 = $this->getEntityManager()->createQuery("SELECT tshp.ParameterValue, COUNT(tshp.ParameterValue) as ParameterCount
|
|
|
|
Line 172 [match: EPICOR]:
|
|
170: AND tshp.ParameterKey = 'COMPANY'
|
|
171: GROUP BY tshp.ParameterValue")
|
|
>> 172: ->setParameter(':keys', array_keys($EpicorCustIDsToID))
|
|
173: ->getArrayResult();
|
|
174: foreach($res3 as $row3)
|
|
|
|
Line 175 [match: EPICOR]:
|
|
173: ->getArrayResult();
|
|
174: foreach($res3 as $row3)
|
|
>> 175: $Counts[$EpicorCustIDsToID[$row3['ParameterValue']]] += $row3['ParameterCount'];
|
|
176:
|
|
177: return $Counts;
|
|
|
|
Line 191 [match: EPICOR]:
|
|
189: $CustomerIDs = array_unique($CustomerIDs);
|
|
190:
|
|
>> 191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
|
|
Line 193 [match: EPICOR]:
|
|
191: $res = $this->getEntityManager()->createQuery("SELECT company.ID, company.EpicorCustID
|
|
192: FROM ".$this->getEntityName()." company
|
|
>> 193: WHERE company.EpicorCustID IN (:custIDs)")
|
|
194: ->setParameter('custIDs', array_values($CustomerIDs))
|
|
195: ->getArrayResult();
|
|
|
|
Line 197 [match: EPICOR]:
|
|
195: ->getArrayResult();
|
|
196: $ret = array_combine($CustomerIDs, array_fill(0,sizeof($CustomerIDs),null));
|
|
>> 197: return array_replace($ret, array_combine(array_column($res,'EpicorCustID'),array_column($res,'ID')));
|
|
198: }
|
|
199:
|
|
|
|
Line 225 [match: EPICOR]:
|
|
223: return [];
|
|
224:
|
|
>> 225: $res = $this->getEntityManager()->createQuery("SELECT company.EpicorCustID, company.".$EmailField."
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
|
|
Line 228 [match: EPICOR]:
|
|
226: FROM ".$this->getEntityName()." company")
|
|
227: ->getArrayResult();
|
|
>> 228: return array_combine(array_column($res,'EpicorCustID'), array_column($res,$EmailField));
|
|
229: }
|
|
230: }
|
|
|
|
Line 46 [match: getQuery()]:
|
|
44: ->where('u.ID = :id')
|
|
45: ->setParameter('id', $UserID)
|
|
>> 46: ->getQuery()
|
|
47: ->getArrayResult();
|
|
48:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\quest_EmailEvent.php
|
|
================================================================================
|
|
Line 28 [match: ->select(]:
|
|
26: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
27:
|
|
>> 28: $results = $qb->select('auth_User.Email')
|
|
29: ->from($this->getEntityName(), 'quest_EmailEvent')
|
|
30: ->join('quest_EmailEvent.quest_User', 'quest_User')
|
|
|
|
Line 59 [match: ->select(]:
|
|
57: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
58:
|
|
>> 59: $results = $qb->select('auth_User.Email')
|
|
60: ->from($this->getEntityName(), 'quest_EmailEvent')
|
|
61: ->join('quest_EmailEvent.quest_User', 'quest_User')
|
|
|
|
Line 146 [match: ->select(]:
|
|
144: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
145:
|
|
>> 146: $Results = $qb->select('au.Email')
|
|
147: ->from($this->getEntityName(), 'ee')
|
|
148: ->join('ee.quest_User', 'qu')
|
|
|
|
Line 101 [match: FROM ]:
|
|
99: echo $this
|
|
100: ->getEntityManager()
|
|
>> 101: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('COIL_ALLOCATION_REQUEST_COPY_CUSTOMER', 'COIL_ALLOCATION_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
102: ->execute();
|
|
103: }
|
|
|
|
Line 116 [match: FROM ]:
|
|
114: $this
|
|
115: ->getEntityManager()
|
|
>> 116: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('SHIPMENT_REQUEST_COPY_CUSTOMER', 'SHIPMENT_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
117: ->execute();
|
|
118: }
|
|
|
|
Line 101 [match: SELECT ]:
|
|
99: echo $this
|
|
100: ->getEntityManager()
|
|
>> 101: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('COIL_ALLOCATION_REQUEST_COPY_CUSTOMER', 'COIL_ALLOCATION_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
102: ->execute();
|
|
103: }
|
|
|
|
Line 116 [match: SELECT ]:
|
|
114: $this
|
|
115: ->getEntityManager()
|
|
>> 116: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('SHIPMENT_REQUEST_COPY_CUSTOMER', 'SHIPMENT_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
117: ->execute();
|
|
118: }
|
|
|
|
Line 131 [match: INSERT INTO]:
|
|
129: $this
|
|
130: ->getEntityManager()
|
|
>> 131: ->createNativeQuery("INSERT INTO quest_UserEmailEvent (quest_User_ID, quest_EmailEvent_ID) VALUES (:UserId, :EventId)", $rsm)
|
|
132: ->setParameter('UserId', $UserId)
|
|
133: ->setParameter('EventId', $EmailEvent)
|
|
|
|
Line 101 [match: INNER JOIN]:
|
|
99: echo $this
|
|
100: ->getEntityManager()
|
|
>> 101: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('COIL_ALLOCATION_REQUEST_COPY_CUSTOMER', 'COIL_ALLOCATION_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
102: ->execute();
|
|
103: }
|
|
|
|
Line 116 [match: INNER JOIN]:
|
|
114: $this
|
|
115: ->getEntityManager()
|
|
>> 116: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('SHIPMENT_REQUEST_COPY_CUSTOMER', 'SHIPMENT_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
117: ->execute();
|
|
118: }
|
|
|
|
Line 101 [match: epicor]:
|
|
99: echo $this
|
|
100: ->getEntityManager()
|
|
>> 101: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('COIL_ALLOCATION_REQUEST_COPY_CUSTOMER', 'COIL_ALLOCATION_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
102: ->execute();
|
|
103: }
|
|
|
|
Line 116 [match: epicor]:
|
|
114: $this
|
|
115: ->getEntityManager()
|
|
>> 116: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('SHIPMENT_REQUEST_COPY_CUSTOMER', 'SHIPMENT_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
117: ->execute();
|
|
118: }
|
|
|
|
Line 101 [match: Epicor]:
|
|
99: echo $this
|
|
100: ->getEntityManager()
|
|
>> 101: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('COIL_ALLOCATION_REQUEST_COPY_CUSTOMER', 'COIL_ALLOCATION_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
102: ->execute();
|
|
103: }
|
|
|
|
Line 116 [match: Epicor]:
|
|
114: $this
|
|
115: ->getEntityManager()
|
|
>> 116: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('SHIPMENT_REQUEST_COPY_CUSTOMER', 'SHIPMENT_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
117: ->execute();
|
|
118: }
|
|
|
|
Line 101 [match: EPICOR]:
|
|
99: echo $this
|
|
100: ->getEntityManager()
|
|
>> 101: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('COIL_ALLOCATION_REQUEST_COPY_CUSTOMER', 'COIL_ALLOCATION_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
102: ->execute();
|
|
103: }
|
|
|
|
Line 116 [match: EPICOR]:
|
|
114: $this
|
|
115: ->getEntityManager()
|
|
>> 116: ->createNativeQuery("DELETE quest_UserEmailEvent FROM quest_UserEmailEvent INNER JOIN quest_EmailEvent ON quest_EmailEvent.ID = quest_UserEmailEvent.quest_EmailEvent_ID WHERE quest_EmailEvent.CodingKey IN ('SHIPMENT_REQUEST_COPY_CUSTOMER', 'SHIPMENT_REQUEST_CANCELLATION_CUSTOMER') AND quest_User_ID IN (SELECT quest_User_ID FROM quest_UserCompany WHERE quest_Company_ID IN (SELECT ID from quest_Company WHERE EpicorCustID = '" . $CompanyID . "'))", $rsm)
|
|
117: ->execute();
|
|
118: }
|
|
|
|
Line 40 [match: getQuery()]:
|
|
38: ->setParameter('plantIDs', $PlantIDs);
|
|
39:
|
|
>> 40: $sql = $results->getQuery()->getSQL();
|
|
41:
|
|
42: $results = $results->getQuery()
|
|
|
|
Line 42 [match: getQuery()]:
|
|
40: $sql = $results->getQuery()->getSQL();
|
|
41:
|
|
>> 42: $results = $results->getQuery()
|
|
43: ->getArrayResult();
|
|
44:
|
|
|
|
Line 87 [match: getQuery()]:
|
|
85: }
|
|
86:
|
|
>> 87: $sql = $results->getQuery()->getSQL();
|
|
88:
|
|
89: $results = $results->getQuery()
|
|
|
|
Line 89 [match: getQuery()]:
|
|
87: $sql = $results->getQuery()->getSQL();
|
|
88:
|
|
>> 89: $results = $results->getQuery()
|
|
90: ->getArrayResult();
|
|
91:
|
|
|
|
Line 156 [match: getQuery()]:
|
|
154: ->setParameter('ee', $EventID)
|
|
155: ->setParameter('qc', $CompanyID)
|
|
>> 156: ->getQuery()
|
|
157: ->getArrayResult();
|
|
158:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\quest_Notification.php
|
|
================================================================================
|
|
Line 26 [match: FROM ]:
|
|
24: {
|
|
25: return $this->getEntityManager()->createQuery("SELECT n
|
|
>> 26: FROM ".$this->getEntityName()." n
|
|
27: WHERE n.NotificationDate <= :now
|
|
28: AND (n.NotificationDate < :now OR n.NotificationTime IS NULL OR n.NotificationTime <= :now)
|
|
|
|
Line 41 [match: FROM ]:
|
|
39: {
|
|
40: return $this->getEntityManager()->createQuery("SELECT n
|
|
>> 41: FROM ".$this->getEntityName()." n
|
|
42: LEFT JOIN n.quest_UserNotificationAlertRead unr WITH unr.quest_User = :questUserID
|
|
43: WHERE unr.ID IS NULL
|
|
|
|
Line 25 [match: SELECT ]:
|
|
23: public function getMostRecent5ActiveNotifications()
|
|
24: {
|
|
>> 25: return $this->getEntityManager()->createQuery("SELECT n
|
|
26: FROM ".$this->getEntityName()." n
|
|
27: WHERE n.NotificationDate <= :now
|
|
|
|
Line 40 [match: SELECT ]:
|
|
38: public function getAllActiveNotificationsForQuestUserThatAreAlertsThatHaventBeenSent($QuestUserID)
|
|
39: {
|
|
>> 40: return $this->getEntityManager()->createQuery("SELECT n
|
|
41: FROM ".$this->getEntityName()." n
|
|
42: LEFT JOIN n.quest_UserNotificationAlertRead unr WITH unr.quest_User = :questUserID
|
|
|
|
Line 42 [match: LEFT JOIN]:
|
|
40: return $this->getEntityManager()->createQuery("SELECT n
|
|
41: FROM ".$this->getEntityName()." n
|
|
>> 42: LEFT JOIN n.quest_UserNotificationAlertRead unr WITH unr.quest_User = :questUserID
|
|
43: WHERE unr.ID IS NULL
|
|
44: AND n.IsAlert = true
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\quest_ProcessedOrderAcknowledgementEmail.php
|
|
================================================================================
|
|
Line 28 [match: ->select(]:
|
|
26: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
27:
|
|
>> 28: $mostRecentOrderDate = $qb->select($qb->expr()->max('quest_ProcessedOrderAcknowledgementEmail.OrderDate'))
|
|
29: ->from($this->getEntityName(), 'quest_ProcessedOrderAcknowledgementEmail')
|
|
30: ->where('quest_ProcessedOrderAcknowledgementEmail.CustomerID = :CustomerID')
|
|
|
|
Line 47 [match: ->select(]:
|
|
45: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
46:
|
|
>> 47: return array_column($qb->select('quest_ProcessedOrderAcknowledgementEmail.OrderNumber')
|
|
48: ->from($this->getEntityName(), 'quest_ProcessedOrderAcknowledgementEmail')
|
|
49: ->where('quest_ProcessedOrderAcknowledgementEmail.CustomerID = :CustomerID')
|
|
|
|
Line 32 [match: getQuery()]:
|
|
30: ->where('quest_ProcessedOrderAcknowledgementEmail.CustomerID = :CustomerID')
|
|
31: ->setParameter('CustomerID', $customerID)
|
|
>> 32: ->getQuery()
|
|
33: ->getSingleScalarResult();
|
|
34:
|
|
|
|
Line 53 [match: getQuery()]:
|
|
51: ->setParameter('CustomerID', $customerID)
|
|
52: ->setParameter('OrderDate', $date)
|
|
>> 53: ->getQuery()
|
|
54: ->getArrayResult(), 'OrderNumber');
|
|
55: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\quest_User.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25: {
|
|
26: return $this->getEntityManager()->createQuery("SELECT u, c
|
|
>> 27: FROM ".$this->getEntityName()." u
|
|
28: LEFT JOIN u.quest_Company c
|
|
29: INNER JOIN u.auth_User a
|
|
|
|
Line 42 [match: FROM ]:
|
|
40: {
|
|
41: return $this->getEntityManager()->createQuery("SELECT u, c
|
|
>> 42: FROM ".$this->getEntityName()." u
|
|
43: LEFT JOIN u.quest_Company c
|
|
44: WHERE u.ID = :userID")
|
|
|
|
Line 59 [match: FROM ]:
|
|
57:
|
|
58: return ($this->getEntityManager()->createQuery("SELECT COUNT(u)
|
|
>> 59: FROM ".$this->getEntityName()." u
|
|
60: INNER JOIN u.auth_User a
|
|
61: WHERE a.HasBeenDeactivated = false
|
|
|
|
Line 74 [match: FROM ]:
|
|
72: {
|
|
73: return array_column($this->getEntityManager()->createQuery("SELECT c.ID
|
|
>> 74: FROM ".$this->getEntityName()." u
|
|
75: INNER JOIN u.quest_Company c
|
|
76: WHERE u.ID = :userID")
|
|
|
|
Line 87 [match: FROM ]:
|
|
85: {
|
|
86: $res = $this->getEntityManager()->createQuery("SELECT u.ID, u.FirstName, u.LastName
|
|
>> 87: FROM ".$this->getEntityName()." u
|
|
88: INNER JOIN u.auth_User a
|
|
89: WHERE a.HasBeenDeactivated = false")
|
|
|
|
Line 105 [match: FROM ]:
|
|
103: {
|
|
104: $results = $this->getEntityManager()->createQuery('SELECT q, a
|
|
>> 105: FROM App\\Model\\Entities\\quest_User q
|
|
106: INNER JOIN q.auth_User a
|
|
107: WHERE a.Email = :email')
|
|
|
|
Line 122 [match: FROM ]:
|
|
120: {
|
|
121: $results = $this->getEntityManager()->createQuery('SELECT q, a
|
|
>> 122: FROM App\\Model\\Entities\\quest_User q
|
|
123: INNER JOIN q.auth_User a
|
|
124: WHERE q.APIAuthToken = :token
|
|
|
|
Line 26 [match: SELECT ]:
|
|
24: public function getQuestUserForAuthUserWithDirectAssignedCompanies($AuthUserID)
|
|
25: {
|
|
>> 26: return $this->getEntityManager()->createQuery("SELECT u, c
|
|
27: FROM ".$this->getEntityName()." u
|
|
28: LEFT JOIN u.quest_Company c
|
|
|
|
Line 41 [match: SELECT ]:
|
|
39: public function getQuestUserWithAllCompanyInformation($QuestUserID)
|
|
40: {
|
|
>> 41: return $this->getEntityManager()->createQuery("SELECT u, c
|
|
42: FROM ".$this->getEntityName()." u
|
|
43: LEFT JOIN u.quest_Company c
|
|
|
|
Line 58 [match: SELECT ]:
|
|
56: return false;
|
|
57:
|
|
>> 58: return ($this->getEntityManager()->createQuery("SELECT COUNT(u)
|
|
59: FROM ".$this->getEntityName()." u
|
|
60: INNER JOIN u.auth_User a
|
|
|
|
Line 73 [match: SELECT ]:
|
|
71: public function getCompanyIDsQuestUserIsAssociatedWith($QuestUserID)
|
|
72: {
|
|
>> 73: return array_column($this->getEntityManager()->createQuery("SELECT c.ID
|
|
74: FROM ".$this->getEntityName()." u
|
|
75: INNER JOIN u.quest_Company c
|
|
|
|
Line 86 [match: SELECT ]:
|
|
84: public function getAllActiveQuestUserInfoByID()
|
|
85: {
|
|
>> 86: $res = $this->getEntityManager()->createQuery("SELECT u.ID, u.FirstName, u.LastName
|
|
87: FROM ".$this->getEntityName()." u
|
|
88: INNER JOIN u.auth_User a
|
|
|
|
Line 104 [match: SELECT ]:
|
|
102: public function getQuestUserByEmailAddress($email)
|
|
103: {
|
|
>> 104: $results = $this->getEntityManager()->createQuery('SELECT q, a
|
|
105: FROM App\\Model\\Entities\\quest_User q
|
|
106: INNER JOIN q.auth_User a
|
|
|
|
Line 121 [match: SELECT ]:
|
|
119: public function getQuestUserByNonExpiredBearerToken($token)
|
|
120: {
|
|
>> 121: $results = $this->getEntityManager()->createQuery('SELECT q, a
|
|
122: FROM App\\Model\\Entities\\quest_User q
|
|
123: INNER JOIN q.auth_User a
|
|
|
|
Line 29 [match: INNER JOIN]:
|
|
27: FROM ".$this->getEntityName()." u
|
|
28: LEFT JOIN u.quest_Company c
|
|
>> 29: INNER JOIN u.auth_User a
|
|
30: WHERE a.ID = :userID")
|
|
31: ->setParameter('userID', $AuthUserID)
|
|
|
|
Line 60 [match: INNER JOIN]:
|
|
58: return ($this->getEntityManager()->createQuery("SELECT COUNT(u)
|
|
59: FROM ".$this->getEntityName()." u
|
|
>> 60: INNER JOIN u.auth_User a
|
|
61: WHERE a.HasBeenDeactivated = false
|
|
62: AND u.ID = :id")
|
|
|
|
Line 75 [match: INNER JOIN]:
|
|
73: return array_column($this->getEntityManager()->createQuery("SELECT c.ID
|
|
74: FROM ".$this->getEntityName()." u
|
|
>> 75: INNER JOIN u.quest_Company c
|
|
76: WHERE u.ID = :userID")
|
|
77: ->setParameter('userID', $QuestUserID)
|
|
|
|
Line 88 [match: INNER JOIN]:
|
|
86: $res = $this->getEntityManager()->createQuery("SELECT u.ID, u.FirstName, u.LastName
|
|
87: FROM ".$this->getEntityName()." u
|
|
>> 88: INNER JOIN u.auth_User a
|
|
89: WHERE a.HasBeenDeactivated = false")
|
|
90: ->getArrayResult();
|
|
|
|
Line 106 [match: INNER JOIN]:
|
|
104: $results = $this->getEntityManager()->createQuery('SELECT q, a
|
|
105: FROM App\\Model\\Entities\\quest_User q
|
|
>> 106: INNER JOIN q.auth_User a
|
|
107: WHERE a.Email = :email')
|
|
108: ->setParameter(':email', $email)
|
|
|
|
Line 123 [match: INNER JOIN]:
|
|
121: $results = $this->getEntityManager()->createQuery('SELECT q, a
|
|
122: FROM App\\Model\\Entities\\quest_User q
|
|
>> 123: INNER JOIN q.auth_User a
|
|
124: WHERE q.APIAuthToken = :token
|
|
125: AND CURRENT_TIMESTAMP() < q.APIAuthTokenExpiration')
|
|
|
|
Line 28 [match: LEFT JOIN]:
|
|
26: return $this->getEntityManager()->createQuery("SELECT u, c
|
|
27: FROM ".$this->getEntityName()." u
|
|
>> 28: LEFT JOIN u.quest_Company c
|
|
29: INNER JOIN u.auth_User a
|
|
30: WHERE a.ID = :userID")
|
|
|
|
Line 43 [match: LEFT JOIN]:
|
|
41: return $this->getEntityManager()->createQuery("SELECT u, c
|
|
42: FROM ".$this->getEntityName()." u
|
|
>> 43: LEFT JOIN u.quest_Company c
|
|
44: WHERE u.ID = :userID")
|
|
45: ->setParameter('userID', $QuestUserID)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\ship_Request.php
|
|
================================================================================
|
|
Line 30 [match: FROM ]:
|
|
28: {
|
|
29: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 30: FROM ".$this->getEntityName()." r
|
|
31: LEFT JOIN r.ship_RequestDetail rd
|
|
32: INNER JOIN r.quest_Company qc
|
|
|
|
Line 49 [match: FROM ]:
|
|
47: {
|
|
48: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 49: FROM ".$this->getEntityName()." r
|
|
50: LEFT JOIN r.ship_RequestDetail rd
|
|
51: INNER JOIN r.quest_Company qc
|
|
|
|
Line 69 [match: FROM ]:
|
|
67: {
|
|
68: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 69: FROM ".$this->getEntityName()." r
|
|
70: LEFT JOIN r.ship_RequestDetail rd
|
|
71: WHERE r.ID = :releaseID
|
|
|
|
Line 84 [match: FROM ]:
|
|
82: {
|
|
83: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
>> 84: FROM ".$this->getEntityName()." r
|
|
85: LEFT JOIN r.ship_RequestDetail rd
|
|
86: WHERE r.ID = :releaseID")
|
|
|
|
Line 104 [match: FROM ]:
|
|
102: {
|
|
103: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
>> 104: FROM ".$this->getEntityName()." r
|
|
105: INNER JOIN r.quest_Company c
|
|
106: INNER JOIN r.ship_RequestDetail rd
|
|
|
|
Line 135 [match: FROM ]:
|
|
133: {
|
|
134: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
>> 135: FROM ".$this->getEntityName()." r
|
|
136: INNER JOIN r.quest_Company c
|
|
137: INNER JOIN r.ship_RequestDetail rd
|
|
|
|
Line 164 [match: FROM ]:
|
|
162: {
|
|
163: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
>> 164: FROM ".$this->getEntityName()." r
|
|
165: INNER JOIN r.quest_User qu
|
|
166: INNER JOIN r.quest_Company c
|
|
|
|
Line 187 [match: FROM ]:
|
|
185: // the inner join to ship_RequestDetail will ensure no requests are included here for shipments without any selected items yet
|
|
186: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
>> 187: FROM ".$this->getEntityName()." r
|
|
188: INNER JOIN r.quest_User qu
|
|
189: INNER JOIN qu.auth_User u
|
|
|
|
Line 207 [match: FROM ]:
|
|
205: {
|
|
206: return $this->getEntityManager()->createQuery("SELECT r.ShipToCustomer, r.ShipToNum, r.ShipToName, r.ShipToAddress1, r.ShipToAddress2, r.ShipToCity, r.ShipToState, r.ShipToZip
|
|
>> 207: FROM ".$this->getEntityName()." r
|
|
208: WHERE r.ID = :id")
|
|
209: ->setParameter('id', $RequestID)
|
|
|
|
Line 221 [match: FROM ]:
|
|
219: {
|
|
220: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
>> 221: FROM ".$this->getEntityName()." r
|
|
222: WHERE r.ID = :id")
|
|
223: ->setParameter('id', $RequestID)
|
|
|
|
Line 235 [match: FROM ]:
|
|
233: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
234: r.Plant, r.CompletedDT
|
|
>> 235: FROM " . $this->getEntityName() ." r
|
|
236: LEFT JOIN r.quest_Company c
|
|
237: LEFT JOIN r.quest_User u
|
|
|
|
Line 256 [match: FROM ]:
|
|
254: r.CustomerReleaseNum, r.RequestedPickupDate, r.SpecialInstructions,
|
|
255: r.ConfirmationEmailRecipients
|
|
>> 256: FROM " . $this->getEntityName() ." r
|
|
257: LEFT JOIN r.quest_Company c
|
|
258: LEFT JOIN r.quest_User u
|
|
|
|
Line 277 [match: FROM ]:
|
|
275: r.CustomerReleaseNum, r.RequestedPickupDate, r.SpecialInstructions,
|
|
276: r.ConfirmationEmailRecipients
|
|
>> 277: FROM " . $this->getEntityName() ." r
|
|
278: LEFT JOIN r.quest_Company c
|
|
279: LEFT JOIN r.quest_User u
|
|
|
|
Line 310 [match: FROM ]:
|
|
308: {
|
|
309: return $this->getEntityManager()->createQuery("SELECT r.IsCancelled
|
|
>> 310: FROM ".$this->getEntityName()." r
|
|
311: WHERE r.ID = :requestID")
|
|
312: ->setParameter('requestID', $RequestID)
|
|
|
|
Line 324 [match: FROM ]:
|
|
322: {
|
|
323: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, r.Plant, u.Email, c.epi_Name
|
|
>> 324: FROM ".$this->getEntityName()." r
|
|
325: INNER JOIN r.quest_User qu
|
|
326: INNER JOIN qu.auth_User u
|
|
|
|
Line 29 [match: SELECT ]:
|
|
27: public function getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
>> 29: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
30: FROM ".$this->getEntityName()." r
|
|
31: LEFT JOIN r.ship_RequestDetail rd
|
|
|
|
Line 48 [match: SELECT ]:
|
|
46: public function getSpecificRequest($requestid)
|
|
47: {
|
|
>> 48: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
49: FROM ".$this->getEntityName()." r
|
|
50: LEFT JOIN r.ship_RequestDetail rd
|
|
|
|
Line 68 [match: SELECT ]:
|
|
66: public function getCompletedShipmentWithAllDetailLinesByID($ShipmentReleaseID)
|
|
67: {
|
|
>> 68: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
69: FROM ".$this->getEntityName()." r
|
|
70: LEFT JOIN r.ship_RequestDetail rd
|
|
|
|
Line 83 [match: SELECT ]:
|
|
81: public function getShipmentWithAllDetailLinesByID($ShipmentReleaseID)
|
|
82: {
|
|
>> 83: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
84: FROM ".$this->getEntityName()." r
|
|
85: LEFT JOIN r.ship_RequestDetail rd
|
|
|
|
Line 103 [match: SELECT ]:
|
|
101: public function doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
102: {
|
|
>> 103: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
104: FROM ".$this->getEntityName()." r
|
|
105: INNER JOIN r.quest_Company c
|
|
|
|
Line 134 [match: SELECT ]:
|
|
132: public function getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
133: {
|
|
>> 134: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
135: FROM ".$this->getEntityName()." r
|
|
136: INNER JOIN r.quest_Company c
|
|
|
|
Line 163 [match: SELECT ]:
|
|
161: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestUserID, $EpicorCustID)
|
|
162: {
|
|
>> 163: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
164: FROM ".$this->getEntityName()." r
|
|
165: INNER JOIN r.quest_User qu
|
|
|
|
Line 186 [match: SELECT ]:
|
|
184:
|
|
185: // the inner join to ship_RequestDetail will ensure no requests are included here for shipments without any selected items yet
|
|
>> 186: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
187: FROM ".$this->getEntityName()." r
|
|
188: INNER JOIN r.quest_User qu
|
|
|
|
Line 206 [match: SELECT ]:
|
|
204: public function getShipToAddressInfoForRequest($RequestID)
|
|
205: {
|
|
>> 206: return $this->getEntityManager()->createQuery("SELECT r.ShipToCustomer, r.ShipToNum, r.ShipToName, r.ShipToAddress1, r.ShipToAddress2, r.ShipToCity, r.ShipToState, r.ShipToZip
|
|
207: FROM ".$this->getEntityName()." r
|
|
208: WHERE r.ID = :id")
|
|
|
|
Line 220 [match: SELECT ]:
|
|
218: public function getReferenceNumberForRequest($RequestID)
|
|
219: {
|
|
>> 220: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
221: FROM ".$this->getEntityName()." r
|
|
222: WHERE r.ID = :id")
|
|
|
|
Line 233 [match: SELECT ]:
|
|
231: public function getShipmentReleaseData($epicorCustID)
|
|
232: {
|
|
>> 233: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
234: r.Plant, r.CompletedDT
|
|
235: FROM " . $this->getEntityName() ." r
|
|
|
|
Line 251 [match: SELECT ]:
|
|
249: public function getShipmentReleaseDetailsData($epicorCustID)
|
|
250: {
|
|
>> 251: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
252: r.ShipToAddress2, r.ShipToCity, r.ShipToState, r.ShipToZip, u.FirstName,
|
|
253: u.LastName, r.Plant, r.CompletedDT, r.CustomerOrderNum, r.CustomerPONum,
|
|
|
|
Line 272 [match: SELECT ]:
|
|
270: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
271: {
|
|
>> 272: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
273: r.ShipToAddress2, r.ShipToCity, r.ShipToState, r.ShipToZip, u.FirstName,
|
|
274: u.LastName, r.Plant, r.CompletedDT, r.CustomerOrderNum, r.CustomerPONum,
|
|
|
|
Line 309 [match: SELECT ]:
|
|
307: public function isShipmentReleaseCancelled($RequestID)
|
|
308: {
|
|
>> 309: return $this->getEntityManager()->createQuery("SELECT r.IsCancelled
|
|
310: FROM ".$this->getEntityName()." r
|
|
311: WHERE r.ID = :requestID")
|
|
|
|
Line 323 [match: SELECT ]:
|
|
321: public function getReleaseInfoForCancellationEmails($RequestID)
|
|
322: {
|
|
>> 323: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, r.Plant, u.Email, c.epi_Name
|
|
324: FROM ".$this->getEntityName()." r
|
|
325: INNER JOIN r.quest_User qu
|
|
|
|
Line 32 [match: INNER JOIN]:
|
|
30: FROM ".$this->getEntityName()." r
|
|
31: LEFT JOIN r.ship_RequestDetail rd
|
|
>> 32: INNER JOIN r.quest_Company qc
|
|
33: INNER JOIN r.quest_User qu
|
|
34: WHERE qc.EpicorCustID = :epicorCustID
|
|
|
|
Line 33 [match: INNER JOIN]:
|
|
31: LEFT JOIN r.ship_RequestDetail rd
|
|
32: INNER JOIN r.quest_Company qc
|
|
>> 33: INNER JOIN r.quest_User qu
|
|
34: WHERE qc.EpicorCustID = :epicorCustID
|
|
35: AND qu.ID = :questUserID
|
|
|
|
Line 51 [match: INNER JOIN]:
|
|
49: FROM ".$this->getEntityName()." r
|
|
50: LEFT JOIN r.ship_RequestDetail rd
|
|
>> 51: INNER JOIN r.quest_Company qc
|
|
52: INNER JOIN r.quest_User qu
|
|
53: WHERE r.ID = :ID
|
|
|
|
Line 52 [match: INNER JOIN]:
|
|
50: LEFT JOIN r.ship_RequestDetail rd
|
|
51: INNER JOIN r.quest_Company qc
|
|
>> 52: INNER JOIN r.quest_User qu
|
|
53: WHERE r.ID = :ID
|
|
54: ")
|
|
|
|
Line 105 [match: INNER JOIN]:
|
|
103: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
104: FROM ".$this->getEntityName()." r
|
|
>> 105: INNER JOIN r.quest_Company c
|
|
106: INNER JOIN r.ship_RequestDetail rd
|
|
107: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 106 [match: INNER JOIN]:
|
|
104: FROM ".$this->getEntityName()." r
|
|
105: INNER JOIN r.quest_Company c
|
|
>> 106: INNER JOIN r.ship_RequestDetail rd
|
|
107: WHERE c.EpicorCustID = :epicorCustID
|
|
108: AND r.Plant = :plant
|
|
|
|
Line 136 [match: INNER JOIN]:
|
|
134: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
135: FROM ".$this->getEntityName()." r
|
|
>> 136: INNER JOIN r.quest_Company c
|
|
137: INNER JOIN r.ship_RequestDetail rd
|
|
138: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 137 [match: INNER JOIN]:
|
|
135: FROM ".$this->getEntityName()." r
|
|
136: INNER JOIN r.quest_Company c
|
|
>> 137: INNER JOIN r.ship_RequestDetail rd
|
|
138: WHERE c.EpicorCustID = :epicorCustID
|
|
139: AND r.Plant = :plant
|
|
|
|
Line 165 [match: INNER JOIN]:
|
|
163: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
164: FROM ".$this->getEntityName()." r
|
|
>> 165: INNER JOIN r.quest_User qu
|
|
166: INNER JOIN r.quest_Company c
|
|
167: WHERE r.ID = :shipmentID
|
|
|
|
Line 166 [match: INNER JOIN]:
|
|
164: FROM ".$this->getEntityName()." r
|
|
165: INNER JOIN r.quest_User qu
|
|
>> 166: INNER JOIN r.quest_Company c
|
|
167: WHERE r.ID = :shipmentID
|
|
168: AND qu.ID = :questUserID
|
|
|
|
Line 185 [match: INNER JOIN]:
|
|
183: $ThresholdHoursAgo = (new \DateTime())->sub(new \DateInterval('PT'.$NagThresholdHours.'H'));
|
|
184:
|
|
>> 185: // the inner join to ship_RequestDetail will ensure no requests are included here for shipments without any selected items yet
|
|
186: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
187: FROM ".$this->getEntityName()." r
|
|
|
|
Line 188 [match: INNER JOIN]:
|
|
186: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.epi_Name, u.Email, COUNT(rd.ID) AS DetailCount
|
|
187: FROM ".$this->getEntityName()." r
|
|
>> 188: INNER JOIN r.quest_User qu
|
|
189: INNER JOIN qu.auth_User u
|
|
190: INNER JOIN r.quest_Company c
|
|
|
|
Line 189 [match: INNER JOIN]:
|
|
187: FROM ".$this->getEntityName()." r
|
|
188: INNER JOIN r.quest_User qu
|
|
>> 189: INNER JOIN qu.auth_User u
|
|
190: INNER JOIN r.quest_Company c
|
|
191: INNER JOIN r.ship_RequestDetail rd
|
|
|
|
Line 190 [match: INNER JOIN]:
|
|
188: INNER JOIN r.quest_User qu
|
|
189: INNER JOIN qu.auth_User u
|
|
>> 190: INNER JOIN r.quest_Company c
|
|
191: INNER JOIN r.ship_RequestDetail rd
|
|
192: WHERE r.IsSubmitted = false
|
|
|
|
Line 191 [match: INNER JOIN]:
|
|
189: INNER JOIN qu.auth_User u
|
|
190: INNER JOIN r.quest_Company c
|
|
>> 191: INNER JOIN r.ship_RequestDetail rd
|
|
192: WHERE r.IsSubmitted = false
|
|
193: AND (((r.LastNagDT IS NULL OR r.LastCartActivity > r.LastNagDT) AND r.LastCartActivity <= :threshold)
|
|
|
|
Line 325 [match: INNER JOIN]:
|
|
323: return $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, r.Plant, u.Email, c.epi_Name
|
|
324: FROM ".$this->getEntityName()." r
|
|
>> 325: INNER JOIN r.quest_User qu
|
|
326: INNER JOIN qu.auth_User u
|
|
327: INNER JOIN r.quest_Company c
|
|
|
|
Line 326 [match: INNER JOIN]:
|
|
324: FROM ".$this->getEntityName()." r
|
|
325: INNER JOIN r.quest_User qu
|
|
>> 326: INNER JOIN qu.auth_User u
|
|
327: INNER JOIN r.quest_Company c
|
|
328: WHERE r.ID = :requestID")
|
|
|
|
Line 327 [match: INNER JOIN]:
|
|
325: INNER JOIN r.quest_User qu
|
|
326: INNER JOIN qu.auth_User u
|
|
>> 327: INNER JOIN r.quest_Company c
|
|
328: WHERE r.ID = :requestID")
|
|
329: ->setParameter('requestID', $RequestID)
|
|
|
|
Line 31 [match: LEFT JOIN]:
|
|
29: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
30: FROM ".$this->getEntityName()." r
|
|
>> 31: LEFT JOIN r.ship_RequestDetail rd
|
|
32: INNER JOIN r.quest_Company qc
|
|
33: INNER JOIN r.quest_User qu
|
|
|
|
Line 50 [match: LEFT JOIN]:
|
|
48: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
49: FROM ".$this->getEntityName()." r
|
|
>> 50: LEFT JOIN r.ship_RequestDetail rd
|
|
51: INNER JOIN r.quest_Company qc
|
|
52: INNER JOIN r.quest_User qu
|
|
|
|
Line 70 [match: LEFT JOIN]:
|
|
68: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
69: FROM ".$this->getEntityName()." r
|
|
>> 70: LEFT JOIN r.ship_RequestDetail rd
|
|
71: WHERE r.ID = :releaseID
|
|
72: AND r.IsSubmitted = true")
|
|
|
|
Line 85 [match: LEFT JOIN]:
|
|
83: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
84: FROM ".$this->getEntityName()." r
|
|
>> 85: LEFT JOIN r.ship_RequestDetail rd
|
|
86: WHERE r.ID = :releaseID")
|
|
87: ->setParameter('releaseID', $ShipmentReleaseID)
|
|
|
|
Line 236 [match: LEFT JOIN]:
|
|
234: r.Plant, r.CompletedDT
|
|
235: FROM " . $this->getEntityName() ." r
|
|
>> 236: LEFT JOIN r.quest_Company c
|
|
237: LEFT JOIN r.quest_User u
|
|
238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
|
|
Line 237 [match: LEFT JOIN]:
|
|
235: FROM " . $this->getEntityName() ." r
|
|
236: LEFT JOIN r.quest_Company c
|
|
>> 237: LEFT JOIN r.quest_User u
|
|
238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 257 [match: LEFT JOIN]:
|
|
255: r.ConfirmationEmailRecipients
|
|
256: FROM " . $this->getEntityName() ." r
|
|
>> 257: LEFT JOIN r.quest_Company c
|
|
258: LEFT JOIN r.quest_User u
|
|
259: WHERE c.EpicorCustID = :epicorCustID")
|
|
|
|
Line 258 [match: LEFT JOIN]:
|
|
256: FROM " . $this->getEntityName() ." r
|
|
257: LEFT JOIN r.quest_Company c
|
|
>> 258: LEFT JOIN r.quest_User u
|
|
259: WHERE c.EpicorCustID = :epicorCustID")
|
|
260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 278 [match: LEFT JOIN]:
|
|
276: r.ConfirmationEmailRecipients
|
|
277: FROM " . $this->getEntityName() ." r
|
|
>> 278: LEFT JOIN r.quest_Company c
|
|
279: LEFT JOIN r.quest_User u
|
|
280: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 279 [match: LEFT JOIN]:
|
|
277: FROM " . $this->getEntityName() ." r
|
|
278: LEFT JOIN r.quest_Company c
|
|
>> 279: LEFT JOIN r.quest_User u
|
|
280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
|
|
Line 22 [match: epicor]:
|
|
20:
|
|
21: /**
|
|
>> 22: * @param string $EpicorCustID
|
|
23: * @param int $QuestUserID
|
|
24: * @throws NonUniqueResultException
|
|
|
|
Line 27 [match: epicor]:
|
|
25: * @return \App\Model\Entities\ship_Request|null
|
|
26: */
|
|
>> 27: public function getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
29: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
|
|
Line 34 [match: epicor]:
|
|
32: INNER JOIN r.quest_Company qc
|
|
33: INNER JOIN r.quest_User qu
|
|
>> 34: WHERE qc.EpicorCustID = :epicorCustID
|
|
35: AND qu.ID = :questUserID
|
|
36: AND r.IsSubmitted = false
|
|
|
|
Line 39 [match: epicor]:
|
|
37: AND r.IsCancelled <> true
|
|
38: ")
|
|
>> 39: ->setParameter('epicorCustID', $EpicorCustID)
|
|
40: ->setParameter('questUserID', $QuestUserID)
|
|
41: ->getOneOrNullResult();
|
|
|
|
Line 93 [match: epicor]:
|
|
91:
|
|
92: /**
|
|
>> 93: * @param string $EpicorCustID
|
|
94: * @param string $Plant
|
|
95: * @param string $PartNum
|
|
|
|
Line 101 [match: epicor]:
|
|
99: * @return bool
|
|
100: */
|
|
>> 101: public function doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
102: {
|
|
103: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
|
|
Line 107 [match: epicor]:
|
|
105: INNER JOIN r.quest_Company c
|
|
106: INNER JOIN r.ship_RequestDetail rd
|
|
>> 107: WHERE c.EpicorCustID = :epicorCustID
|
|
108: AND r.Plant = :plant
|
|
109: AND rd.Part = :part
|
|
|
|
Line 114 [match: epicor]:
|
|
112: AND rd.OnHandQuantity = :onHandQty
|
|
113: AND r.IsCancelled = false")
|
|
>> 114: ->setParameter('epicorCustID', $EpicorCustID)
|
|
115: ->setParameter('plant', $Plant)
|
|
116: ->setParameter('part', $PartNum)
|
|
|
|
Line 124 [match: epicor]:
|
|
122:
|
|
123: /**
|
|
>> 124: * @param string $EpicorCustID
|
|
125: * @param string $Plant
|
|
126: * @param string $PartNum
|
|
|
|
Line 132 [match: epicor]:
|
|
130: * @return int
|
|
131: */
|
|
>> 132: public function getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
133: {
|
|
134: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 138 [match: epicor]:
|
|
136: INNER JOIN r.quest_Company c
|
|
137: INNER JOIN r.ship_RequestDetail rd
|
|
>> 138: WHERE c.EpicorCustID = :epicorCustID
|
|
139: AND r.Plant = :plant
|
|
140: AND rd.Part = :part
|
|
|
|
Line 145 [match: epicor]:
|
|
143: AND rd.OnHandQuantity = :onHandQty
|
|
144: AND r.IsCancelled = false")
|
|
>> 145: ->setParameter('epicorCustID', $EpicorCustID)
|
|
146: ->setParameter('plant', $Plant)
|
|
147: ->setParameter('part', $PartNum)
|
|
|
|
Line 158 [match: epicor]:
|
|
156: * @param int $ShipmentID
|
|
157: * @param int $QuestUserID
|
|
>> 158: * @param string $EpicorCustID
|
|
159: * @return int|null
|
|
160: */
|
|
|
|
Line 161 [match: epicor]:
|
|
159: * @return int|null
|
|
160: */
|
|
>> 161: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestUserID, $EpicorCustID)
|
|
162: {
|
|
163: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
|
|
Line 170 [match: epicor]:
|
|
168: AND qu.ID = :questUserID
|
|
169: AND r.IsSubmitted = true
|
|
>> 170: AND c.EpicorCustID = :epicorCustID")
|
|
171: ->setParameter('shipmentID', $ShipmentID)
|
|
172: ->setParameter('questUserID', $QuestUserID)
|
|
|
|
Line 173 [match: epicor]:
|
|
171: ->setParameter('shipmentID', $ShipmentID)
|
|
172: ->setParameter('questUserID', $QuestUserID)
|
|
>> 173: ->setParameter('epicorCustID', $EpicorCustID)
|
|
174: ->getOneOrNullResult(Query::HYDRATE_SINGLE_SCALAR);
|
|
175: }
|
|
|
|
Line 228 [match: epicor]:
|
|
226:
|
|
227: /**
|
|
>> 228: * @param $epicorCustID
|
|
229: * @return array
|
|
230: */
|
|
|
|
Line 231 [match: epicor]:
|
|
229: * @return array
|
|
230: */
|
|
>> 231: public function getShipmentReleaseData($epicorCustID)
|
|
232: {
|
|
233: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
|
|
Line 238 [match: epicor]:
|
|
236: LEFT JOIN r.quest_Company c
|
|
237: LEFT JOIN r.quest_User u
|
|
>> 238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
240: ->getArrayResult();
|
|
|
|
Line 239 [match: epicor]:
|
|
237: LEFT JOIN r.quest_User u
|
|
238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
>> 239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
240: ->getArrayResult();
|
|
241:
|
|
|
|
Line 246 [match: epicor]:
|
|
244:
|
|
245: /**
|
|
>> 246: * @param $epicorCustID
|
|
247: * @return array
|
|
248: */
|
|
|
|
Line 249 [match: epicor]:
|
|
247: * @return array
|
|
248: */
|
|
>> 249: public function getShipmentReleaseDetailsData($epicorCustID)
|
|
250: {
|
|
251: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 259 [match: epicor]:
|
|
257: LEFT JOIN r.quest_Company c
|
|
258: LEFT JOIN r.quest_User u
|
|
>> 259: WHERE c.EpicorCustID = :epicorCustID")
|
|
260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
261: ->getArrayResult();
|
|
|
|
Line 260 [match: epicor]:
|
|
258: LEFT JOIN r.quest_User u
|
|
259: WHERE c.EpicorCustID = :epicorCustID")
|
|
>> 260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
261: ->getArrayResult();
|
|
262:
|
|
|
|
Line 267 [match: epicor]:
|
|
265:
|
|
266: /**
|
|
>> 267: * @param $epicorCustID
|
|
268: * @return array
|
|
269: */
|
|
|
|
Line 270 [match: epicor]:
|
|
268: * @return array
|
|
269: */
|
|
>> 270: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
271: {
|
|
272: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 280 [match: epicor]:
|
|
278: LEFT JOIN r.quest_Company c
|
|
279: LEFT JOIN r.quest_User u
|
|
>> 280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
282: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 282 [match: epicor]:
|
|
280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
>> 282: ->setParameter(":epicorCustID", $epicorCustID)
|
|
283: ->setParameter(":id", $id)
|
|
284: ->getOneOrNullResult();
|
|
|
|
Line 22 [match: Epicor]:
|
|
20:
|
|
21: /**
|
|
>> 22: * @param string $EpicorCustID
|
|
23: * @param int $QuestUserID
|
|
24: * @throws NonUniqueResultException
|
|
|
|
Line 27 [match: Epicor]:
|
|
25: * @return \App\Model\Entities\ship_Request|null
|
|
26: */
|
|
>> 27: public function getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
29: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
|
|
Line 34 [match: Epicor]:
|
|
32: INNER JOIN r.quest_Company qc
|
|
33: INNER JOIN r.quest_User qu
|
|
>> 34: WHERE qc.EpicorCustID = :epicorCustID
|
|
35: AND qu.ID = :questUserID
|
|
36: AND r.IsSubmitted = false
|
|
|
|
Line 39 [match: Epicor]:
|
|
37: AND r.IsCancelled <> true
|
|
38: ")
|
|
>> 39: ->setParameter('epicorCustID', $EpicorCustID)
|
|
40: ->setParameter('questUserID', $QuestUserID)
|
|
41: ->getOneOrNullResult();
|
|
|
|
Line 93 [match: Epicor]:
|
|
91:
|
|
92: /**
|
|
>> 93: * @param string $EpicorCustID
|
|
94: * @param string $Plant
|
|
95: * @param string $PartNum
|
|
|
|
Line 101 [match: Epicor]:
|
|
99: * @return bool
|
|
100: */
|
|
>> 101: public function doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
102: {
|
|
103: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
|
|
Line 107 [match: Epicor]:
|
|
105: INNER JOIN r.quest_Company c
|
|
106: INNER JOIN r.ship_RequestDetail rd
|
|
>> 107: WHERE c.EpicorCustID = :epicorCustID
|
|
108: AND r.Plant = :plant
|
|
109: AND rd.Part = :part
|
|
|
|
Line 114 [match: Epicor]:
|
|
112: AND rd.OnHandQuantity = :onHandQty
|
|
113: AND r.IsCancelled = false")
|
|
>> 114: ->setParameter('epicorCustID', $EpicorCustID)
|
|
115: ->setParameter('plant', $Plant)
|
|
116: ->setParameter('part', $PartNum)
|
|
|
|
Line 124 [match: Epicor]:
|
|
122:
|
|
123: /**
|
|
>> 124: * @param string $EpicorCustID
|
|
125: * @param string $Plant
|
|
126: * @param string $PartNum
|
|
|
|
Line 132 [match: Epicor]:
|
|
130: * @return int
|
|
131: */
|
|
>> 132: public function getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
133: {
|
|
134: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 138 [match: Epicor]:
|
|
136: INNER JOIN r.quest_Company c
|
|
137: INNER JOIN r.ship_RequestDetail rd
|
|
>> 138: WHERE c.EpicorCustID = :epicorCustID
|
|
139: AND r.Plant = :plant
|
|
140: AND rd.Part = :part
|
|
|
|
Line 145 [match: Epicor]:
|
|
143: AND rd.OnHandQuantity = :onHandQty
|
|
144: AND r.IsCancelled = false")
|
|
>> 145: ->setParameter('epicorCustID', $EpicorCustID)
|
|
146: ->setParameter('plant', $Plant)
|
|
147: ->setParameter('part', $PartNum)
|
|
|
|
Line 158 [match: Epicor]:
|
|
156: * @param int $ShipmentID
|
|
157: * @param int $QuestUserID
|
|
>> 158: * @param string $EpicorCustID
|
|
159: * @return int|null
|
|
160: */
|
|
|
|
Line 161 [match: Epicor]:
|
|
159: * @return int|null
|
|
160: */
|
|
>> 161: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestUserID, $EpicorCustID)
|
|
162: {
|
|
163: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
|
|
Line 170 [match: Epicor]:
|
|
168: AND qu.ID = :questUserID
|
|
169: AND r.IsSubmitted = true
|
|
>> 170: AND c.EpicorCustID = :epicorCustID")
|
|
171: ->setParameter('shipmentID', $ShipmentID)
|
|
172: ->setParameter('questUserID', $QuestUserID)
|
|
|
|
Line 173 [match: Epicor]:
|
|
171: ->setParameter('shipmentID', $ShipmentID)
|
|
172: ->setParameter('questUserID', $QuestUserID)
|
|
>> 173: ->setParameter('epicorCustID', $EpicorCustID)
|
|
174: ->getOneOrNullResult(Query::HYDRATE_SINGLE_SCALAR);
|
|
175: }
|
|
|
|
Line 228 [match: Epicor]:
|
|
226:
|
|
227: /**
|
|
>> 228: * @param $epicorCustID
|
|
229: * @return array
|
|
230: */
|
|
|
|
Line 231 [match: Epicor]:
|
|
229: * @return array
|
|
230: */
|
|
>> 231: public function getShipmentReleaseData($epicorCustID)
|
|
232: {
|
|
233: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
|
|
Line 238 [match: Epicor]:
|
|
236: LEFT JOIN r.quest_Company c
|
|
237: LEFT JOIN r.quest_User u
|
|
>> 238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
240: ->getArrayResult();
|
|
|
|
Line 239 [match: Epicor]:
|
|
237: LEFT JOIN r.quest_User u
|
|
238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
>> 239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
240: ->getArrayResult();
|
|
241:
|
|
|
|
Line 246 [match: Epicor]:
|
|
244:
|
|
245: /**
|
|
>> 246: * @param $epicorCustID
|
|
247: * @return array
|
|
248: */
|
|
|
|
Line 249 [match: Epicor]:
|
|
247: * @return array
|
|
248: */
|
|
>> 249: public function getShipmentReleaseDetailsData($epicorCustID)
|
|
250: {
|
|
251: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 259 [match: Epicor]:
|
|
257: LEFT JOIN r.quest_Company c
|
|
258: LEFT JOIN r.quest_User u
|
|
>> 259: WHERE c.EpicorCustID = :epicorCustID")
|
|
260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
261: ->getArrayResult();
|
|
|
|
Line 260 [match: Epicor]:
|
|
258: LEFT JOIN r.quest_User u
|
|
259: WHERE c.EpicorCustID = :epicorCustID")
|
|
>> 260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
261: ->getArrayResult();
|
|
262:
|
|
|
|
Line 267 [match: Epicor]:
|
|
265:
|
|
266: /**
|
|
>> 267: * @param $epicorCustID
|
|
268: * @return array
|
|
269: */
|
|
|
|
Line 270 [match: Epicor]:
|
|
268: * @return array
|
|
269: */
|
|
>> 270: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
271: {
|
|
272: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 280 [match: Epicor]:
|
|
278: LEFT JOIN r.quest_Company c
|
|
279: LEFT JOIN r.quest_User u
|
|
>> 280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
282: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 282 [match: Epicor]:
|
|
280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
>> 282: ->setParameter(":epicorCustID", $epicorCustID)
|
|
283: ->setParameter(":id", $id)
|
|
284: ->getOneOrNullResult();
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20:
|
|
21: /**
|
|
>> 22: * @param string $EpicorCustID
|
|
23: * @param int $QuestUserID
|
|
24: * @throws NonUniqueResultException
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25: * @return \App\Model\Entities\ship_Request|null
|
|
26: */
|
|
>> 27: public function getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestUserID)
|
|
28: {
|
|
29: return $this->getEntityManager()->createQuery("SELECT r, rd
|
|
|
|
Line 34 [match: EPICOR]:
|
|
32: INNER JOIN r.quest_Company qc
|
|
33: INNER JOIN r.quest_User qu
|
|
>> 34: WHERE qc.EpicorCustID = :epicorCustID
|
|
35: AND qu.ID = :questUserID
|
|
36: AND r.IsSubmitted = false
|
|
|
|
Line 39 [match: EPICOR]:
|
|
37: AND r.IsCancelled <> true
|
|
38: ")
|
|
>> 39: ->setParameter('epicorCustID', $EpicorCustID)
|
|
40: ->setParameter('questUserID', $QuestUserID)
|
|
41: ->getOneOrNullResult();
|
|
|
|
Line 93 [match: EPICOR]:
|
|
91:
|
|
92: /**
|
|
>> 93: * @param string $EpicorCustID
|
|
94: * @param string $Plant
|
|
95: * @param string $PartNum
|
|
|
|
Line 101 [match: EPICOR]:
|
|
99: * @return bool
|
|
100: */
|
|
>> 101: public function doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
102: {
|
|
103: return ($this->getEntityManager()->createQuery("SELECT COUNT(r)
|
|
|
|
Line 107 [match: EPICOR]:
|
|
105: INNER JOIN r.quest_Company c
|
|
106: INNER JOIN r.ship_RequestDetail rd
|
|
>> 107: WHERE c.EpicorCustID = :epicorCustID
|
|
108: AND r.Plant = :plant
|
|
109: AND rd.Part = :part
|
|
|
|
Line 114 [match: EPICOR]:
|
|
112: AND rd.OnHandQuantity = :onHandQty
|
|
113: AND r.IsCancelled = false")
|
|
>> 114: ->setParameter('epicorCustID', $EpicorCustID)
|
|
115: ->setParameter('plant', $Plant)
|
|
116: ->setParameter('part', $PartNum)
|
|
|
|
Line 124 [match: EPICOR]:
|
|
122:
|
|
123: /**
|
|
>> 124: * @param string $EpicorCustID
|
|
125: * @param string $Plant
|
|
126: * @param string $PartNum
|
|
|
|
Line 132 [match: EPICOR]:
|
|
130: * @return int
|
|
131: */
|
|
>> 132: public function getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($EpicorCustID, $Plant, $PartNum, $Warehouse, $LotNum, $OnHandQuantity)
|
|
133: {
|
|
134: return $this->getEntityManager()->createQuery("SELECT r.ID
|
|
|
|
Line 138 [match: EPICOR]:
|
|
136: INNER JOIN r.quest_Company c
|
|
137: INNER JOIN r.ship_RequestDetail rd
|
|
>> 138: WHERE c.EpicorCustID = :epicorCustID
|
|
139: AND r.Plant = :plant
|
|
140: AND rd.Part = :part
|
|
|
|
Line 145 [match: EPICOR]:
|
|
143: AND rd.OnHandQuantity = :onHandQty
|
|
144: AND r.IsCancelled = false")
|
|
>> 145: ->setParameter('epicorCustID', $EpicorCustID)
|
|
146: ->setParameter('plant', $Plant)
|
|
147: ->setParameter('part', $PartNum)
|
|
|
|
Line 158 [match: EPICOR]:
|
|
156: * @param int $ShipmentID
|
|
157: * @param int $QuestUserID
|
|
>> 158: * @param string $EpicorCustID
|
|
159: * @return int|null
|
|
160: */
|
|
|
|
Line 161 [match: EPICOR]:
|
|
159: * @return int|null
|
|
160: */
|
|
>> 161: public function getSubmittedRequestReferenceNumByQuestUserAndEpicorCustID($ShipmentID, $QuestUserID, $EpicorCustID)
|
|
162: {
|
|
163: return $this->getEntityManager()->createQuery("SELECT r.ReferenceNum
|
|
|
|
Line 170 [match: EPICOR]:
|
|
168: AND qu.ID = :questUserID
|
|
169: AND r.IsSubmitted = true
|
|
>> 170: AND c.EpicorCustID = :epicorCustID")
|
|
171: ->setParameter('shipmentID', $ShipmentID)
|
|
172: ->setParameter('questUserID', $QuestUserID)
|
|
|
|
Line 173 [match: EPICOR]:
|
|
171: ->setParameter('shipmentID', $ShipmentID)
|
|
172: ->setParameter('questUserID', $QuestUserID)
|
|
>> 173: ->setParameter('epicorCustID', $EpicorCustID)
|
|
174: ->getOneOrNullResult(Query::HYDRATE_SINGLE_SCALAR);
|
|
175: }
|
|
|
|
Line 228 [match: EPICOR]:
|
|
226:
|
|
227: /**
|
|
>> 228: * @param $epicorCustID
|
|
229: * @return array
|
|
230: */
|
|
|
|
Line 231 [match: EPICOR]:
|
|
229: * @return array
|
|
230: */
|
|
>> 231: public function getShipmentReleaseData($epicorCustID)
|
|
232: {
|
|
233: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, u.FirstName, u.LastName,
|
|
|
|
Line 238 [match: EPICOR]:
|
|
236: LEFT JOIN r.quest_Company c
|
|
237: LEFT JOIN r.quest_User u
|
|
>> 238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
240: ->getArrayResult();
|
|
|
|
Line 239 [match: EPICOR]:
|
|
237: LEFT JOIN r.quest_User u
|
|
238: WHERE c.EpicorCustID = :epicorCustID AND r.IsSubmitted = true ")
|
|
>> 239: ->setParameter(":epicorCustID", $epicorCustID)
|
|
240: ->getArrayResult();
|
|
241:
|
|
|
|
Line 246 [match: EPICOR]:
|
|
244:
|
|
245: /**
|
|
>> 246: * @param $epicorCustID
|
|
247: * @return array
|
|
248: */
|
|
|
|
Line 249 [match: EPICOR]:
|
|
247: * @return array
|
|
248: */
|
|
>> 249: public function getShipmentReleaseDetailsData($epicorCustID)
|
|
250: {
|
|
251: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 259 [match: EPICOR]:
|
|
257: LEFT JOIN r.quest_Company c
|
|
258: LEFT JOIN r.quest_User u
|
|
>> 259: WHERE c.EpicorCustID = :epicorCustID")
|
|
260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
261: ->getArrayResult();
|
|
|
|
Line 260 [match: EPICOR]:
|
|
258: LEFT JOIN r.quest_User u
|
|
259: WHERE c.EpicorCustID = :epicorCustID")
|
|
>> 260: ->setParameter(":epicorCustID", $epicorCustID)
|
|
261: ->getArrayResult();
|
|
262:
|
|
|
|
Line 267 [match: EPICOR]:
|
|
265:
|
|
266: /**
|
|
>> 267: * @param $epicorCustID
|
|
268: * @return array
|
|
269: */
|
|
|
|
Line 270 [match: EPICOR]:
|
|
268: * @return array
|
|
269: */
|
|
>> 270: public function getShipmentReleaseDetailsDataByID($epicorCustID, $id)
|
|
271: {
|
|
272: $results = $this->getEntityManager()->createQuery("SELECT r.ID, r.ReferenceNum, c.calc_DisplayName, r.ShipToName, r.ShipToAddress1,
|
|
|
|
Line 280 [match: EPICOR]:
|
|
278: LEFT JOIN r.quest_Company c
|
|
279: LEFT JOIN r.quest_User u
|
|
>> 280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
282: ->setParameter(":epicorCustID", $epicorCustID)
|
|
|
|
Line 282 [match: EPICOR]:
|
|
280: WHERE c.EpicorCustID = :epicorCustID
|
|
281: AND r.ID = :id")
|
|
>> 282: ->setParameter(":epicorCustID", $epicorCustID)
|
|
283: ->setParameter(":id", $id)
|
|
284: ->getOneOrNullResult();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\ship_RequestDetail.php
|
|
================================================================================
|
|
Line 33 [match: FROM ]:
|
|
31:
|
|
32: $res = $this->getEntityManager()->createQuery("SELECT rd.LotNum, rd.OnHandQuantity
|
|
>> 33: FROM ".$this->getEntityName()." rd
|
|
34: INNER JOIN rd.ship_Request r
|
|
35: INNER JOIN r.quest_Company c
|
|
|
|
Line 32 [match: SELECT ]:
|
|
30: return [];
|
|
31:
|
|
>> 32: $res = $this->getEntityManager()->createQuery("SELECT rd.LotNum, rd.OnHandQuantity
|
|
33: FROM ".$this->getEntityName()." rd
|
|
34: INNER JOIN rd.ship_Request r
|
|
|
|
Line 34 [match: INNER JOIN]:
|
|
32: $res = $this->getEntityManager()->createQuery("SELECT rd.LotNum, rd.OnHandQuantity
|
|
33: FROM ".$this->getEntityName()." rd
|
|
>> 34: INNER JOIN rd.ship_Request r
|
|
35: INNER JOIN r.quest_Company c
|
|
36: WHERE c.EpicorCustID = :epicorCustID
|
|
|
|
Line 35 [match: INNER JOIN]:
|
|
33: FROM ".$this->getEntityName()." rd
|
|
34: INNER JOIN rd.ship_Request r
|
|
>> 35: INNER JOIN r.quest_Company c
|
|
36: WHERE c.EpicorCustID = :epicorCustID
|
|
37: AND r.Plant = :plant
|
|
|
|
Line 20 [match: epicor]:
|
|
18:
|
|
19: /**
|
|
>> 20: * @param string $EpicorCustID
|
|
21: * @param string $Plant
|
|
22: * @param string $PartNum
|
|
|
|
Line 27 [match: epicor]:
|
|
25: * @return array
|
|
26: */
|
|
>> 27: public function getDetailLinesThatExistForNonCancelledShipments($EpicorCustID, $Plant, $PartNum, $Warehouse, array $LotNumsAndOnHandQtys)
|
|
28: {
|
|
29: if(!sizeof($LotNumsAndOnHandQtys))
|
|
|
|
Line 36 [match: epicor]:
|
|
34: INNER JOIN rd.ship_Request r
|
|
35: INNER JOIN r.quest_Company c
|
|
>> 36: WHERE c.EpicorCustID = :epicorCustID
|
|
37: AND r.Plant = :plant
|
|
38: AND rd.Part = :part
|
|
|
|
Line 43 [match: epicor]:
|
|
41: AND rd.OnHandQuantity IN (:onHandQty)
|
|
42: AND r.IsCancelled = false")
|
|
>> 43: ->setParameter('epicorCustID', $EpicorCustID)
|
|
44: ->setParameter('plant', $Plant)
|
|
45: ->setParameter('part', $PartNum)
|
|
|
|
Line 20 [match: Epicor]:
|
|
18:
|
|
19: /**
|
|
>> 20: * @param string $EpicorCustID
|
|
21: * @param string $Plant
|
|
22: * @param string $PartNum
|
|
|
|
Line 27 [match: Epicor]:
|
|
25: * @return array
|
|
26: */
|
|
>> 27: public function getDetailLinesThatExistForNonCancelledShipments($EpicorCustID, $Plant, $PartNum, $Warehouse, array $LotNumsAndOnHandQtys)
|
|
28: {
|
|
29: if(!sizeof($LotNumsAndOnHandQtys))
|
|
|
|
Line 36 [match: Epicor]:
|
|
34: INNER JOIN rd.ship_Request r
|
|
35: INNER JOIN r.quest_Company c
|
|
>> 36: WHERE c.EpicorCustID = :epicorCustID
|
|
37: AND r.Plant = :plant
|
|
38: AND rd.Part = :part
|
|
|
|
Line 43 [match: Epicor]:
|
|
41: AND rd.OnHandQuantity IN (:onHandQty)
|
|
42: AND r.IsCancelled = false")
|
|
>> 43: ->setParameter('epicorCustID', $EpicorCustID)
|
|
44: ->setParameter('plant', $Plant)
|
|
45: ->setParameter('part', $PartNum)
|
|
|
|
Line 20 [match: EPICOR]:
|
|
18:
|
|
19: /**
|
|
>> 20: * @param string $EpicorCustID
|
|
21: * @param string $Plant
|
|
22: * @param string $PartNum
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25: * @return array
|
|
26: */
|
|
>> 27: public function getDetailLinesThatExistForNonCancelledShipments($EpicorCustID, $Plant, $PartNum, $Warehouse, array $LotNumsAndOnHandQtys)
|
|
28: {
|
|
29: if(!sizeof($LotNumsAndOnHandQtys))
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34: INNER JOIN rd.ship_Request r
|
|
35: INNER JOIN r.quest_Company c
|
|
>> 36: WHERE c.EpicorCustID = :epicorCustID
|
|
37: AND r.Plant = :plant
|
|
38: AND rd.Part = :part
|
|
|
|
Line 43 [match: EPICOR]:
|
|
41: AND rd.OnHandQuantity IN (:onHandQty)
|
|
42: AND r.IsCancelled = false")
|
|
>> 43: ->setParameter('epicorCustID', $EpicorCustID)
|
|
44: ->setParameter('plant', $Plant)
|
|
45: ->setParameter('part', $PartNum)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\wave_Process.php
|
|
================================================================================
|
|
Line 25 [match: ->select(]:
|
|
23: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
24:
|
|
>> 25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
|
|
Line 7 [match: wave]:
|
|
5:
|
|
6: /**
|
|
>> 7: * wave_Process repository class
|
|
8: *
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 11 [match: wave]:
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
10: */
|
|
>> 11: class wave_Process extends Repo
|
|
12: {
|
|
13: public function __construct($em, ClassMetadata $class)
|
|
|
|
Line 25 [match: wave]:
|
|
23: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
24:
|
|
>> 25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
|
|
Line 26 [match: wave]:
|
|
24:
|
|
25: $results = $qb->select('wave_Process')
|
|
>> 26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
|
|
Line 27 [match: wave]:
|
|
25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
>> 27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
29: ->getQuery()
|
|
|
|
Line 28 [match: wave]:
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
>> 28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
29: ->getQuery()
|
|
30: ->execute([]);
|
|
|
|
Line 7 [match: Wave]:
|
|
5:
|
|
6: /**
|
|
>> 7: * wave_Process repository class
|
|
8: *
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 11 [match: Wave]:
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
10: */
|
|
>> 11: class wave_Process extends Repo
|
|
12: {
|
|
13: public function __construct($em, ClassMetadata $class)
|
|
|
|
Line 25 [match: Wave]:
|
|
23: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
24:
|
|
>> 25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
|
|
Line 26 [match: Wave]:
|
|
24:
|
|
25: $results = $qb->select('wave_Process')
|
|
>> 26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
|
|
Line 27 [match: Wave]:
|
|
25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
>> 27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
29: ->getQuery()
|
|
|
|
Line 28 [match: Wave]:
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
>> 28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
29: ->getQuery()
|
|
30: ->execute([]);
|
|
|
|
Line 7 [match: WAVE]:
|
|
5:
|
|
6: /**
|
|
>> 7: * wave_Process repository class
|
|
8: *
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 11 [match: WAVE]:
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
10: */
|
|
>> 11: class wave_Process extends Repo
|
|
12: {
|
|
13: public function __construct($em, ClassMetadata $class)
|
|
|
|
Line 25 [match: WAVE]:
|
|
23: $qb = $this->getEntityManager()->createQueryBuilder();
|
|
24:
|
|
>> 25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
|
|
Line 26 [match: WAVE]:
|
|
24:
|
|
25: $results = $qb->select('wave_Process')
|
|
>> 26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
|
|
Line 27 [match: WAVE]:
|
|
25: $results = $qb->select('wave_Process')
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
>> 27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
29: ->getQuery()
|
|
|
|
Line 28 [match: WAVE]:
|
|
26: ->from($this->getEntityName(), 'wave_Process')
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
>> 28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
29: ->getQuery()
|
|
30: ->execute([]);
|
|
|
|
Line 29 [match: getQuery()]:
|
|
27: ->where('wave_Process.IsEnabled = true')
|
|
28: ->orderBy('wave_Process.ProcessOrder', 'asc')
|
|
>> 29: ->getQuery()
|
|
30: ->execute([]);
|
|
31:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Model\Repos\wave_ProcessHistory.php
|
|
================================================================================
|
|
Line 7 [match: wave]:
|
|
5:
|
|
6: /**
|
|
>> 7: * wave_ProcessHistory repository class
|
|
8: *
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 11 [match: wave]:
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
10: */
|
|
>> 11: class wave_ProcessHistory extends Repo
|
|
12: {
|
|
13: public function __construct($em, ClassMetadata $class)
|
|
|
|
Line 7 [match: Wave]:
|
|
5:
|
|
6: /**
|
|
>> 7: * wave_ProcessHistory repository class
|
|
8: *
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 11 [match: Wave]:
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
10: */
|
|
>> 11: class wave_ProcessHistory extends Repo
|
|
12: {
|
|
13: public function __construct($em, ClassMetadata $class)
|
|
|
|
Line 7 [match: WAVE]:
|
|
5:
|
|
6: /**
|
|
>> 7: * wave_ProcessHistory repository class
|
|
8: *
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
|
|
Line 11 [match: WAVE]:
|
|
9: * This class has been auto-generated by Savvior Doctrine model generation process
|
|
10: */
|
|
>> 11: class wave_ProcessHistory extends Repo
|
|
12: {
|
|
13: public function __construct($em, ClassMetadata $class)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WaveFilesExportedAndUploaded.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveFilesExportedAndUploaded extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 49 [match: wave]:
|
|
47: {
|
|
48: return (new MailMessage)
|
|
>> 49: ->subject('Wave Production Files Have Been Exported and Uploaded to the FTP Site')
|
|
50: ->line("The export files are in the WAVE folder <br>");
|
|
51:
|
|
|
|
Line 50 [match: wave]:
|
|
48: return (new MailMessage)
|
|
49: ->subject('Wave Production Files Have Been Exported and Uploaded to the FTP Site')
|
|
>> 50: ->line("The export files are in the WAVE folder <br>");
|
|
51:
|
|
52: //<a href=" . $this->exportDirectory . ">" . $this->exportDirectory . "</a>
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveFilesExportedAndUploaded extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 49 [match: Wave]:
|
|
47: {
|
|
48: return (new MailMessage)
|
|
>> 49: ->subject('Wave Production Files Have Been Exported and Uploaded to the FTP Site')
|
|
50: ->line("The export files are in the WAVE folder <br>");
|
|
51:
|
|
|
|
Line 50 [match: Wave]:
|
|
48: return (new MailMessage)
|
|
49: ->subject('Wave Production Files Have Been Exported and Uploaded to the FTP Site')
|
|
>> 50: ->line("The export files are in the WAVE folder <br>");
|
|
51:
|
|
52: //<a href=" . $this->exportDirectory . ">" . $this->exportDirectory . "</a>
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveFilesExportedAndUploaded extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 49 [match: WAVE]:
|
|
47: {
|
|
48: return (new MailMessage)
|
|
>> 49: ->subject('Wave Production Files Have Been Exported and Uploaded to the FTP Site')
|
|
50: ->line("The export files are in the WAVE folder <br>");
|
|
51:
|
|
|
|
Line 50 [match: WAVE]:
|
|
48: return (new MailMessage)
|
|
49: ->subject('Wave Production Files Have Been Exported and Uploaded to the FTP Site')
|
|
>> 50: ->line("The export files are in the WAVE folder <br>");
|
|
51:
|
|
52: //<a href=" . $this->exportDirectory . ">" . $this->exportDirectory . "</a>
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMissingRawMetalReceiptPo extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: wave]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Raw Metal Receipts for ' . $this->processDate . ' Missing PO Number or PO Line')
|
|
>> 55: ->line("Please review the attached report. These items are missing Raw Metal PO or PO Line for yesterday's receipts. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMissingRawMetalReceiptPo extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: Wave]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Raw Metal Receipts for ' . $this->processDate . ' Missing PO Number or PO Line')
|
|
>> 55: ->line("Please review the attached report. These items are missing Raw Metal PO or PO Line for yesterday's receipts. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMissingRawMetalReceiptPo extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: WAVE]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Raw Metal Receipts for ' . $this->processDate . ' Missing PO Number or PO Line')
|
|
>> 55: ->line("Please review the attached report. These items are missing Raw Metal PO or PO Line for yesterday's receipts. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WaveMonthEndInventory.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMonthEndInventory extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 56 [match: wave]:
|
|
54: return (new MailMessage)
|
|
55: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
>> 56: ->subject('Month End Inventory Wave File Has Been Exported and Uploaded to the FTP Site')
|
|
57: ->line("Files are in X:\wave folder");
|
|
58: }
|
|
|
|
Line 57 [match: wave]:
|
|
55: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
56: ->subject('Month End Inventory Wave File Has Been Exported and Uploaded to the FTP Site')
|
|
>> 57: ->line("Files are in X:\wave folder");
|
|
58: }
|
|
59:
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMonthEndInventory extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 56 [match: Wave]:
|
|
54: return (new MailMessage)
|
|
55: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
>> 56: ->subject('Month End Inventory Wave File Has Been Exported and Uploaded to the FTP Site')
|
|
57: ->line("Files are in X:\wave folder");
|
|
58: }
|
|
|
|
Line 57 [match: Wave]:
|
|
55: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
56: ->subject('Month End Inventory Wave File Has Been Exported and Uploaded to the FTP Site')
|
|
>> 57: ->line("Files are in X:\wave folder");
|
|
58: }
|
|
59:
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMonthEndInventory extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 56 [match: WAVE]:
|
|
54: return (new MailMessage)
|
|
55: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
>> 56: ->subject('Month End Inventory Wave File Has Been Exported and Uploaded to the FTP Site')
|
|
57: ->line("Files are in X:\wave folder");
|
|
58: }
|
|
|
|
Line 57 [match: WAVE]:
|
|
55: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
56: ->subject('Month End Inventory Wave File Has Been Exported and Uploaded to the FTP Site')
|
|
>> 57: ->line("Files are in X:\wave folder");
|
|
58: }
|
|
59:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WaveMovedIntoWarehouse05.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMovedIntoWarehouse05 extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMovedIntoWarehouse05 extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMovedIntoWarehouse05 extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WaveMovedOutOfWarehouse05.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMovedOutOfWarehouse05 extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMovedOutOfWarehouse05 extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveMovedOutOfWarehouse05 extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WavePartsWoCustomerPartNumber.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePartsWoCustomerPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 54 [match: wave]:
|
|
52: return (new MailMessage)
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
>> 54: ->subject('WAVE Parts Without Customer Part Number')
|
|
55: ->line('Please review the attached report. These items are missing the customer part cross reference part number');
|
|
56: }
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePartsWoCustomerPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 54 [match: Wave]:
|
|
52: return (new MailMessage)
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
>> 54: ->subject('WAVE Parts Without Customer Part Number')
|
|
55: ->line('Please review the attached report. These items are missing the customer part cross reference part number');
|
|
56: }
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePartsWoCustomerPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 54 [match: WAVE]:
|
|
52: return (new MailMessage)
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
>> 54: ->subject('WAVE Parts Without Customer Part Number')
|
|
55: ->line('Please review the attached report. These items are missing the customer part cross reference part number');
|
|
56: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WavePLProductionMissingPartNumber.php
|
|
================================================================================
|
|
Line 55 [match: FROM ]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Paint Line Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Paint Production. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePLProductionMissingPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: wave]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Paint Line Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Paint Production. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePLProductionMissingPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: Wave]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Paint Line Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Paint Production. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePLProductionMissingPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: WAVE]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Paint Line Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Paint Production. Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WavePrecheck.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePrecheck extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 44 [match: wave]:
|
|
42: {
|
|
43: return (new MailMessage)
|
|
>> 44: ->subject('WAVE Pre-check is complete.')
|
|
45: ->line("WAVE File precheck is complete. If you received any error messages, you must fix the errors before the actual batch is run.");
|
|
46: }
|
|
|
|
Line 45 [match: wave]:
|
|
43: return (new MailMessage)
|
|
44: ->subject('WAVE Pre-check is complete.')
|
|
>> 45: ->line("WAVE File precheck is complete. If you received any error messages, you must fix the errors before the actual batch is run.");
|
|
46: }
|
|
47:
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePrecheck extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 44 [match: Wave]:
|
|
42: {
|
|
43: return (new MailMessage)
|
|
>> 44: ->subject('WAVE Pre-check is complete.')
|
|
45: ->line("WAVE File precheck is complete. If you received any error messages, you must fix the errors before the actual batch is run.");
|
|
46: }
|
|
|
|
Line 45 [match: Wave]:
|
|
43: return (new MailMessage)
|
|
44: ->subject('WAVE Pre-check is complete.')
|
|
>> 45: ->line("WAVE File precheck is complete. If you received any error messages, you must fix the errors before the actual batch is run.");
|
|
46: }
|
|
47:
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WavePrecheck extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 44 [match: WAVE]:
|
|
42: {
|
|
43: return (new MailMessage)
|
|
>> 44: ->subject('WAVE Pre-check is complete.')
|
|
45: ->line("WAVE File precheck is complete. If you received any error messages, you must fix the errors before the actual batch is run.");
|
|
46: }
|
|
|
|
Line 45 [match: WAVE]:
|
|
43: return (new MailMessage)
|
|
44: ->subject('WAVE Pre-check is complete.')
|
|
>> 45: ->line("WAVE File precheck is complete. If you received any error messages, you must fix the errors before the actual batch is run.");
|
|
46: }
|
|
47:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\WaveEDI\WaveSLProductionMissingPartNumber.php
|
|
================================================================================
|
|
Line 55 [match: FROM ]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Slitter Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Slitter Production Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveSLProductionMissingPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: wave]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Slitter Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Slitter Production Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveSLProductionMissingPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: Wave]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Slitter Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Slitter Production Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Notifications\WaveEDI;
|
|
4:
|
|
5: use Illuminate\Bus\Queueable;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use Illuminate\Notifications\Messages\MailMessage;
|
|
9:
|
|
>> 10: class WaveSLProductionMissingPartNumber extends Notification
|
|
11: {
|
|
12: use Queueable;
|
|
|
|
Line 55 [match: WAVE]:
|
|
53: ->attach(storage_path('app/' . $this->attachmentPath))
|
|
54: ->subject('Slitter Production for ' . $this->processDate . ' Missing Customer Part Number')
|
|
>> 55: ->line("Please review the attached report. These items are missing Customer Part Numbers from yesterday's Slitter Production Once corrected, you will need to reprocess the WAVE files.");
|
|
56: }
|
|
57:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\InvoicePDFs.php
|
|
================================================================================
|
|
Line 25 [match: FROM ]:
|
|
23: {
|
|
24: $MailMessage = new MailMessage;
|
|
>> 25: $MailMessage->subject("New invoices from Vorteq Coil Finishers ready for ".$this->companyName);
|
|
26: $MailMessage->line('New invoices are ready for your review');
|
|
27: $MailMessage->line('The following links will download the latest version of these documents from the Quest client portal. If you need to setup your Quest account please click <a href="'.action('Auth\AccountRequestController@getRequestForm').'">here</a>. For your convenience the invoices are also attached to this email.');
|
|
|
|
Line 27 [match: FROM ]:
|
|
25: $MailMessage->subject("New invoices from Vorteq Coil Finishers ready for ".$this->companyName);
|
|
26: $MailMessage->line('New invoices are ready for your review');
|
|
>> 27: $MailMessage->line('The following links will download the latest version of these documents from the Quest client portal. If you need to setup your Quest account please click <a href="'.action('Auth\AccountRequestController@getRequestForm').'">here</a>. For your convenience the invoices are also attached to this email.');
|
|
28: //$MailMessage->line($this->companyName);
|
|
29: foreach($this->invoiceInfo as $invoiceInfoSingle)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Notifications\OrderAcknowledgement.php
|
|
================================================================================
|
|
Line 33 [match: FROM ]:
|
|
31: {
|
|
32: $MailMessage = new MailMessage;
|
|
>> 33: $MailMessage->subject("New order acknowledgements from Vorteq Coil Finishers ready for ".$this->_companyName);
|
|
34: //$MailMessage->subject("Vorteq Coil Finishers - New Sales Order Acknowledgement(s) ".$this->_customerID.' ('.implode(', ',array_map(function($val){return $val['OrderNum'];},$this->_orders)).')');
|
|
35: $MailMessage->line('New sales order acknowledgements are ready for your review.');
|
|
|
|
Line 36 [match: FROM ]:
|
|
34: //$MailMessage->subject("Vorteq Coil Finishers - New Sales Order Acknowledgement(s) ".$this->_customerID.' ('.implode(', ',array_map(function($val){return $val['OrderNum'];},$this->_orders)).')');
|
|
35: $MailMessage->line('New sales order acknowledgements are ready for your review.');
|
|
>> 36: $MailMessage->line('The following links will download the latest version of these documents from the Quest client portal. If you need to setup your Quest account please click <a href="'.action('Auth\AccountRequestController@getRequestForm').'">here</a>. For your convenience the sales order acknowledgements are also attached to this email.');
|
|
37: //$MailMessage->line($this->_companyName);
|
|
38: foreach($this->_orders as $orderInfoSingle)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Providers\AppServiceProvider.php
|
|
================================================================================
|
|
Line 20 [match: epicor]:
|
|
18:
|
|
19: $this->app->singleton('App\Services\QuestPageValues');
|
|
>> 20: $this->app->singleton('App\Services\EpicorDatabase');
|
|
21: $this->app->singleton('App\Services\InventoryHelper');
|
|
22: $this->app->singleton('App\Services\SelectedCompanyProvider');
|
|
|
|
Line 20 [match: Epicor]:
|
|
18:
|
|
19: $this->app->singleton('App\Services\QuestPageValues');
|
|
>> 20: $this->app->singleton('App\Services\EpicorDatabase');
|
|
21: $this->app->singleton('App\Services\InventoryHelper');
|
|
22: $this->app->singleton('App\Services\SelectedCompanyProvider');
|
|
|
|
Line 20 [match: EPICOR]:
|
|
18:
|
|
19: $this->app->singleton('App\Services\QuestPageValues');
|
|
>> 20: $this->app->singleton('App\Services\EpicorDatabase');
|
|
21: $this->app->singleton('App\Services\InventoryHelper');
|
|
22: $this->app->singleton('App\Services\SelectedCompanyProvider');
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Providers\ModelServiceProvider.php
|
|
================================================================================
|
|
Line 620 [match: wave]:
|
|
618: });
|
|
619:
|
|
>> 620: // register wave_Process repository
|
|
621: $this->app->singleton('App\Model\Repos\wave_Process', function(Application $app){
|
|
622: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
|
|
Line 621 [match: wave]:
|
|
619:
|
|
620: // register wave_Process repository
|
|
>> 621: $this->app->singleton('App\Model\Repos\wave_Process', function(Application $app){
|
|
622: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
623: $EMContainer = $app->make('Savvior\Doctrine\EMContainer');
|
|
|
|
Line 626 [match: wave]:
|
|
624: /** @var \Illuminate\Contracts\Config\Repository $AppConfig */
|
|
625: $AppConfig = $app->make('config');
|
|
>> 626: return $EMContainer->getEM($AppConfig->get('database.default'))->getRepository('App\Model\Entities\wave_Process');
|
|
627: });
|
|
628:
|
|
|
|
Line 629 [match: wave]:
|
|
627: });
|
|
628:
|
|
>> 629: // register wave_ProcessHistory repository
|
|
630: $this->app->singleton('App\Model\Repos\wave_ProcessHistory', function(Application $app){
|
|
631: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
|
|
Line 630 [match: wave]:
|
|
628:
|
|
629: // register wave_ProcessHistory repository
|
|
>> 630: $this->app->singleton('App\Model\Repos\wave_ProcessHistory', function(Application $app){
|
|
631: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
632: $EMContainer = $app->make('Savvior\Doctrine\EMContainer');
|
|
|
|
Line 635 [match: wave]:
|
|
633: /** @var \Illuminate\Contracts\Config\Repository $AppConfig */
|
|
634: $AppConfig = $app->make('config');
|
|
>> 635: return $EMContainer->getEM($AppConfig->get('database.default'))->getRepository('App\Model\Entities\wave_ProcessHistory');
|
|
636: });
|
|
637:
|
|
|
|
Line 620 [match: Wave]:
|
|
618: });
|
|
619:
|
|
>> 620: // register wave_Process repository
|
|
621: $this->app->singleton('App\Model\Repos\wave_Process', function(Application $app){
|
|
622: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
|
|
Line 621 [match: Wave]:
|
|
619:
|
|
620: // register wave_Process repository
|
|
>> 621: $this->app->singleton('App\Model\Repos\wave_Process', function(Application $app){
|
|
622: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
623: $EMContainer = $app->make('Savvior\Doctrine\EMContainer');
|
|
|
|
Line 626 [match: Wave]:
|
|
624: /** @var \Illuminate\Contracts\Config\Repository $AppConfig */
|
|
625: $AppConfig = $app->make('config');
|
|
>> 626: return $EMContainer->getEM($AppConfig->get('database.default'))->getRepository('App\Model\Entities\wave_Process');
|
|
627: });
|
|
628:
|
|
|
|
Line 629 [match: Wave]:
|
|
627: });
|
|
628:
|
|
>> 629: // register wave_ProcessHistory repository
|
|
630: $this->app->singleton('App\Model\Repos\wave_ProcessHistory', function(Application $app){
|
|
631: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
|
|
Line 630 [match: Wave]:
|
|
628:
|
|
629: // register wave_ProcessHistory repository
|
|
>> 630: $this->app->singleton('App\Model\Repos\wave_ProcessHistory', function(Application $app){
|
|
631: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
632: $EMContainer = $app->make('Savvior\Doctrine\EMContainer');
|
|
|
|
Line 635 [match: Wave]:
|
|
633: /** @var \Illuminate\Contracts\Config\Repository $AppConfig */
|
|
634: $AppConfig = $app->make('config');
|
|
>> 635: return $EMContainer->getEM($AppConfig->get('database.default'))->getRepository('App\Model\Entities\wave_ProcessHistory');
|
|
636: });
|
|
637:
|
|
|
|
Line 620 [match: WAVE]:
|
|
618: });
|
|
619:
|
|
>> 620: // register wave_Process repository
|
|
621: $this->app->singleton('App\Model\Repos\wave_Process', function(Application $app){
|
|
622: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
|
|
Line 621 [match: WAVE]:
|
|
619:
|
|
620: // register wave_Process repository
|
|
>> 621: $this->app->singleton('App\Model\Repos\wave_Process', function(Application $app){
|
|
622: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
623: $EMContainer = $app->make('Savvior\Doctrine\EMContainer');
|
|
|
|
Line 626 [match: WAVE]:
|
|
624: /** @var \Illuminate\Contracts\Config\Repository $AppConfig */
|
|
625: $AppConfig = $app->make('config');
|
|
>> 626: return $EMContainer->getEM($AppConfig->get('database.default'))->getRepository('App\Model\Entities\wave_Process');
|
|
627: });
|
|
628:
|
|
|
|
Line 629 [match: WAVE]:
|
|
627: });
|
|
628:
|
|
>> 629: // register wave_ProcessHistory repository
|
|
630: $this->app->singleton('App\Model\Repos\wave_ProcessHistory', function(Application $app){
|
|
631: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
|
|
Line 630 [match: WAVE]:
|
|
628:
|
|
629: // register wave_ProcessHistory repository
|
|
>> 630: $this->app->singleton('App\Model\Repos\wave_ProcessHistory', function(Application $app){
|
|
631: /** @var \Savvior\Doctrine\EMContainer $EMContainer */
|
|
632: $EMContainer = $app->make('Savvior\Doctrine\EMContainer');
|
|
|
|
Line 635 [match: WAVE]:
|
|
633: /** @var \Illuminate\Contracts\Config\Repository $AppConfig */
|
|
634: $AppConfig = $app->make('config');
|
|
>> 635: return $EMContainer->getEM($AppConfig->get('database.default'))->getRepository('App\Model\Entities\wave_ProcessHistory');
|
|
636: });
|
|
637:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\APCheckProcessing\CreateCSV.php
|
|
================================================================================
|
|
Line 6 [match: epicor]:
|
|
4: $conn = $this->connRO;
|
|
5:
|
|
>> 6: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/header.sql");
|
|
7: $sth = $conn->prepare($sql);
|
|
8: $sth->execute();
|
|
|
|
Line 153 [match: epicor]:
|
|
151:
|
|
152:
|
|
>> 153: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/invoicelines.sql");
|
|
154: $sth = $conn->prepare($sql);
|
|
155: $sth->execute([':CHECKNUM' => $checkNum]);
|
|
|
|
Line 225 [match: epicor]:
|
|
223:
|
|
224:
|
|
>> 225: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/footer.sql");
|
|
226: $sth = $conn->prepare($sql);
|
|
227: $sth->execute();
|
|
|
|
Line 6 [match: Epicor]:
|
|
4: $conn = $this->connRO;
|
|
5:
|
|
>> 6: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/header.sql");
|
|
7: $sth = $conn->prepare($sql);
|
|
8: $sth->execute();
|
|
|
|
Line 153 [match: Epicor]:
|
|
151:
|
|
152:
|
|
>> 153: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/invoicelines.sql");
|
|
154: $sth = $conn->prepare($sql);
|
|
155: $sth->execute([':CHECKNUM' => $checkNum]);
|
|
|
|
Line 225 [match: Epicor]:
|
|
223:
|
|
224:
|
|
>> 225: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/footer.sql");
|
|
226: $sth = $conn->prepare($sql);
|
|
227: $sth->execute();
|
|
|
|
Line 6 [match: EPICOR]:
|
|
4: $conn = $this->connRO;
|
|
5:
|
|
>> 6: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/header.sql");
|
|
7: $sth = $conn->prepare($sql);
|
|
8: $sth->execute();
|
|
|
|
Line 153 [match: EPICOR]:
|
|
151:
|
|
152:
|
|
>> 153: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/invoicelines.sql");
|
|
154: $sth = $conn->prepare($sql);
|
|
155: $sth->execute([':CHECKNUM' => $checkNum]);
|
|
|
|
Line 225 [match: EPICOR]:
|
|
223:
|
|
224:
|
|
>> 225: $sql = file_get_contents(__DIR__."/../epicoreSQL/AP-CheckProcessing/footer.sql");
|
|
226: $sth = $conn->prepare($sql);
|
|
227: $sth->execute();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\CoilAllocation\AllocCart.php
|
|
================================================================================
|
|
Line 79 [match: epicor]:
|
|
77: else
|
|
78: {
|
|
>> 79: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
|
|
Line 80 [match: epicor]:
|
|
78: {
|
|
79: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
>> 80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
82: $this->dbAllocation = $ROAllocReuestRepo->getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
|
|
Line 82 [match: epicor]:
|
|
80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
>> 82: $this->dbAllocation = $ROAllocReuestRepo->getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
83: }
|
|
84: } catch(NonUniqueResultException $e) { // should realistically never happen due to IDX_ShipmentRequestSingleOpenCartConstraint
|
|
|
|
Line 79 [match: Epicor]:
|
|
77: else
|
|
78: {
|
|
>> 79: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
|
|
Line 80 [match: Epicor]:
|
|
78: {
|
|
79: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
>> 80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
82: $this->dbAllocation = $ROAllocReuestRepo->getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
|
|
Line 82 [match: Epicor]:
|
|
80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
>> 82: $this->dbAllocation = $ROAllocReuestRepo->getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
83: }
|
|
84: } catch(NonUniqueResultException $e) { // should realistically never happen due to IDX_ShipmentRequestSingleOpenCartConstraint
|
|
|
|
Line 79 [match: EPICOR]:
|
|
77: else
|
|
78: {
|
|
>> 79: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
|
|
Line 80 [match: EPICOR]:
|
|
78: {
|
|
79: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
>> 80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
82: $this->dbAllocation = $ROAllocReuestRepo->getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
|
|
Line 82 [match: EPICOR]:
|
|
80: if(is_null($EpicorCustID))
|
|
81: return;
|
|
>> 82: $this->dbAllocation = $ROAllocReuestRepo->getOpenAllocationWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
83: }
|
|
84: } catch(NonUniqueResultException $e) { // should realistically never happen due to IDX_ShipmentRequestSingleOpenCartConstraint
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\EpicorMetadata\EntityMetadata.php
|
|
================================================================================
|
|
Line 1 [match: epicor]:
|
|
>> 1: <?php namespace App\Services\EpicorMetadata;
|
|
2:
|
|
3: class EntityMetadata extends \Savvior\Metadata\EntityMetadata
|
|
|
|
Line 1 [match: Epicor]:
|
|
>> 1: <?php namespace App\Services\EpicorMetadata;
|
|
2:
|
|
3: class EntityMetadata extends \Savvior\Metadata\EntityMetadata
|
|
|
|
Line 1 [match: EPICOR]:
|
|
>> 1: <?php namespace App\Services\EpicorMetadata;
|
|
2:
|
|
3: class EntityMetadata extends \Savvior\Metadata\EntityMetadata
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\InputValidators\UniqueEpicorCustID.php
|
|
================================================================================
|
|
Line 7 [match: epicor]:
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
6:
|
|
>> 7: class UniqueEpicorCustID implements InputValidatorInterface
|
|
8: {
|
|
9: protected $currentCompanyID = null;
|
|
|
|
Line 12 [match: epicor]:
|
|
10:
|
|
11: /**
|
|
>> 12: * UniqueEpicorCustID constructor.
|
|
13: * @param int|null $CompanyID
|
|
14: */
|
|
|
|
Line 45 [match: epicor]:
|
|
43: $value = strtoupper($value);
|
|
44:
|
|
>> 45: $ExistingCompany = $ROQuestCompanyRepo->findOneBy(['EpicorCustID' => $value]);
|
|
46: if(!is_object($ExistingCompany))
|
|
47: return true;
|
|
|
|
Line 7 [match: Epicor]:
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
6:
|
|
>> 7: class UniqueEpicorCustID implements InputValidatorInterface
|
|
8: {
|
|
9: protected $currentCompanyID = null;
|
|
|
|
Line 12 [match: Epicor]:
|
|
10:
|
|
11: /**
|
|
>> 12: * UniqueEpicorCustID constructor.
|
|
13: * @param int|null $CompanyID
|
|
14: */
|
|
|
|
Line 45 [match: Epicor]:
|
|
43: $value = strtoupper($value);
|
|
44:
|
|
>> 45: $ExistingCompany = $ROQuestCompanyRepo->findOneBy(['EpicorCustID' => $value]);
|
|
46: if(!is_object($ExistingCompany))
|
|
47: return true;
|
|
|
|
Line 7 [match: EPICOR]:
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
6:
|
|
>> 7: class UniqueEpicorCustID implements InputValidatorInterface
|
|
8: {
|
|
9: protected $currentCompanyID = null;
|
|
|
|
Line 12 [match: EPICOR]:
|
|
10:
|
|
11: /**
|
|
>> 12: * UniqueEpicorCustID constructor.
|
|
13: * @param int|null $CompanyID
|
|
14: */
|
|
|
|
Line 45 [match: EPICOR]:
|
|
43: $value = strtoupper($value);
|
|
44:
|
|
>> 45: $ExistingCompany = $ROQuestCompanyRepo->findOneBy(['EpicorCustID' => $value]);
|
|
46: if(!is_object($ExistingCompany))
|
|
47: return true;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\InputValidators\ValidEpicorCustID.php
|
|
================================================================================
|
|
Line 3 [match: epicor]:
|
|
1: <?php namespace App\Services\InputValidators;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Savvior\FormBuilder\Element\Input\InputInterface;
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
|
|
Line 7 [match: epicor]:
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
6:
|
|
>> 7: class ValidEpicorCustID implements InputValidatorInterface
|
|
8: {
|
|
9: protected $currentCompanyID = null;
|
|
|
|
Line 26 [match: epicor]:
|
|
24: public function testValue($value)
|
|
25: {
|
|
>> 26: /** @var EpicorDatabase $EpicorDatabase */
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
|
|
Line 27 [match: epicor]:
|
|
25: {
|
|
26: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
29: return ($EpicorDatabase->getCustInfoIfExists($value) !== FALSE);
|
|
|
|
Line 29 [match: epicor]:
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
>> 29: return ($EpicorDatabase->getCustInfoIfExists($value) !== FALSE);
|
|
30: }
|
|
31:
|
|
|
|
Line 38 [match: epicor]:
|
|
36: public function getError($fieldLabel)
|
|
37: {
|
|
>> 38: return 'The Customer ID entered does not exist in Epicor';
|
|
39: }
|
|
40:
|
|
|
|
Line 3 [match: Epicor]:
|
|
1: <?php namespace App\Services\InputValidators;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Savvior\FormBuilder\Element\Input\InputInterface;
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
|
|
Line 7 [match: Epicor]:
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
6:
|
|
>> 7: class ValidEpicorCustID implements InputValidatorInterface
|
|
8: {
|
|
9: protected $currentCompanyID = null;
|
|
|
|
Line 26 [match: Epicor]:
|
|
24: public function testValue($value)
|
|
25: {
|
|
>> 26: /** @var EpicorDatabase $EpicorDatabase */
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
|
|
Line 27 [match: Epicor]:
|
|
25: {
|
|
26: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
29: return ($EpicorDatabase->getCustInfoIfExists($value) !== FALSE);
|
|
|
|
Line 29 [match: Epicor]:
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
>> 29: return ($EpicorDatabase->getCustInfoIfExists($value) !== FALSE);
|
|
30: }
|
|
31:
|
|
|
|
Line 38 [match: Epicor]:
|
|
36: public function getError($fieldLabel)
|
|
37: {
|
|
>> 38: return 'The Customer ID entered does not exist in Epicor';
|
|
39: }
|
|
40:
|
|
|
|
Line 3 [match: EPICOR]:
|
|
1: <?php namespace App\Services\InputValidators;
|
|
2:
|
|
>> 3: use App\Services\EpicorDatabase;
|
|
4: use Savvior\FormBuilder\Element\Input\InputInterface;
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
|
|
Line 7 [match: EPICOR]:
|
|
5: use Savvior\FormBuilder\InputValidator\InputValidatorInterface;
|
|
6:
|
|
>> 7: class ValidEpicorCustID implements InputValidatorInterface
|
|
8: {
|
|
9: protected $currentCompanyID = null;
|
|
|
|
Line 26 [match: EPICOR]:
|
|
24: public function testValue($value)
|
|
25: {
|
|
>> 26: /** @var EpicorDatabase $EpicorDatabase */
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
|
|
Line 27 [match: EPICOR]:
|
|
25: {
|
|
26: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
29: return ($EpicorDatabase->getCustInfoIfExists($value) !== FALSE);
|
|
|
|
Line 29 [match: EPICOR]:
|
|
27: $EpicorDatabase = app(EpicorDatabase::class);
|
|
28:
|
|
>> 29: return ($EpicorDatabase->getCustInfoIfExists($value) !== FALSE);
|
|
30: }
|
|
31:
|
|
|
|
Line 38 [match: EPICOR]:
|
|
36: public function getError($fieldLabel)
|
|
37: {
|
|
>> 38: return 'The Customer ID entered does not exist in Epicor';
|
|
39: }
|
|
40:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\TaskScheduler\Task\QuestReport\BaseQuestReportWithCompanyAndFormat.php
|
|
================================================================================
|
|
Line 33 [match: epicor]:
|
|
31: throw new \Exception('Owner not found');
|
|
32:
|
|
>> 33: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
34: $CompanySelectionOptions = [];
|
|
35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 35 [match: epicor]:
|
|
33: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
34: $CompanySelectionOptions = [];
|
|
>> 35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
36: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
37:
|
|
|
|
Line 36 [match: epicor]:
|
|
34: $CompanySelectionOptions = [];
|
|
35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
>> 36: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
37:
|
|
38: return new TaskParameterCollection([
|
|
|
|
Line 39 [match: epicor]:
|
|
37:
|
|
38: return new TaskParameterCollection([
|
|
>> 39: new TaskParameter('COMPANY','Company/Location',true,TaskParameterInterface::VALUE_TYPE_SELECT,(sizeof($ActiveUserCompaniesByEpicorCustID) === 1 ? array_keys($ActiveUserCompaniesByEpicorCustID)[0] : null),$CompanySelectionOptions),
|
|
40: new TaskParameter('FORMAT','Format',true,TaskParameterInterface::VALUE_TYPE_SELECT, null, [
|
|
41: 'excel' => 'Excel',
|
|
|
|
Line 61 [match: epicor]:
|
|
59:
|
|
60: $QuestUser = $ROQuestUserRepo->getQuestUserWithAllCompanyInformation($OwnerID);
|
|
>> 61: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
62:
|
|
63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
|
|
Line 63 [match: epicor]:
|
|
61: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
62:
|
|
>> 63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
64:
|
|
65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
|
|
Line 65 [match: epicor]:
|
|
63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
64:
|
|
>> 65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
|
|
Line 66 [match: epicor]:
|
|
64:
|
|
65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
>> 66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
68: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($ReportCompanyEpicorCustID);
|
|
|
|
Line 68 [match: epicor]:
|
|
66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
>> 68: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($ReportCompanyEpicorCustID);
|
|
69:
|
|
70: $Notification = $this->_getReportNotification($parameterData['FORMAT'], $QuestUser, $SelectedCompanyProvider->getSelectedCompany());
|
|
|
|
Line 33 [match: Epicor]:
|
|
31: throw new \Exception('Owner not found');
|
|
32:
|
|
>> 33: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
34: $CompanySelectionOptions = [];
|
|
35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 35 [match: Epicor]:
|
|
33: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
34: $CompanySelectionOptions = [];
|
|
>> 35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
36: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
37:
|
|
|
|
Line 36 [match: Epicor]:
|
|
34: $CompanySelectionOptions = [];
|
|
35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
>> 36: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
37:
|
|
38: return new TaskParameterCollection([
|
|
|
|
Line 39 [match: Epicor]:
|
|
37:
|
|
38: return new TaskParameterCollection([
|
|
>> 39: new TaskParameter('COMPANY','Company/Location',true,TaskParameterInterface::VALUE_TYPE_SELECT,(sizeof($ActiveUserCompaniesByEpicorCustID) === 1 ? array_keys($ActiveUserCompaniesByEpicorCustID)[0] : null),$CompanySelectionOptions),
|
|
40: new TaskParameter('FORMAT','Format',true,TaskParameterInterface::VALUE_TYPE_SELECT, null, [
|
|
41: 'excel' => 'Excel',
|
|
|
|
Line 61 [match: Epicor]:
|
|
59:
|
|
60: $QuestUser = $ROQuestUserRepo->getQuestUserWithAllCompanyInformation($OwnerID);
|
|
>> 61: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
62:
|
|
63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
|
|
Line 63 [match: Epicor]:
|
|
61: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
62:
|
|
>> 63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
64:
|
|
65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
|
|
Line 65 [match: Epicor]:
|
|
63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
64:
|
|
>> 65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
|
|
Line 66 [match: Epicor]:
|
|
64:
|
|
65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
>> 66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
68: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($ReportCompanyEpicorCustID);
|
|
|
|
Line 68 [match: Epicor]:
|
|
66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
>> 68: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($ReportCompanyEpicorCustID);
|
|
69:
|
|
70: $Notification = $this->_getReportNotification($parameterData['FORMAT'], $QuestUser, $SelectedCompanyProvider->getSelectedCompany());
|
|
|
|
Line 33 [match: EPICOR]:
|
|
31: throw new \Exception('Owner not found');
|
|
32:
|
|
>> 33: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
34: $CompanySelectionOptions = [];
|
|
35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 35 [match: EPICOR]:
|
|
33: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
34: $CompanySelectionOptions = [];
|
|
>> 35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
36: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
37:
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34: $CompanySelectionOptions = [];
|
|
35: foreach($ActiveUserCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
>> 36: $CompanySelectionOptions[$EpicorCustID] = $Company->getCalcDisplayName();
|
|
37:
|
|
38: return new TaskParameterCollection([
|
|
|
|
Line 39 [match: EPICOR]:
|
|
37:
|
|
38: return new TaskParameterCollection([
|
|
>> 39: new TaskParameter('COMPANY','Company/Location',true,TaskParameterInterface::VALUE_TYPE_SELECT,(sizeof($ActiveUserCompaniesByEpicorCustID) === 1 ? array_keys($ActiveUserCompaniesByEpicorCustID)[0] : null),$CompanySelectionOptions),
|
|
40: new TaskParameter('FORMAT','Format',true,TaskParameterInterface::VALUE_TYPE_SELECT, null, [
|
|
41: 'excel' => 'Excel',
|
|
|
|
Line 61 [match: EPICOR]:
|
|
59:
|
|
60: $QuestUser = $ROQuestUserRepo->getQuestUserWithAllCompanyInformation($OwnerID);
|
|
>> 61: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
62:
|
|
63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
|
|
Line 63 [match: EPICOR]:
|
|
61: $ActiveUserCompaniesByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($QuestUser);
|
|
62:
|
|
>> 63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
64:
|
|
65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
|
|
Line 65 [match: EPICOR]:
|
|
63: $ReportCompanyEpicorCustID = $parameterData['COMPANY'];
|
|
64:
|
|
>> 65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
|
|
Line 66 [match: EPICOR]:
|
|
64:
|
|
65: if(!in_array($ReportCompanyEpicorCustID, array_keys($ActiveUserCompaniesByEpicorCustID)))
|
|
>> 66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
68: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($ReportCompanyEpicorCustID);
|
|
|
|
Line 68 [match: EPICOR]:
|
|
66: throw new \Exception('User does not have access to company '.$ReportCompanyEpicorCustID.' data or the company is not active');
|
|
67:
|
|
>> 68: $SelectedCompanyProvider->setSelectedCompanyEpicorCustID($ReportCompanyEpicorCustID);
|
|
69:
|
|
70: $Notification = $this->_getReportNotification($parameterData['FORMAT'], $QuestUser, $SelectedCompanyProvider->getSelectedCompany());
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\EdiFileBase.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\EdiFilePRIECOP.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\EdiFilePRIPRD1.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\EdiFilePRIPRD2.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\EdiFilePRIRC.php
|
|
================================================================================
|
|
Line 10 [match: FROM ]:
|
|
8: /**
|
|
9: *
|
|
>> 10: * Prior Coated Metals Receipt from a Galvanizing Mill
|
|
11: *
|
|
12: * FORMAT:
|
|
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 13 [match: wave]:
|
|
11: *
|
|
12: * FORMAT:
|
|
>> 13: * Purchase Order # and Line # (Note purchase order is the number given to the mill by WAVE)
|
|
14: * Customer Part #
|
|
15: * Bill of Landing
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 13 [match: Wave]:
|
|
11: *
|
|
12: * FORMAT:
|
|
>> 13: * Purchase Order # and Line # (Note purchase order is the number given to the mill by WAVE)
|
|
14: * Customer Part #
|
|
15: * Bill of Landing
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use Savvior\LEdi\EdiFile;
|
|
|
|
Line 13 [match: WAVE]:
|
|
11: *
|
|
12: * FORMAT:
|
|
>> 13: * Purchase Order # and Line # (Note purchase order is the number given to the mill by WAVE)
|
|
14: * Customer Part #
|
|
15: * Bill of Landing
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\EdiFilePRISHIP.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5:
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5:
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\WaveService.php
|
|
================================================================================
|
|
Line 36 [match: epicor]:
|
|
34:
|
|
35:
|
|
>> 36: private $epicorConnRO;
|
|
37:
|
|
38: /** @var \App\Model\Entities\wave_Process|null */
|
|
|
|
Line 137 [match: epicor]:
|
|
135: {
|
|
136: $this->connRO = $EMs->getEM('wave_ro')->getConnection()->getNativeConnection();
|
|
>> 137: $this->epicorConnRO = $EMs->getEM('epicor_ro')->getConnection()->getNativeConnection();
|
|
138: }
|
|
139:
|
|
|
|
Line 322 [match: epicor]:
|
|
320:
|
|
321:
|
|
>> 322: $query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory.'/' . $queryFileName . '.sql'));
|
|
323:
|
|
324: echo "\n\n===========\n\n".__DIR__ . '/../'.$this->sqlDirectory.'/' . $queryFileName . '.sql'."\n\n===========\n\n";
|
|
|
|
Line 393 [match: epicor]:
|
|
391: // Build the query
|
|
392:
|
|
>> 393: $Query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory.'/' . $file['query'] . '.sql'));
|
|
394:
|
|
395:
|
|
|
|
Line 493 [match: epicor]:
|
|
491: {
|
|
492: try{
|
|
>> 493: $Query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory . '/prieop.sql'));
|
|
494:
|
|
495: echo "\n\n==================\n\n";
|
|
|
|
Line 36 [match: Epicor]:
|
|
34:
|
|
35:
|
|
>> 36: private $epicorConnRO;
|
|
37:
|
|
38: /** @var \App\Model\Entities\wave_Process|null */
|
|
|
|
Line 137 [match: Epicor]:
|
|
135: {
|
|
136: $this->connRO = $EMs->getEM('wave_ro')->getConnection()->getNativeConnection();
|
|
>> 137: $this->epicorConnRO = $EMs->getEM('epicor_ro')->getConnection()->getNativeConnection();
|
|
138: }
|
|
139:
|
|
|
|
Line 322 [match: Epicor]:
|
|
320:
|
|
321:
|
|
>> 322: $query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory.'/' . $queryFileName . '.sql'));
|
|
323:
|
|
324: echo "\n\n===========\n\n".__DIR__ . '/../'.$this->sqlDirectory.'/' . $queryFileName . '.sql'."\n\n===========\n\n";
|
|
|
|
Line 393 [match: Epicor]:
|
|
391: // Build the query
|
|
392:
|
|
>> 393: $Query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory.'/' . $file['query'] . '.sql'));
|
|
394:
|
|
395:
|
|
|
|
Line 493 [match: Epicor]:
|
|
491: {
|
|
492: try{
|
|
>> 493: $Query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory . '/prieop.sql'));
|
|
494:
|
|
495: echo "\n\n==================\n\n";
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34:
|
|
35:
|
|
>> 36: private $epicorConnRO;
|
|
37:
|
|
38: /** @var \App\Model\Entities\wave_Process|null */
|
|
|
|
Line 137 [match: EPICOR]:
|
|
135: {
|
|
136: $this->connRO = $EMs->getEM('wave_ro')->getConnection()->getNativeConnection();
|
|
>> 137: $this->epicorConnRO = $EMs->getEM('epicor_ro')->getConnection()->getNativeConnection();
|
|
138: }
|
|
139:
|
|
|
|
Line 322 [match: EPICOR]:
|
|
320:
|
|
321:
|
|
>> 322: $query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory.'/' . $queryFileName . '.sql'));
|
|
323:
|
|
324: echo "\n\n===========\n\n".__DIR__ . '/../'.$this->sqlDirectory.'/' . $queryFileName . '.sql'."\n\n===========\n\n";
|
|
|
|
Line 393 [match: EPICOR]:
|
|
391: // Build the query
|
|
392:
|
|
>> 393: $Query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory.'/' . $file['query'] . '.sql'));
|
|
394:
|
|
395:
|
|
|
|
Line 493 [match: EPICOR]:
|
|
491: {
|
|
492: try{
|
|
>> 493: $Query = $this->epicorConnRO->prepare(file_get_contents(__DIR__ . '/../'.$this->sqlDirectory . '/prieop.sql'));
|
|
494:
|
|
495: echo "\n\n==================\n\n";
|
|
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
|
|
Line 7 [match: wave]:
|
|
5: use App\Model\Entities\quest_User;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
|
|
Line 8 [match: wave]:
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
>> 8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
|
|
Line 9 [match: wave]:
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
>> 9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
>> 10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
|
|
Line 11 [match: wave]:
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
>> 11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
|
|
Line 12 [match: wave]:
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
>> 12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
|
|
Line 13 [match: wave]:
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
>> 13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
|
|
Line 14 [match: wave]:
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
>> 14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
16:
|
|
|
|
Line 17 [match: wave]:
|
|
15:
|
|
16:
|
|
>> 17: use App\Notifications\WaveEDI\WaveSLProductionMissingPartNumber;
|
|
18: use Carbon\Carbon;
|
|
19: use Doctrine\DBAL\Connection;
|
|
|
|
Line 30 [match: wave]:
|
|
28: use Symfony\Component\Process\Process;
|
|
29:
|
|
>> 30: class WaveService
|
|
31: {
|
|
32:
|
|
|
|
Line 38 [match: wave]:
|
|
36: private $epicorConnRO;
|
|
37:
|
|
>> 38: /** @var \App\Model\Entities\wave_Process|null */
|
|
39: public $wave_Process;
|
|
40:
|
|
|
|
Line 39 [match: wave]:
|
|
37:
|
|
38: /** @var \App\Model\Entities\wave_Process|null */
|
|
>> 39: public $wave_Process;
|
|
40:
|
|
41: /** @var bool */
|
|
|
|
Line 51 [match: wave]:
|
|
49:
|
|
50:
|
|
>> 51: protected $sqlDirectory = "waveSQL";
|
|
52: protected $suffix = "";
|
|
53:
|
|
|
|
Line 66 [match: wave]:
|
|
64:
|
|
65: /**
|
|
>> 66: * @return \App\Model\Entities\wave_Process|null
|
|
67: */
|
|
68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
|
|
Line 68 [match: wave]:
|
|
66: * @return \App\Model\Entities\wave_Process|null
|
|
67: */
|
|
>> 68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
69: {
|
|
70: return $this->wave_Process;
|
|
|
|
Line 70 [match: wave]:
|
|
68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
69: {
|
|
>> 70: return $this->wave_Process;
|
|
71: }
|
|
72:
|
|
|
|
Line 74 [match: wave]:
|
|
72:
|
|
73: /**
|
|
>> 74: * @param \App\Model\Entities\wave_Process|null $wave_Process
|
|
75: */
|
|
76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
|
|
Line 76 [match: wave]:
|
|
74: * @param \App\Model\Entities\wave_Process|null $wave_Process
|
|
75: */
|
|
>> 76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
77: {
|
|
78: $this->wave_Process = $wave_Process;
|
|
|
|
Line 78 [match: wave]:
|
|
76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
77: {
|
|
>> 78: $this->wave_Process = $wave_Process;
|
|
79: }
|
|
80:
|
|
|
|
Line 136 [match: wave]:
|
|
134: public function __construct(EMContainer $EMs)
|
|
135: {
|
|
>> 136: $this->connRO = $EMs->getEM('wave_ro')->getConnection()->getNativeConnection();
|
|
137: $this->epicorConnRO = $EMs->getEM('epicor_ro')->getConnection()->getNativeConnection();
|
|
138: }
|
|
|
|
Line 154 [match: wave]:
|
|
152: // the same thing, so if the running process is one of these, they
|
|
153: // will use the "runGenericProcess()" function
|
|
>> 154: // NOTE: These array keys match the CodingKey on wave_Process table
|
|
155: // could probably move this data into the database (TODO?)
|
|
156: $processes = [
|
|
|
|
Line 159 [match: wave]:
|
|
157: 'WO_CUSTOMER_PART_NUMBER' => [
|
|
158: 'queryFileName' => 'partsWoCustomerPartNumber',
|
|
>> 159: 'emailClass' => WavePartsWoCustomerPartNumber::class,
|
|
160: 'columns' => ['PartNum', 'PartDescription'],
|
|
161: 'queryHasDate' => false
|
|
|
|
Line 165 [match: wave]:
|
|
163: 'MISSING_PART_NUMBER_SL' => [
|
|
164: 'queryFileName' => 'slProduction',
|
|
>> 165: 'emailClass' => WaveSLProductionMissingPartNumber::class,
|
|
166: 'columns' => ['SysDate', 'TranDate', 'XPartNum', 'LotNum', 'MasterLotNum_c', 'SkidNum_c', 'Plant', 'JobNum', 'PartNum', 'PartDescription', 'ActTransUOM', 'WareHouseCode', 'TranType', 'ActTranQty', 'ProdCode', 'Include', 'Hold', 'ProdWt', 'QtyUsed'],
|
|
167: 'queryHasDate' => true
|
|
|
|
Line 171 [match: wave]:
|
|
169: 'MISSING_PART_NUMBER_PL' => [
|
|
170: 'queryFileName' => 'plProduction',
|
|
>> 171: 'emailClass' => WavePLProductionMissingPartNumber::class,
|
|
172: 'columns' => ['SysDate', 'TranDate', 'XPartNum', 'LotNum', 'MasterLotNum_c', 'SkidNum_c', 'Plant', 'JobNum', 'PartNum', 'PartDescription', 'ActTransUOM', 'WareHouseCode', 'TranType', 'ActTranQty', 'ProdCode', 'Include', 'Hold', 'ProdWt', 'QtyUsed'],
|
|
173: 'queryHasDate' => true
|
|
|
|
Line 177 [match: wave]:
|
|
175: 'MISSING_RAW_METAL' => [
|
|
176: 'queryFileName' => 'missingRawMetalReceiptPo',
|
|
>> 177: 'emailClass' => WaveMissingRawMetalReceiptPo::class,
|
|
178: 'columns' => ['PartTran_Plant','PartTran_SysDate','RcvHead_ReceiptDate','RcvHead_PONum','RcvHead_PackSlip','RcvDtl_POLine','CustXPrt_XPartNum','RcvDtl_PartNum','RcvDtl_PartDescription','RcvDtl_OurQty','RcvDtl_LotNum','RcvDtl_WareHouseCode','RcvDtl_BinNum','PartTran_TranDate','RcvDtl_TranReference','Vendor_VendorID'],
|
|
179: 'queryHasDate' => true
|
|
|
|
Line 183 [match: wave]:
|
|
181: 'WAREHOUSE_FIVE_MOVED_OUT' => [
|
|
182: 'queryFileName' => 'movedOutOfWarehouse05',
|
|
>> 183: 'emailClass' => WaveMovedOutOfWarehouse05::class,
|
|
184: 'columns' => ['ProductionDate','PartNum','WAVE Part Number','PartDescription','ActTranQty','LotNum','WareHouseCode','Bin','TranType'],
|
|
185: 'queryHasDate' => true
|
|
|
|
Line 184 [match: wave]:
|
|
182: 'queryFileName' => 'movedOutOfWarehouse05',
|
|
183: 'emailClass' => WaveMovedOutOfWarehouse05::class,
|
|
>> 184: 'columns' => ['ProductionDate','PartNum','WAVE Part Number','PartDescription','ActTranQty','LotNum','WareHouseCode','Bin','TranType'],
|
|
185: 'queryHasDate' => true
|
|
186: ],
|
|
|
|
Line 189 [match: wave]:
|
|
187: 'WAREHOUSE_FIVE_MOVED_IN' => [
|
|
188: 'queryFileName' => 'movedIntoWarehouse05',
|
|
>> 189: 'emailClass' => WaveMovedIntoWarehouse05::class,
|
|
190: 'columns' => ['Production Date','PartNum','WAVE Part Number','PartDescription','ActTranQty','TranQty','LotNum','WareHouseCode (should be 05)','Bin','TranType'],
|
|
191: 'queryHasDate' => true
|
|
|
|
Line 190 [match: wave]:
|
|
188: 'queryFileName' => 'movedIntoWarehouse05',
|
|
189: 'emailClass' => WaveMovedIntoWarehouse05::class,
|
|
>> 190: 'columns' => ['Production Date','PartNum','WAVE Part Number','PartDescription','ActTranQty','TranQty','LotNum','WareHouseCode (should be 05)','Bin','TranType'],
|
|
191: 'queryHasDate' => true
|
|
192: ],
|
|
|
|
Line 195 [match: wave]:
|
|
193: ];
|
|
194:
|
|
>> 195: if(isset($processes[$this->getWaveProcess()->getCodingKey()]))
|
|
196: {
|
|
197: // This is a process for the "Exception Reports" which all use the generic process function
|
|
|
|
Line 198 [match: wave]:
|
|
196: {
|
|
197: // This is a process for the "Exception Reports" which all use the generic process function
|
|
>> 198: $process = $processes[$this->getWaveProcess()->getCodingKey()];
|
|
199: $results = $this->runGenericProcess($process['queryFileName'], $process['columns'], $process['emailClass'], $process['queryHasDate']);
|
|
200: }
|
|
|
|
Line 201 [match: wave]:
|
|
199: $results = $this->runGenericProcess($process['queryFileName'], $process['columns'], $process['emailClass'], $process['queryHasDate']);
|
|
200: }
|
|
>> 201: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_PRECHECK')
|
|
202: {
|
|
203: // This pre-check is worthless and doesn't do anything,
|
|
|
|
Line 207 [match: wave]:
|
|
205: $results = true;
|
|
206: $this->logProcessHistory('Completed');
|
|
>> 207: $this->sendEmail(WavePrecheck::class, '');
|
|
208: }
|
|
209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
|
|
Line 209 [match: wave]:
|
|
207: $this->sendEmail(WavePrecheck::class, '');
|
|
208: }
|
|
>> 209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
210: {
|
|
211: $results = $this->exportUploadWaveFiles();
|
|
|
|
Line 211 [match: wave]:
|
|
209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
210: {
|
|
>> 211: $results = $this->exportUploadWaveFiles();
|
|
212: }
|
|
213: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_END_OF_MONTH')
|
|
|
|
Line 213 [match: wave]:
|
|
211: $results = $this->exportUploadWaveFiles();
|
|
212: }
|
|
>> 213: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_END_OF_MONTH')
|
|
214: {
|
|
215: $results = $this->endOfMonth();
|
|
|
|
Line 233 [match: wave]:
|
|
231:
|
|
232: /**
|
|
>> 233: * NOTE: This is the only function that cannot use $this->getWaveProcess()
|
|
234: * that is why we are passing it in.
|
|
235: *
|
|
|
|
Line 237 [match: wave]:
|
|
235: *
|
|
236: * @param string $ProcessCodingKey
|
|
>> 237: * @return \App\Model\Entities\wave_Process|bool
|
|
238: * @throws \Exception
|
|
239: */
|
|
|
|
Line 243 [match: wave]:
|
|
241: {
|
|
242: try{
|
|
>> 243: /** @var wave_Process $wave_ProcessRepo */
|
|
244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
|
|
Line 244 [match: wave]:
|
|
242: try{
|
|
243: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 246 [match: wave]:
|
|
244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
>> 246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
|
|
Line 247 [match: wave]:
|
|
245:
|
|
246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
249: return $wave_Process;
|
|
|
|
Line 249 [match: wave]:
|
|
247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
>> 249: return $wave_Process;
|
|
250: }
|
|
251: catch(\Exception $e) {
|
|
|
|
Line 273 [match: wave]:
|
|
271:
|
|
272: // Get the spreadsheet and name the active sheet
|
|
>> 273: $sheet = $this->getSpreadsheet()->getActiveSheet()->setTitle($this->getWaveProcess()->getCodingKey());
|
|
274:
|
|
275: // Set the column values
|
|
|
|
Line 291 [match: wave]:
|
|
289: // Prep the file system for storage
|
|
290: $storagePath = 'edi\\exception-reports\\';
|
|
>> 291: $fileName = $this->getProcessDate() . '-' . $this->getWaveProcess()->getCodingKey() . '-' . time() . '.xlsx';
|
|
292: \Storage::makeDirectory($storagePath);
|
|
293:
|
|
|
|
Line 360 [match: wave]:
|
|
358: * @throws \Exception
|
|
359: */
|
|
>> 360: private function exportUploadWaveFiles()
|
|
361: {
|
|
362: try{
|
|
|
|
Line 471 [match: wave]:
|
|
469: }
|
|
470:
|
|
>> 471: $filePath = "\\\\\wi-fps\wt32new\wave\\QuestTesting\\" . date('Ymd', strtotime($this->getProcessDate()));
|
|
472: $this->sendEmail(WaveFilesExportedAndUploaded::class, $filePath);
|
|
473:
|
|
|
|
Line 472 [match: wave]:
|
|
470:
|
|
471: $filePath = "\\\\\wi-fps\wt32new\wave\\QuestTesting\\" . date('Ymd', strtotime($this->getProcessDate()));
|
|
>> 472: $this->sendEmail(WaveFilesExportedAndUploaded::class, $filePath);
|
|
473:
|
|
474: return true;
|
|
|
|
Line 484 [match: wave]:
|
|
482: /**
|
|
483: * Used once a month to produce a compliant EDI file, does
|
|
>> 484: * basically the same thing as exportUploadWaveFiles() but
|
|
485: * is excluded as it is not run daily.
|
|
486: *
|
|
|
|
Line 545 [match: wave]:
|
|
543: // dd('made it');
|
|
544:
|
|
>> 545: $this->sendEmail(WaveMonthEndInventory::class, $filePath."prieop.txt");
|
|
546:
|
|
547:
|
|
|
|
Line 566 [match: wave]:
|
|
564: {
|
|
565: $emails = [];
|
|
>> 566: $questUsersToNotify = $this->getWaveProcess()->getQuestEmailEvent()->getQuestUser();
|
|
567:
|
|
568: /** @var quest_User $questUserToNotify */
|
|
|
|
Line 600 [match: wave]:
|
|
598: $DataHandler->startTransaction();
|
|
599: $DataHandler->handleInsertUpdate([
|
|
>> 600: 'wave_Process' => ['ID' => $this->getWaveProcess()->getID()],
|
|
601: 'Results' => $Results,
|
|
602: 'WasSuccessful' => $WasSuccessful,
|
|
|
|
Line 606 [match: wave]:
|
|
604: 'ResultsFilePath' => $ResultsFilePath,
|
|
605: 'RanDT' => Carbon::now(),
|
|
>> 606: ], $MetadataFactory->getEntity('wave_ProcessHistory'));
|
|
607:
|
|
608: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 609 [match: wave]:
|
|
607:
|
|
608: $DataHandler->handleInsertUpdate([
|
|
>> 609: 'ID' => $this->getWaveProcess()->getID(),
|
|
610: 'LastRanDT' => Carbon::now()
|
|
611: ], $MetadataFactory->getEntity('wave_Process'));
|
|
|
|
Line 611 [match: wave]:
|
|
609: 'ID' => $this->getWaveProcess()->getID(),
|
|
610: 'LastRanDT' => Carbon::now()
|
|
>> 611: ], $MetadataFactory->getEntity('wave_Process'));
|
|
612: $DataHandler->commitTransaction();
|
|
613: }
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
|
|
Line 7 [match: Wave]:
|
|
5: use App\Model\Entities\quest_User;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
|
|
Line 8 [match: Wave]:
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
>> 8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
|
|
Line 9 [match: Wave]:
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
>> 9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
>> 10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
|
|
Line 11 [match: Wave]:
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
>> 11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
|
|
Line 12 [match: Wave]:
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
>> 12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
|
|
Line 13 [match: Wave]:
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
>> 13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
|
|
Line 14 [match: Wave]:
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
>> 14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
16:
|
|
|
|
Line 17 [match: Wave]:
|
|
15:
|
|
16:
|
|
>> 17: use App\Notifications\WaveEDI\WaveSLProductionMissingPartNumber;
|
|
18: use Carbon\Carbon;
|
|
19: use Doctrine\DBAL\Connection;
|
|
|
|
Line 30 [match: Wave]:
|
|
28: use Symfony\Component\Process\Process;
|
|
29:
|
|
>> 30: class WaveService
|
|
31: {
|
|
32:
|
|
|
|
Line 38 [match: Wave]:
|
|
36: private $epicorConnRO;
|
|
37:
|
|
>> 38: /** @var \App\Model\Entities\wave_Process|null */
|
|
39: public $wave_Process;
|
|
40:
|
|
|
|
Line 39 [match: Wave]:
|
|
37:
|
|
38: /** @var \App\Model\Entities\wave_Process|null */
|
|
>> 39: public $wave_Process;
|
|
40:
|
|
41: /** @var bool */
|
|
|
|
Line 51 [match: Wave]:
|
|
49:
|
|
50:
|
|
>> 51: protected $sqlDirectory = "waveSQL";
|
|
52: protected $suffix = "";
|
|
53:
|
|
|
|
Line 66 [match: Wave]:
|
|
64:
|
|
65: /**
|
|
>> 66: * @return \App\Model\Entities\wave_Process|null
|
|
67: */
|
|
68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
|
|
Line 68 [match: Wave]:
|
|
66: * @return \App\Model\Entities\wave_Process|null
|
|
67: */
|
|
>> 68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
69: {
|
|
70: return $this->wave_Process;
|
|
|
|
Line 70 [match: Wave]:
|
|
68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
69: {
|
|
>> 70: return $this->wave_Process;
|
|
71: }
|
|
72:
|
|
|
|
Line 74 [match: Wave]:
|
|
72:
|
|
73: /**
|
|
>> 74: * @param \App\Model\Entities\wave_Process|null $wave_Process
|
|
75: */
|
|
76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
|
|
Line 76 [match: Wave]:
|
|
74: * @param \App\Model\Entities\wave_Process|null $wave_Process
|
|
75: */
|
|
>> 76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
77: {
|
|
78: $this->wave_Process = $wave_Process;
|
|
|
|
Line 78 [match: Wave]:
|
|
76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
77: {
|
|
>> 78: $this->wave_Process = $wave_Process;
|
|
79: }
|
|
80:
|
|
|
|
Line 136 [match: Wave]:
|
|
134: public function __construct(EMContainer $EMs)
|
|
135: {
|
|
>> 136: $this->connRO = $EMs->getEM('wave_ro')->getConnection()->getNativeConnection();
|
|
137: $this->epicorConnRO = $EMs->getEM('epicor_ro')->getConnection()->getNativeConnection();
|
|
138: }
|
|
|
|
Line 154 [match: Wave]:
|
|
152: // the same thing, so if the running process is one of these, they
|
|
153: // will use the "runGenericProcess()" function
|
|
>> 154: // NOTE: These array keys match the CodingKey on wave_Process table
|
|
155: // could probably move this data into the database (TODO?)
|
|
156: $processes = [
|
|
|
|
Line 159 [match: Wave]:
|
|
157: 'WO_CUSTOMER_PART_NUMBER' => [
|
|
158: 'queryFileName' => 'partsWoCustomerPartNumber',
|
|
>> 159: 'emailClass' => WavePartsWoCustomerPartNumber::class,
|
|
160: 'columns' => ['PartNum', 'PartDescription'],
|
|
161: 'queryHasDate' => false
|
|
|
|
Line 165 [match: Wave]:
|
|
163: 'MISSING_PART_NUMBER_SL' => [
|
|
164: 'queryFileName' => 'slProduction',
|
|
>> 165: 'emailClass' => WaveSLProductionMissingPartNumber::class,
|
|
166: 'columns' => ['SysDate', 'TranDate', 'XPartNum', 'LotNum', 'MasterLotNum_c', 'SkidNum_c', 'Plant', 'JobNum', 'PartNum', 'PartDescription', 'ActTransUOM', 'WareHouseCode', 'TranType', 'ActTranQty', 'ProdCode', 'Include', 'Hold', 'ProdWt', 'QtyUsed'],
|
|
167: 'queryHasDate' => true
|
|
|
|
Line 171 [match: Wave]:
|
|
169: 'MISSING_PART_NUMBER_PL' => [
|
|
170: 'queryFileName' => 'plProduction',
|
|
>> 171: 'emailClass' => WavePLProductionMissingPartNumber::class,
|
|
172: 'columns' => ['SysDate', 'TranDate', 'XPartNum', 'LotNum', 'MasterLotNum_c', 'SkidNum_c', 'Plant', 'JobNum', 'PartNum', 'PartDescription', 'ActTransUOM', 'WareHouseCode', 'TranType', 'ActTranQty', 'ProdCode', 'Include', 'Hold', 'ProdWt', 'QtyUsed'],
|
|
173: 'queryHasDate' => true
|
|
|
|
Line 177 [match: Wave]:
|
|
175: 'MISSING_RAW_METAL' => [
|
|
176: 'queryFileName' => 'missingRawMetalReceiptPo',
|
|
>> 177: 'emailClass' => WaveMissingRawMetalReceiptPo::class,
|
|
178: 'columns' => ['PartTran_Plant','PartTran_SysDate','RcvHead_ReceiptDate','RcvHead_PONum','RcvHead_PackSlip','RcvDtl_POLine','CustXPrt_XPartNum','RcvDtl_PartNum','RcvDtl_PartDescription','RcvDtl_OurQty','RcvDtl_LotNum','RcvDtl_WareHouseCode','RcvDtl_BinNum','PartTran_TranDate','RcvDtl_TranReference','Vendor_VendorID'],
|
|
179: 'queryHasDate' => true
|
|
|
|
Line 183 [match: Wave]:
|
|
181: 'WAREHOUSE_FIVE_MOVED_OUT' => [
|
|
182: 'queryFileName' => 'movedOutOfWarehouse05',
|
|
>> 183: 'emailClass' => WaveMovedOutOfWarehouse05::class,
|
|
184: 'columns' => ['ProductionDate','PartNum','WAVE Part Number','PartDescription','ActTranQty','LotNum','WareHouseCode','Bin','TranType'],
|
|
185: 'queryHasDate' => true
|
|
|
|
Line 184 [match: Wave]:
|
|
182: 'queryFileName' => 'movedOutOfWarehouse05',
|
|
183: 'emailClass' => WaveMovedOutOfWarehouse05::class,
|
|
>> 184: 'columns' => ['ProductionDate','PartNum','WAVE Part Number','PartDescription','ActTranQty','LotNum','WareHouseCode','Bin','TranType'],
|
|
185: 'queryHasDate' => true
|
|
186: ],
|
|
|
|
Line 189 [match: Wave]:
|
|
187: 'WAREHOUSE_FIVE_MOVED_IN' => [
|
|
188: 'queryFileName' => 'movedIntoWarehouse05',
|
|
>> 189: 'emailClass' => WaveMovedIntoWarehouse05::class,
|
|
190: 'columns' => ['Production Date','PartNum','WAVE Part Number','PartDescription','ActTranQty','TranQty','LotNum','WareHouseCode (should be 05)','Bin','TranType'],
|
|
191: 'queryHasDate' => true
|
|
|
|
Line 190 [match: Wave]:
|
|
188: 'queryFileName' => 'movedIntoWarehouse05',
|
|
189: 'emailClass' => WaveMovedIntoWarehouse05::class,
|
|
>> 190: 'columns' => ['Production Date','PartNum','WAVE Part Number','PartDescription','ActTranQty','TranQty','LotNum','WareHouseCode (should be 05)','Bin','TranType'],
|
|
191: 'queryHasDate' => true
|
|
192: ],
|
|
|
|
Line 195 [match: Wave]:
|
|
193: ];
|
|
194:
|
|
>> 195: if(isset($processes[$this->getWaveProcess()->getCodingKey()]))
|
|
196: {
|
|
197: // This is a process for the "Exception Reports" which all use the generic process function
|
|
|
|
Line 198 [match: Wave]:
|
|
196: {
|
|
197: // This is a process for the "Exception Reports" which all use the generic process function
|
|
>> 198: $process = $processes[$this->getWaveProcess()->getCodingKey()];
|
|
199: $results = $this->runGenericProcess($process['queryFileName'], $process['columns'], $process['emailClass'], $process['queryHasDate']);
|
|
200: }
|
|
|
|
Line 201 [match: Wave]:
|
|
199: $results = $this->runGenericProcess($process['queryFileName'], $process['columns'], $process['emailClass'], $process['queryHasDate']);
|
|
200: }
|
|
>> 201: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_PRECHECK')
|
|
202: {
|
|
203: // This pre-check is worthless and doesn't do anything,
|
|
|
|
Line 207 [match: Wave]:
|
|
205: $results = true;
|
|
206: $this->logProcessHistory('Completed');
|
|
>> 207: $this->sendEmail(WavePrecheck::class, '');
|
|
208: }
|
|
209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
|
|
Line 209 [match: Wave]:
|
|
207: $this->sendEmail(WavePrecheck::class, '');
|
|
208: }
|
|
>> 209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
210: {
|
|
211: $results = $this->exportUploadWaveFiles();
|
|
|
|
Line 211 [match: Wave]:
|
|
209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
210: {
|
|
>> 211: $results = $this->exportUploadWaveFiles();
|
|
212: }
|
|
213: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_END_OF_MONTH')
|
|
|
|
Line 213 [match: Wave]:
|
|
211: $results = $this->exportUploadWaveFiles();
|
|
212: }
|
|
>> 213: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_END_OF_MONTH')
|
|
214: {
|
|
215: $results = $this->endOfMonth();
|
|
|
|
Line 233 [match: Wave]:
|
|
231:
|
|
232: /**
|
|
>> 233: * NOTE: This is the only function that cannot use $this->getWaveProcess()
|
|
234: * that is why we are passing it in.
|
|
235: *
|
|
|
|
Line 237 [match: Wave]:
|
|
235: *
|
|
236: * @param string $ProcessCodingKey
|
|
>> 237: * @return \App\Model\Entities\wave_Process|bool
|
|
238: * @throws \Exception
|
|
239: */
|
|
|
|
Line 243 [match: Wave]:
|
|
241: {
|
|
242: try{
|
|
>> 243: /** @var wave_Process $wave_ProcessRepo */
|
|
244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
|
|
Line 244 [match: Wave]:
|
|
242: try{
|
|
243: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 246 [match: Wave]:
|
|
244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
>> 246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
|
|
Line 247 [match: Wave]:
|
|
245:
|
|
246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
249: return $wave_Process;
|
|
|
|
Line 249 [match: Wave]:
|
|
247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
>> 249: return $wave_Process;
|
|
250: }
|
|
251: catch(\Exception $e) {
|
|
|
|
Line 273 [match: Wave]:
|
|
271:
|
|
272: // Get the spreadsheet and name the active sheet
|
|
>> 273: $sheet = $this->getSpreadsheet()->getActiveSheet()->setTitle($this->getWaveProcess()->getCodingKey());
|
|
274:
|
|
275: // Set the column values
|
|
|
|
Line 291 [match: Wave]:
|
|
289: // Prep the file system for storage
|
|
290: $storagePath = 'edi\\exception-reports\\';
|
|
>> 291: $fileName = $this->getProcessDate() . '-' . $this->getWaveProcess()->getCodingKey() . '-' . time() . '.xlsx';
|
|
292: \Storage::makeDirectory($storagePath);
|
|
293:
|
|
|
|
Line 360 [match: Wave]:
|
|
358: * @throws \Exception
|
|
359: */
|
|
>> 360: private function exportUploadWaveFiles()
|
|
361: {
|
|
362: try{
|
|
|
|
Line 471 [match: Wave]:
|
|
469: }
|
|
470:
|
|
>> 471: $filePath = "\\\\\wi-fps\wt32new\wave\\QuestTesting\\" . date('Ymd', strtotime($this->getProcessDate()));
|
|
472: $this->sendEmail(WaveFilesExportedAndUploaded::class, $filePath);
|
|
473:
|
|
|
|
Line 472 [match: Wave]:
|
|
470:
|
|
471: $filePath = "\\\\\wi-fps\wt32new\wave\\QuestTesting\\" . date('Ymd', strtotime($this->getProcessDate()));
|
|
>> 472: $this->sendEmail(WaveFilesExportedAndUploaded::class, $filePath);
|
|
473:
|
|
474: return true;
|
|
|
|
Line 484 [match: Wave]:
|
|
482: /**
|
|
483: * Used once a month to produce a compliant EDI file, does
|
|
>> 484: * basically the same thing as exportUploadWaveFiles() but
|
|
485: * is excluded as it is not run daily.
|
|
486: *
|
|
|
|
Line 545 [match: Wave]:
|
|
543: // dd('made it');
|
|
544:
|
|
>> 545: $this->sendEmail(WaveMonthEndInventory::class, $filePath."prieop.txt");
|
|
546:
|
|
547:
|
|
|
|
Line 566 [match: Wave]:
|
|
564: {
|
|
565: $emails = [];
|
|
>> 566: $questUsersToNotify = $this->getWaveProcess()->getQuestEmailEvent()->getQuestUser();
|
|
567:
|
|
568: /** @var quest_User $questUserToNotify */
|
|
|
|
Line 600 [match: Wave]:
|
|
598: $DataHandler->startTransaction();
|
|
599: $DataHandler->handleInsertUpdate([
|
|
>> 600: 'wave_Process' => ['ID' => $this->getWaveProcess()->getID()],
|
|
601: 'Results' => $Results,
|
|
602: 'WasSuccessful' => $WasSuccessful,
|
|
|
|
Line 606 [match: Wave]:
|
|
604: 'ResultsFilePath' => $ResultsFilePath,
|
|
605: 'RanDT' => Carbon::now(),
|
|
>> 606: ], $MetadataFactory->getEntity('wave_ProcessHistory'));
|
|
607:
|
|
608: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 609 [match: Wave]:
|
|
607:
|
|
608: $DataHandler->handleInsertUpdate([
|
|
>> 609: 'ID' => $this->getWaveProcess()->getID(),
|
|
610: 'LastRanDT' => Carbon::now()
|
|
611: ], $MetadataFactory->getEntity('wave_Process'));
|
|
|
|
Line 611 [match: Wave]:
|
|
609: 'ID' => $this->getWaveProcess()->getID(),
|
|
610: 'LastRanDT' => Carbon::now()
|
|
>> 611: ], $MetadataFactory->getEntity('wave_Process'));
|
|
612: $DataHandler->commitTransaction();
|
|
613: }
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
|
|
Line 7 [match: WAVE]:
|
|
5: use App\Model\Entities\quest_User;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
|
|
Line 8 [match: WAVE]:
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
>> 8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
>> 9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
>> 10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
|
|
Line 11 [match: WAVE]:
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
>> 11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
|
|
Line 12 [match: WAVE]:
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
>> 12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
|
|
Line 13 [match: WAVE]:
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
>> 13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
|
|
Line 14 [match: WAVE]:
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
>> 14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
16:
|
|
|
|
Line 17 [match: WAVE]:
|
|
15:
|
|
16:
|
|
>> 17: use App\Notifications\WaveEDI\WaveSLProductionMissingPartNumber;
|
|
18: use Carbon\Carbon;
|
|
19: use Doctrine\DBAL\Connection;
|
|
|
|
Line 30 [match: WAVE]:
|
|
28: use Symfony\Component\Process\Process;
|
|
29:
|
|
>> 30: class WaveService
|
|
31: {
|
|
32:
|
|
|
|
Line 38 [match: WAVE]:
|
|
36: private $epicorConnRO;
|
|
37:
|
|
>> 38: /** @var \App\Model\Entities\wave_Process|null */
|
|
39: public $wave_Process;
|
|
40:
|
|
|
|
Line 39 [match: WAVE]:
|
|
37:
|
|
38: /** @var \App\Model\Entities\wave_Process|null */
|
|
>> 39: public $wave_Process;
|
|
40:
|
|
41: /** @var bool */
|
|
|
|
Line 51 [match: WAVE]:
|
|
49:
|
|
50:
|
|
>> 51: protected $sqlDirectory = "waveSQL";
|
|
52: protected $suffix = "";
|
|
53:
|
|
|
|
Line 66 [match: WAVE]:
|
|
64:
|
|
65: /**
|
|
>> 66: * @return \App\Model\Entities\wave_Process|null
|
|
67: */
|
|
68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
|
|
Line 68 [match: WAVE]:
|
|
66: * @return \App\Model\Entities\wave_Process|null
|
|
67: */
|
|
>> 68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
69: {
|
|
70: return $this->wave_Process;
|
|
|
|
Line 70 [match: WAVE]:
|
|
68: private function getWaveProcess(): \App\Model\Entities\wave_Process
|
|
69: {
|
|
>> 70: return $this->wave_Process;
|
|
71: }
|
|
72:
|
|
|
|
Line 74 [match: WAVE]:
|
|
72:
|
|
73: /**
|
|
>> 74: * @param \App\Model\Entities\wave_Process|null $wave_Process
|
|
75: */
|
|
76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
|
|
Line 76 [match: WAVE]:
|
|
74: * @param \App\Model\Entities\wave_Process|null $wave_Process
|
|
75: */
|
|
>> 76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
77: {
|
|
78: $this->wave_Process = $wave_Process;
|
|
|
|
Line 78 [match: WAVE]:
|
|
76: public function setWaveProcess(\App\Model\Entities\wave_Process $wave_Process)
|
|
77: {
|
|
>> 78: $this->wave_Process = $wave_Process;
|
|
79: }
|
|
80:
|
|
|
|
Line 136 [match: WAVE]:
|
|
134: public function __construct(EMContainer $EMs)
|
|
135: {
|
|
>> 136: $this->connRO = $EMs->getEM('wave_ro')->getConnection()->getNativeConnection();
|
|
137: $this->epicorConnRO = $EMs->getEM('epicor_ro')->getConnection()->getNativeConnection();
|
|
138: }
|
|
|
|
Line 154 [match: WAVE]:
|
|
152: // the same thing, so if the running process is one of these, they
|
|
153: // will use the "runGenericProcess()" function
|
|
>> 154: // NOTE: These array keys match the CodingKey on wave_Process table
|
|
155: // could probably move this data into the database (TODO?)
|
|
156: $processes = [
|
|
|
|
Line 159 [match: WAVE]:
|
|
157: 'WO_CUSTOMER_PART_NUMBER' => [
|
|
158: 'queryFileName' => 'partsWoCustomerPartNumber',
|
|
>> 159: 'emailClass' => WavePartsWoCustomerPartNumber::class,
|
|
160: 'columns' => ['PartNum', 'PartDescription'],
|
|
161: 'queryHasDate' => false
|
|
|
|
Line 165 [match: WAVE]:
|
|
163: 'MISSING_PART_NUMBER_SL' => [
|
|
164: 'queryFileName' => 'slProduction',
|
|
>> 165: 'emailClass' => WaveSLProductionMissingPartNumber::class,
|
|
166: 'columns' => ['SysDate', 'TranDate', 'XPartNum', 'LotNum', 'MasterLotNum_c', 'SkidNum_c', 'Plant', 'JobNum', 'PartNum', 'PartDescription', 'ActTransUOM', 'WareHouseCode', 'TranType', 'ActTranQty', 'ProdCode', 'Include', 'Hold', 'ProdWt', 'QtyUsed'],
|
|
167: 'queryHasDate' => true
|
|
|
|
Line 171 [match: WAVE]:
|
|
169: 'MISSING_PART_NUMBER_PL' => [
|
|
170: 'queryFileName' => 'plProduction',
|
|
>> 171: 'emailClass' => WavePLProductionMissingPartNumber::class,
|
|
172: 'columns' => ['SysDate', 'TranDate', 'XPartNum', 'LotNum', 'MasterLotNum_c', 'SkidNum_c', 'Plant', 'JobNum', 'PartNum', 'PartDescription', 'ActTransUOM', 'WareHouseCode', 'TranType', 'ActTranQty', 'ProdCode', 'Include', 'Hold', 'ProdWt', 'QtyUsed'],
|
|
173: 'queryHasDate' => true
|
|
|
|
Line 177 [match: WAVE]:
|
|
175: 'MISSING_RAW_METAL' => [
|
|
176: 'queryFileName' => 'missingRawMetalReceiptPo',
|
|
>> 177: 'emailClass' => WaveMissingRawMetalReceiptPo::class,
|
|
178: 'columns' => ['PartTran_Plant','PartTran_SysDate','RcvHead_ReceiptDate','RcvHead_PONum','RcvHead_PackSlip','RcvDtl_POLine','CustXPrt_XPartNum','RcvDtl_PartNum','RcvDtl_PartDescription','RcvDtl_OurQty','RcvDtl_LotNum','RcvDtl_WareHouseCode','RcvDtl_BinNum','PartTran_TranDate','RcvDtl_TranReference','Vendor_VendorID'],
|
|
179: 'queryHasDate' => true
|
|
|
|
Line 183 [match: WAVE]:
|
|
181: 'WAREHOUSE_FIVE_MOVED_OUT' => [
|
|
182: 'queryFileName' => 'movedOutOfWarehouse05',
|
|
>> 183: 'emailClass' => WaveMovedOutOfWarehouse05::class,
|
|
184: 'columns' => ['ProductionDate','PartNum','WAVE Part Number','PartDescription','ActTranQty','LotNum','WareHouseCode','Bin','TranType'],
|
|
185: 'queryHasDate' => true
|
|
|
|
Line 184 [match: WAVE]:
|
|
182: 'queryFileName' => 'movedOutOfWarehouse05',
|
|
183: 'emailClass' => WaveMovedOutOfWarehouse05::class,
|
|
>> 184: 'columns' => ['ProductionDate','PartNum','WAVE Part Number','PartDescription','ActTranQty','LotNum','WareHouseCode','Bin','TranType'],
|
|
185: 'queryHasDate' => true
|
|
186: ],
|
|
|
|
Line 189 [match: WAVE]:
|
|
187: 'WAREHOUSE_FIVE_MOVED_IN' => [
|
|
188: 'queryFileName' => 'movedIntoWarehouse05',
|
|
>> 189: 'emailClass' => WaveMovedIntoWarehouse05::class,
|
|
190: 'columns' => ['Production Date','PartNum','WAVE Part Number','PartDescription','ActTranQty','TranQty','LotNum','WareHouseCode (should be 05)','Bin','TranType'],
|
|
191: 'queryHasDate' => true
|
|
|
|
Line 190 [match: WAVE]:
|
|
188: 'queryFileName' => 'movedIntoWarehouse05',
|
|
189: 'emailClass' => WaveMovedIntoWarehouse05::class,
|
|
>> 190: 'columns' => ['Production Date','PartNum','WAVE Part Number','PartDescription','ActTranQty','TranQty','LotNum','WareHouseCode (should be 05)','Bin','TranType'],
|
|
191: 'queryHasDate' => true
|
|
192: ],
|
|
|
|
Line 195 [match: WAVE]:
|
|
193: ];
|
|
194:
|
|
>> 195: if(isset($processes[$this->getWaveProcess()->getCodingKey()]))
|
|
196: {
|
|
197: // This is a process for the "Exception Reports" which all use the generic process function
|
|
|
|
Line 198 [match: WAVE]:
|
|
196: {
|
|
197: // This is a process for the "Exception Reports" which all use the generic process function
|
|
>> 198: $process = $processes[$this->getWaveProcess()->getCodingKey()];
|
|
199: $results = $this->runGenericProcess($process['queryFileName'], $process['columns'], $process['emailClass'], $process['queryHasDate']);
|
|
200: }
|
|
|
|
Line 201 [match: WAVE]:
|
|
199: $results = $this->runGenericProcess($process['queryFileName'], $process['columns'], $process['emailClass'], $process['queryHasDate']);
|
|
200: }
|
|
>> 201: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_PRECHECK')
|
|
202: {
|
|
203: // This pre-check is worthless and doesn't do anything,
|
|
|
|
Line 207 [match: WAVE]:
|
|
205: $results = true;
|
|
206: $this->logProcessHistory('Completed');
|
|
>> 207: $this->sendEmail(WavePrecheck::class, '');
|
|
208: }
|
|
209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
|
|
Line 209 [match: WAVE]:
|
|
207: $this->sendEmail(WavePrecheck::class, '');
|
|
208: }
|
|
>> 209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
210: {
|
|
211: $results = $this->exportUploadWaveFiles();
|
|
|
|
Line 211 [match: WAVE]:
|
|
209: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_FILES_EXPORTED_UPLOADED')
|
|
210: {
|
|
>> 211: $results = $this->exportUploadWaveFiles();
|
|
212: }
|
|
213: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_END_OF_MONTH')
|
|
|
|
Line 213 [match: WAVE]:
|
|
211: $results = $this->exportUploadWaveFiles();
|
|
212: }
|
|
>> 213: else if($this->getWaveProcess()->getCodingKey() === 'WAVE_END_OF_MONTH')
|
|
214: {
|
|
215: $results = $this->endOfMonth();
|
|
|
|
Line 233 [match: WAVE]:
|
|
231:
|
|
232: /**
|
|
>> 233: * NOTE: This is the only function that cannot use $this->getWaveProcess()
|
|
234: * that is why we are passing it in.
|
|
235: *
|
|
|
|
Line 237 [match: WAVE]:
|
|
235: *
|
|
236: * @param string $ProcessCodingKey
|
|
>> 237: * @return \App\Model\Entities\wave_Process|bool
|
|
238: * @throws \Exception
|
|
239: */
|
|
|
|
Line 243 [match: WAVE]:
|
|
241: {
|
|
242: try{
|
|
>> 243: /** @var wave_Process $wave_ProcessRepo */
|
|
244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
|
|
Line 244 [match: WAVE]:
|
|
242: try{
|
|
243: /** @var wave_Process $wave_ProcessRepo */
|
|
>> 244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
|
|
Line 246 [match: WAVE]:
|
|
244: $wave_ProcessRepo = app(wave_Process::class);
|
|
245:
|
|
>> 246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
|
|
Line 247 [match: WAVE]:
|
|
245:
|
|
246: /** @var \App\Model\Entities\wave_Process $wave_Process */
|
|
>> 247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
249: return $wave_Process;
|
|
|
|
Line 249 [match: WAVE]:
|
|
247: $wave_Process = $wave_ProcessRepo->findOneBy(['CodingKey' => $ProcessCodingKey]);
|
|
248:
|
|
>> 249: return $wave_Process;
|
|
250: }
|
|
251: catch(\Exception $e) {
|
|
|
|
Line 273 [match: WAVE]:
|
|
271:
|
|
272: // Get the spreadsheet and name the active sheet
|
|
>> 273: $sheet = $this->getSpreadsheet()->getActiveSheet()->setTitle($this->getWaveProcess()->getCodingKey());
|
|
274:
|
|
275: // Set the column values
|
|
|
|
Line 291 [match: WAVE]:
|
|
289: // Prep the file system for storage
|
|
290: $storagePath = 'edi\\exception-reports\\';
|
|
>> 291: $fileName = $this->getProcessDate() . '-' . $this->getWaveProcess()->getCodingKey() . '-' . time() . '.xlsx';
|
|
292: \Storage::makeDirectory($storagePath);
|
|
293:
|
|
|
|
Line 360 [match: WAVE]:
|
|
358: * @throws \Exception
|
|
359: */
|
|
>> 360: private function exportUploadWaveFiles()
|
|
361: {
|
|
362: try{
|
|
|
|
Line 471 [match: WAVE]:
|
|
469: }
|
|
470:
|
|
>> 471: $filePath = "\\\\\wi-fps\wt32new\wave\\QuestTesting\\" . date('Ymd', strtotime($this->getProcessDate()));
|
|
472: $this->sendEmail(WaveFilesExportedAndUploaded::class, $filePath);
|
|
473:
|
|
|
|
Line 472 [match: WAVE]:
|
|
470:
|
|
471: $filePath = "\\\\\wi-fps\wt32new\wave\\QuestTesting\\" . date('Ymd', strtotime($this->getProcessDate()));
|
|
>> 472: $this->sendEmail(WaveFilesExportedAndUploaded::class, $filePath);
|
|
473:
|
|
474: return true;
|
|
|
|
Line 484 [match: WAVE]:
|
|
482: /**
|
|
483: * Used once a month to produce a compliant EDI file, does
|
|
>> 484: * basically the same thing as exportUploadWaveFiles() but
|
|
485: * is excluded as it is not run daily.
|
|
486: *
|
|
|
|
Line 545 [match: WAVE]:
|
|
543: // dd('made it');
|
|
544:
|
|
>> 545: $this->sendEmail(WaveMonthEndInventory::class, $filePath."prieop.txt");
|
|
546:
|
|
547:
|
|
|
|
Line 566 [match: WAVE]:
|
|
564: {
|
|
565: $emails = [];
|
|
>> 566: $questUsersToNotify = $this->getWaveProcess()->getQuestEmailEvent()->getQuestUser();
|
|
567:
|
|
568: /** @var quest_User $questUserToNotify */
|
|
|
|
Line 600 [match: WAVE]:
|
|
598: $DataHandler->startTransaction();
|
|
599: $DataHandler->handleInsertUpdate([
|
|
>> 600: 'wave_Process' => ['ID' => $this->getWaveProcess()->getID()],
|
|
601: 'Results' => $Results,
|
|
602: 'WasSuccessful' => $WasSuccessful,
|
|
|
|
Line 606 [match: WAVE]:
|
|
604: 'ResultsFilePath' => $ResultsFilePath,
|
|
605: 'RanDT' => Carbon::now(),
|
|
>> 606: ], $MetadataFactory->getEntity('wave_ProcessHistory'));
|
|
607:
|
|
608: $DataHandler->handleInsertUpdate([
|
|
|
|
Line 609 [match: WAVE]:
|
|
607:
|
|
608: $DataHandler->handleInsertUpdate([
|
|
>> 609: 'ID' => $this->getWaveProcess()->getID(),
|
|
610: 'LastRanDT' => Carbon::now()
|
|
611: ], $MetadataFactory->getEntity('wave_Process'));
|
|
|
|
Line 611 [match: WAVE]:
|
|
609: 'ID' => $this->getWaveProcess()->getID(),
|
|
610: 'LastRanDT' => Carbon::now()
|
|
>> 611: ], $MetadataFactory->getEntity('wave_Process'));
|
|
612: $DataHandler->commitTransaction();
|
|
613: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\WaveEdi\WaveServiceVP.php
|
|
================================================================================
|
|
Line 3 [match: wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
|
|
Line 6 [match: wave]:
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
|
|
Line 7 [match: wave]:
|
|
5: use App\Model\Entities\quest_User;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
|
|
Line 8 [match: wave]:
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
>> 8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
|
|
Line 9 [match: wave]:
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
>> 9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
|
|
Line 10 [match: wave]:
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
>> 10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
|
|
Line 11 [match: wave]:
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
>> 11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
|
|
Line 12 [match: wave]:
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
>> 12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
|
|
Line 13 [match: wave]:
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
>> 13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
|
|
Line 14 [match: wave]:
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
>> 14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
16:
|
|
|
|
Line 17 [match: wave]:
|
|
15:
|
|
16:
|
|
>> 17: use App\Notifications\WaveEDI\WaveSLProductionMissingPartNumber;
|
|
18: use Carbon\Carbon;
|
|
19: use Doctrine\DBAL\Connection;
|
|
|
|
Line 30 [match: wave]:
|
|
28: use Symfony\Component\Process\Process;
|
|
29:
|
|
>> 30: class WaveServiceVP Extends WaveService
|
|
31: {
|
|
32:
|
|
|
|
Line 34 [match: wave]:
|
|
32:
|
|
33:
|
|
>> 34: protected $sqlDirectory = "waveSQL-VP";
|
|
35: protected $suffix = "VP";
|
|
36: protected $files =[
|
|
|
|
Line 3 [match: Wave]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
|
|
Line 6 [match: Wave]:
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
|
|
Line 7 [match: Wave]:
|
|
5: use App\Model\Entities\quest_User;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
|
|
Line 8 [match: Wave]:
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
>> 8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
|
|
Line 9 [match: Wave]:
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
>> 9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
|
|
Line 10 [match: Wave]:
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
>> 10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
|
|
Line 11 [match: Wave]:
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
>> 11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
|
|
Line 12 [match: Wave]:
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
>> 12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
|
|
Line 13 [match: Wave]:
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
>> 13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
|
|
Line 14 [match: Wave]:
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
>> 14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
16:
|
|
|
|
Line 17 [match: Wave]:
|
|
15:
|
|
16:
|
|
>> 17: use App\Notifications\WaveEDI\WaveSLProductionMissingPartNumber;
|
|
18: use Carbon\Carbon;
|
|
19: use Doctrine\DBAL\Connection;
|
|
|
|
Line 30 [match: Wave]:
|
|
28: use Symfony\Component\Process\Process;
|
|
29:
|
|
>> 30: class WaveServiceVP Extends WaveService
|
|
31: {
|
|
32:
|
|
|
|
Line 34 [match: Wave]:
|
|
32:
|
|
33:
|
|
>> 34: protected $sqlDirectory = "waveSQL-VP";
|
|
35: protected $suffix = "VP";
|
|
36: protected $files =[
|
|
|
|
Line 3 [match: WAVE]:
|
|
1: <?php
|
|
2:
|
|
>> 3: namespace App\Services\WaveEdi;
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
|
|
Line 6 [match: WAVE]:
|
|
4:
|
|
5: use App\Model\Entities\quest_User;
|
|
>> 6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
|
|
Line 7 [match: WAVE]:
|
|
5: use App\Model\Entities\quest_User;
|
|
6: use App\Model\Repos\wave_Process;
|
|
>> 7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
|
|
Line 8 [match: WAVE]:
|
|
6: use App\Model\Repos\wave_Process;
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
>> 8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
|
|
Line 9 [match: WAVE]:
|
|
7: use App\Notifications\WaveEDI\WaveFilesExportedAndUploaded;
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
>> 9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
|
|
Line 10 [match: WAVE]:
|
|
8: use App\Notifications\WaveEDI\WaveMissingRawMetalReceiptPo;
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
>> 10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
|
|
Line 11 [match: WAVE]:
|
|
9: use App\Notifications\WaveEDI\WaveMonthEndInventory;
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
>> 11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
|
|
Line 12 [match: WAVE]:
|
|
10: use App\Notifications\WaveEDI\WaveMovedIntoWarehouse05;
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
>> 12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
|
|
Line 13 [match: WAVE]:
|
|
11: use App\Notifications\WaveEDI\WaveMovedOutOfWarehouse05;
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
>> 13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
|
|
Line 14 [match: WAVE]:
|
|
12: use App\Notifications\WaveEDI\WavePartsWoCustomerPartNumber;
|
|
13: use App\Notifications\WaveEDI\WavePLProductionMissingPartNumber;
|
|
>> 14: use App\Notifications\WaveEDI\WavePrecheck;
|
|
15:
|
|
16:
|
|
|
|
Line 17 [match: WAVE]:
|
|
15:
|
|
16:
|
|
>> 17: use App\Notifications\WaveEDI\WaveSLProductionMissingPartNumber;
|
|
18: use Carbon\Carbon;
|
|
19: use Doctrine\DBAL\Connection;
|
|
|
|
Line 30 [match: WAVE]:
|
|
28: use Symfony\Component\Process\Process;
|
|
29:
|
|
>> 30: class WaveServiceVP Extends WaveService
|
|
31: {
|
|
32:
|
|
|
|
Line 34 [match: WAVE]:
|
|
32:
|
|
33:
|
|
>> 34: protected $sqlDirectory = "waveSQL-VP";
|
|
35: protected $suffix = "VP";
|
|
36: protected $files =[
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\AcknowledgementPdfService.php
|
|
================================================================================
|
|
Line 19 [match: epicor]:
|
|
17: }
|
|
18:
|
|
>> 19: /** @var EpicorDatabase $epicorDatabase */
|
|
20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
|
|
Line 20 [match: epicor]:
|
|
18:
|
|
19: /** @var EpicorDatabase $epicorDatabase */
|
|
>> 20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
22: $data = $epicorDatabase->getAcknowledgement($customerID, $poNumber, $orderNumber);
|
|
|
|
Line 22 [match: epicor]:
|
|
20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
>> 22: $data = $epicorDatabase->getAcknowledgement($customerID, $poNumber, $orderNumber);
|
|
23:
|
|
24: if($data === FALSE)
|
|
|
|
Line 28 [match: epicor]:
|
|
26:
|
|
27: foreach($data as &$row) {
|
|
>> 28: $row['PaintCodeData'] = $epicorDatabase->getPaintCodeDataForPart($row['OrderDtl_PartNum']);
|
|
29: }
|
|
30:
|
|
|
|
Line 19 [match: Epicor]:
|
|
17: }
|
|
18:
|
|
>> 19: /** @var EpicorDatabase $epicorDatabase */
|
|
20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
|
|
Line 20 [match: Epicor]:
|
|
18:
|
|
19: /** @var EpicorDatabase $epicorDatabase */
|
|
>> 20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
22: $data = $epicorDatabase->getAcknowledgement($customerID, $poNumber, $orderNumber);
|
|
|
|
Line 22 [match: Epicor]:
|
|
20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
>> 22: $data = $epicorDatabase->getAcknowledgement($customerID, $poNumber, $orderNumber);
|
|
23:
|
|
24: if($data === FALSE)
|
|
|
|
Line 28 [match: Epicor]:
|
|
26:
|
|
27: foreach($data as &$row) {
|
|
>> 28: $row['PaintCodeData'] = $epicorDatabase->getPaintCodeDataForPart($row['OrderDtl_PartNum']);
|
|
29: }
|
|
30:
|
|
|
|
Line 19 [match: EPICOR]:
|
|
17: }
|
|
18:
|
|
>> 19: /** @var EpicorDatabase $epicorDatabase */
|
|
20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
|
|
Line 20 [match: EPICOR]:
|
|
18:
|
|
19: /** @var EpicorDatabase $epicorDatabase */
|
|
>> 20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
22: $data = $epicorDatabase->getAcknowledgement($customerID, $poNumber, $orderNumber);
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20: $epicorDatabase = app(EpicorDatabase::class);
|
|
21:
|
|
>> 22: $data = $epicorDatabase->getAcknowledgement($customerID, $poNumber, $orderNumber);
|
|
23:
|
|
24: if($data === FALSE)
|
|
|
|
Line 28 [match: EPICOR]:
|
|
26:
|
|
27: foreach($data as &$row) {
|
|
>> 28: $row['PaintCodeData'] = $epicorDatabase->getPaintCodeDataForPart($row['OrderDtl_PartNum']);
|
|
29: }
|
|
30:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\ActiveCompanyManager.php
|
|
================================================================================
|
|
Line 13 [match: epicor]:
|
|
11: {
|
|
12: /** @var quest_Company[] */
|
|
>> 13: private $activeCompaniesByEpicorCustID = [];
|
|
14:
|
|
15: public function __construct()
|
|
|
|
Line 21 [match: epicor]:
|
|
19: /** @var quest_CompanyRepo $RWQuestCompanyRepo */
|
|
20: $RWQuestCompanyRepo = $EMContainer->getEM('rw')->getRepository('App\Model\Entities\quest_Company');
|
|
>> 21: /** @var EpicorDatabase $EpicorDB */
|
|
22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
|
|
Line 22 [match: epicor]:
|
|
20: $RWQuestCompanyRepo = $EMContainer->getEM('rw')->getRepository('App\Model\Entities\quest_Company');
|
|
21: /** @var EpicorDatabase $EpicorDB */
|
|
>> 22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
|
|
Line 24 [match: epicor]:
|
|
22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
>> 24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
25: $NoLongerActiveEpicorCustIDs = [];
|
|
26:
|
|
|
|
Line 25 [match: epicor]:
|
|
23:
|
|
24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
>> 25: $NoLongerActiveEpicorCustIDs = [];
|
|
26:
|
|
27:
|
|
|
|
Line 28 [match: epicor]:
|
|
26:
|
|
27:
|
|
>> 28: $EpicorDB->storeCompanyInfo($this->activeCompaniesByEpicorCustID);
|
|
29:
|
|
30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 30 [match: epicor]:
|
|
28: $EpicorDB->storeCompanyInfo($this->activeCompaniesByEpicorCustID);
|
|
29:
|
|
>> 30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
31: {
|
|
32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
|
|
Line 32 [match: epicor]:
|
|
30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
31: {
|
|
>> 32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
|
|
Line 33 [match: epicor]:
|
|
31: {
|
|
32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
>> 33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
|
|
Line 35 [match: epicor]:
|
|
33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
>> 35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
36: array_push($NoLongerActiveEpicorCustIDs, $EpicorCustID);
|
|
37: Notification::route('mail', 'devs@savvior.com')
|
|
|
|
Line 36 [match: epicor]:
|
|
34: {
|
|
35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
>> 36: array_push($NoLongerActiveEpicorCustIDs, $EpicorCustID);
|
|
37: Notification::route('mail', 'devs@savvior.com')
|
|
38: ->notify(new CustomerDeactivatedDevOnly(
|
|
|
|
Line 40 [match: epicor]:
|
|
38: ->notify(new CustomerDeactivatedDevOnly(
|
|
39: 'ActiveCompanyManager#__construct',
|
|
>> 40: 'Epicor Customer ID = ' . $EpicorCustID . PHP_EOL . '$Company = (string) ' . ((string) $Company)
|
|
41: )
|
|
42: ); */
|
|
|
|
Line 46 [match: epicor]:
|
|
44: }
|
|
45:
|
|
>> 46: $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setEpiName($EpicorCustInfo['Name']);
|
|
47: }
|
|
48: try {
|
|
|
|
Line 54 [match: epicor]:
|
|
52: $EMContainer->resetEM('rw');
|
|
53: }
|
|
>> 54: $this->activeCompaniesByEpicorCustID = array_diff_key($this->activeCompaniesByEpicorCustID, array_flip($NoLongerActiveEpicorCustIDs));
|
|
55: }
|
|
56:
|
|
|
|
Line 60 [match: epicor]:
|
|
58: * @return quest_Company[]
|
|
59: */
|
|
>> 60: public function getAllActiveCompaniesByEpicorCustID()
|
|
61: {
|
|
62: return $this->activeCompaniesByEpicorCustID;
|
|
|
|
Line 62 [match: epicor]:
|
|
60: public function getAllActiveCompaniesByEpicorCustID()
|
|
61: {
|
|
>> 62: return $this->activeCompaniesByEpicorCustID;
|
|
63: }
|
|
64:
|
|
|
|
Line 66 [match: epicor]:
|
|
64:
|
|
65: /**
|
|
>> 66: * @param string $EpicorCustID
|
|
67: * @return quest_Company|null
|
|
68: */
|
|
|
|
Line 69 [match: epicor]:
|
|
67: * @return quest_Company|null
|
|
68: */
|
|
>> 69: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
70: {
|
|
71: return (isset($this->activeCompaniesByEpicorCustID[$EpicorCustID]) ? $this->activeCompaniesByEpicorCustID[$EpicorCustID] : null);
|
|
|
|
Line 71 [match: epicor]:
|
|
69: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
70: {
|
|
>> 71: return (isset($this->activeCompaniesByEpicorCustID[$EpicorCustID]) ? $this->activeCompaniesByEpicorCustID[$EpicorCustID] : null);
|
|
72: }
|
|
73:
|
|
|
|
Line 75 [match: epicor]:
|
|
73:
|
|
74: /**
|
|
>> 75: * @param string[] $EpicorCustIDs
|
|
76: * @return quest_Company[]
|
|
77: */
|
|
|
|
Line 78 [match: epicor]:
|
|
76: * @return quest_Company[]
|
|
77: */
|
|
>> 78: public function getActiveCompaniesByEpicorCustIDs(array $EpicorCustIDs)
|
|
79: {
|
|
80: return array_intersect_key($this->activeCompaniesByEpicorCustID, array_flip($EpicorCustIDs));
|
|
|
|
Line 80 [match: epicor]:
|
|
78: public function getActiveCompaniesByEpicorCustIDs(array $EpicorCustIDs)
|
|
79: {
|
|
>> 80: return array_intersect_key($this->activeCompaniesByEpicorCustID, array_flip($EpicorCustIDs));
|
|
81: }
|
|
82:
|
|
|
|
Line 87 [match: epicor]:
|
|
85: * @return string[]
|
|
86: */
|
|
>> 87: public function getAllActiveCompanyEpicorCustIDs()
|
|
88: {
|
|
89: return array_keys($this->activeCompaniesByEpicorCustID);
|
|
|
|
Line 89 [match: epicor]:
|
|
87: public function getAllActiveCompanyEpicorCustIDs()
|
|
88: {
|
|
>> 89: return array_keys($this->activeCompaniesByEpicorCustID);
|
|
90: }
|
|
91: }
|
|
|
|
Line 13 [match: Epicor]:
|
|
11: {
|
|
12: /** @var quest_Company[] */
|
|
>> 13: private $activeCompaniesByEpicorCustID = [];
|
|
14:
|
|
15: public function __construct()
|
|
|
|
Line 21 [match: Epicor]:
|
|
19: /** @var quest_CompanyRepo $RWQuestCompanyRepo */
|
|
20: $RWQuestCompanyRepo = $EMContainer->getEM('rw')->getRepository('App\Model\Entities\quest_Company');
|
|
>> 21: /** @var EpicorDatabase $EpicorDB */
|
|
22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
|
|
Line 22 [match: Epicor]:
|
|
20: $RWQuestCompanyRepo = $EMContainer->getEM('rw')->getRepository('App\Model\Entities\quest_Company');
|
|
21: /** @var EpicorDatabase $EpicorDB */
|
|
>> 22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
|
|
Line 24 [match: Epicor]:
|
|
22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
>> 24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
25: $NoLongerActiveEpicorCustIDs = [];
|
|
26:
|
|
|
|
Line 25 [match: Epicor]:
|
|
23:
|
|
24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
>> 25: $NoLongerActiveEpicorCustIDs = [];
|
|
26:
|
|
27:
|
|
|
|
Line 28 [match: Epicor]:
|
|
26:
|
|
27:
|
|
>> 28: $EpicorDB->storeCompanyInfo($this->activeCompaniesByEpicorCustID);
|
|
29:
|
|
30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 30 [match: Epicor]:
|
|
28: $EpicorDB->storeCompanyInfo($this->activeCompaniesByEpicorCustID);
|
|
29:
|
|
>> 30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
31: {
|
|
32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
|
|
Line 32 [match: Epicor]:
|
|
30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
31: {
|
|
>> 32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
|
|
Line 33 [match: Epicor]:
|
|
31: {
|
|
32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
>> 33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
|
|
Line 35 [match: Epicor]:
|
|
33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
>> 35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
36: array_push($NoLongerActiveEpicorCustIDs, $EpicorCustID);
|
|
37: Notification::route('mail', 'devs@savvior.com')
|
|
|
|
Line 36 [match: Epicor]:
|
|
34: {
|
|
35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
>> 36: array_push($NoLongerActiveEpicorCustIDs, $EpicorCustID);
|
|
37: Notification::route('mail', 'devs@savvior.com')
|
|
38: ->notify(new CustomerDeactivatedDevOnly(
|
|
|
|
Line 40 [match: Epicor]:
|
|
38: ->notify(new CustomerDeactivatedDevOnly(
|
|
39: 'ActiveCompanyManager#__construct',
|
|
>> 40: 'Epicor Customer ID = ' . $EpicorCustID . PHP_EOL . '$Company = (string) ' . ((string) $Company)
|
|
41: )
|
|
42: ); */
|
|
|
|
Line 46 [match: Epicor]:
|
|
44: }
|
|
45:
|
|
>> 46: $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setEpiName($EpicorCustInfo['Name']);
|
|
47: }
|
|
48: try {
|
|
|
|
Line 54 [match: Epicor]:
|
|
52: $EMContainer->resetEM('rw');
|
|
53: }
|
|
>> 54: $this->activeCompaniesByEpicorCustID = array_diff_key($this->activeCompaniesByEpicorCustID, array_flip($NoLongerActiveEpicorCustIDs));
|
|
55: }
|
|
56:
|
|
|
|
Line 60 [match: Epicor]:
|
|
58: * @return quest_Company[]
|
|
59: */
|
|
>> 60: public function getAllActiveCompaniesByEpicorCustID()
|
|
61: {
|
|
62: return $this->activeCompaniesByEpicorCustID;
|
|
|
|
Line 62 [match: Epicor]:
|
|
60: public function getAllActiveCompaniesByEpicorCustID()
|
|
61: {
|
|
>> 62: return $this->activeCompaniesByEpicorCustID;
|
|
63: }
|
|
64:
|
|
|
|
Line 66 [match: Epicor]:
|
|
64:
|
|
65: /**
|
|
>> 66: * @param string $EpicorCustID
|
|
67: * @return quest_Company|null
|
|
68: */
|
|
|
|
Line 69 [match: Epicor]:
|
|
67: * @return quest_Company|null
|
|
68: */
|
|
>> 69: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
70: {
|
|
71: return (isset($this->activeCompaniesByEpicorCustID[$EpicorCustID]) ? $this->activeCompaniesByEpicorCustID[$EpicorCustID] : null);
|
|
|
|
Line 71 [match: Epicor]:
|
|
69: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
70: {
|
|
>> 71: return (isset($this->activeCompaniesByEpicorCustID[$EpicorCustID]) ? $this->activeCompaniesByEpicorCustID[$EpicorCustID] : null);
|
|
72: }
|
|
73:
|
|
|
|
Line 75 [match: Epicor]:
|
|
73:
|
|
74: /**
|
|
>> 75: * @param string[] $EpicorCustIDs
|
|
76: * @return quest_Company[]
|
|
77: */
|
|
|
|
Line 78 [match: Epicor]:
|
|
76: * @return quest_Company[]
|
|
77: */
|
|
>> 78: public function getActiveCompaniesByEpicorCustIDs(array $EpicorCustIDs)
|
|
79: {
|
|
80: return array_intersect_key($this->activeCompaniesByEpicorCustID, array_flip($EpicorCustIDs));
|
|
|
|
Line 80 [match: Epicor]:
|
|
78: public function getActiveCompaniesByEpicorCustIDs(array $EpicorCustIDs)
|
|
79: {
|
|
>> 80: return array_intersect_key($this->activeCompaniesByEpicorCustID, array_flip($EpicorCustIDs));
|
|
81: }
|
|
82:
|
|
|
|
Line 87 [match: Epicor]:
|
|
85: * @return string[]
|
|
86: */
|
|
>> 87: public function getAllActiveCompanyEpicorCustIDs()
|
|
88: {
|
|
89: return array_keys($this->activeCompaniesByEpicorCustID);
|
|
|
|
Line 89 [match: Epicor]:
|
|
87: public function getAllActiveCompanyEpicorCustIDs()
|
|
88: {
|
|
>> 89: return array_keys($this->activeCompaniesByEpicorCustID);
|
|
90: }
|
|
91: }
|
|
|
|
Line 13 [match: EPICOR]:
|
|
11: {
|
|
12: /** @var quest_Company[] */
|
|
>> 13: private $activeCompaniesByEpicorCustID = [];
|
|
14:
|
|
15: public function __construct()
|
|
|
|
Line 21 [match: EPICOR]:
|
|
19: /** @var quest_CompanyRepo $RWQuestCompanyRepo */
|
|
20: $RWQuestCompanyRepo = $EMContainer->getEM('rw')->getRepository('App\Model\Entities\quest_Company');
|
|
>> 21: /** @var EpicorDatabase $EpicorDB */
|
|
22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20: $RWQuestCompanyRepo = $EMContainer->getEM('rw')->getRepository('App\Model\Entities\quest_Company');
|
|
21: /** @var EpicorDatabase $EpicorDB */
|
|
>> 22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
|
|
Line 24 [match: EPICOR]:
|
|
22: $EpicorDB = app(EpicorDatabase::class);
|
|
23:
|
|
>> 24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
25: $NoLongerActiveEpicorCustIDs = [];
|
|
26:
|
|
|
|
Line 25 [match: EPICOR]:
|
|
23:
|
|
24: $this->activeCompaniesByEpicorCustID = $RWQuestCompanyRepo->getActiveCompaniesByEpicorCustID();
|
|
>> 25: $NoLongerActiveEpicorCustIDs = [];
|
|
26:
|
|
27:
|
|
|
|
Line 28 [match: EPICOR]:
|
|
26:
|
|
27:
|
|
>> 28: $EpicorDB->storeCompanyInfo($this->activeCompaniesByEpicorCustID);
|
|
29:
|
|
30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
|
|
Line 30 [match: EPICOR]:
|
|
28: $EpicorDB->storeCompanyInfo($this->activeCompaniesByEpicorCustID);
|
|
29:
|
|
>> 30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
31: {
|
|
32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
|
|
Line 32 [match: EPICOR]:
|
|
30: foreach($this->activeCompaniesByEpicorCustID as $EpicorCustID => $Company)
|
|
31: {
|
|
>> 32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
|
|
Line 33 [match: EPICOR]:
|
|
31: {
|
|
32: $EpicorCustInfo = $EpicorDB->getCustInfoIfExists($EpicorCustID);
|
|
>> 33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
|
|
Line 35 [match: EPICOR]:
|
|
33: if($EpicorCustInfo === FALSE && App::environment() === 'prod')
|
|
34: {
|
|
>> 35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
36: array_push($NoLongerActiveEpicorCustIDs, $EpicorCustID);
|
|
37: Notification::route('mail', 'devs@savvior.com')
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34: {
|
|
35: /* $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setIsDeactivated(true);
|
|
>> 36: array_push($NoLongerActiveEpicorCustIDs, $EpicorCustID);
|
|
37: Notification::route('mail', 'devs@savvior.com')
|
|
38: ->notify(new CustomerDeactivatedDevOnly(
|
|
|
|
Line 40 [match: EPICOR]:
|
|
38: ->notify(new CustomerDeactivatedDevOnly(
|
|
39: 'ActiveCompanyManager#__construct',
|
|
>> 40: 'Epicor Customer ID = ' . $EpicorCustID . PHP_EOL . '$Company = (string) ' . ((string) $Company)
|
|
41: )
|
|
42: ); */
|
|
|
|
Line 46 [match: EPICOR]:
|
|
44: }
|
|
45:
|
|
>> 46: $this->activeCompaniesByEpicorCustID[$EpicorCustID]->setEpiName($EpicorCustInfo['Name']);
|
|
47: }
|
|
48: try {
|
|
|
|
Line 54 [match: EPICOR]:
|
|
52: $EMContainer->resetEM('rw');
|
|
53: }
|
|
>> 54: $this->activeCompaniesByEpicorCustID = array_diff_key($this->activeCompaniesByEpicorCustID, array_flip($NoLongerActiveEpicorCustIDs));
|
|
55: }
|
|
56:
|
|
|
|
Line 60 [match: EPICOR]:
|
|
58: * @return quest_Company[]
|
|
59: */
|
|
>> 60: public function getAllActiveCompaniesByEpicorCustID()
|
|
61: {
|
|
62: return $this->activeCompaniesByEpicorCustID;
|
|
|
|
Line 62 [match: EPICOR]:
|
|
60: public function getAllActiveCompaniesByEpicorCustID()
|
|
61: {
|
|
>> 62: return $this->activeCompaniesByEpicorCustID;
|
|
63: }
|
|
64:
|
|
|
|
Line 66 [match: EPICOR]:
|
|
64:
|
|
65: /**
|
|
>> 66: * @param string $EpicorCustID
|
|
67: * @return quest_Company|null
|
|
68: */
|
|
|
|
Line 69 [match: EPICOR]:
|
|
67: * @return quest_Company|null
|
|
68: */
|
|
>> 69: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
70: {
|
|
71: return (isset($this->activeCompaniesByEpicorCustID[$EpicorCustID]) ? $this->activeCompaniesByEpicorCustID[$EpicorCustID] : null);
|
|
|
|
Line 71 [match: EPICOR]:
|
|
69: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
70: {
|
|
>> 71: return (isset($this->activeCompaniesByEpicorCustID[$EpicorCustID]) ? $this->activeCompaniesByEpicorCustID[$EpicorCustID] : null);
|
|
72: }
|
|
73:
|
|
|
|
Line 75 [match: EPICOR]:
|
|
73:
|
|
74: /**
|
|
>> 75: * @param string[] $EpicorCustIDs
|
|
76: * @return quest_Company[]
|
|
77: */
|
|
|
|
Line 78 [match: EPICOR]:
|
|
76: * @return quest_Company[]
|
|
77: */
|
|
>> 78: public function getActiveCompaniesByEpicorCustIDs(array $EpicorCustIDs)
|
|
79: {
|
|
80: return array_intersect_key($this->activeCompaniesByEpicorCustID, array_flip($EpicorCustIDs));
|
|
|
|
Line 80 [match: EPICOR]:
|
|
78: public function getActiveCompaniesByEpicorCustIDs(array $EpicorCustIDs)
|
|
79: {
|
|
>> 80: return array_intersect_key($this->activeCompaniesByEpicorCustID, array_flip($EpicorCustIDs));
|
|
81: }
|
|
82:
|
|
|
|
Line 87 [match: EPICOR]:
|
|
85: * @return string[]
|
|
86: */
|
|
>> 87: public function getAllActiveCompanyEpicorCustIDs()
|
|
88: {
|
|
89: return array_keys($this->activeCompaniesByEpicorCustID);
|
|
|
|
Line 89 [match: EPICOR]:
|
|
87: public function getAllActiveCompanyEpicorCustIDs()
|
|
88: {
|
|
>> 89: return array_keys($this->activeCompaniesByEpicorCustID);
|
|
90: }
|
|
91: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\APCheckProcessingService.php
|
|
================================================================================
|
|
Line 63 [match: epicor]:
|
|
61: $excelFilePath = $this->getUploadedExcelFilePath($apCheckProcessingBatchID);
|
|
62:
|
|
>> 63: /** @var EpicorDatabase $EpicorDatabase */
|
|
64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
|
|
Line 64 [match: epicor]:
|
|
62:
|
|
63: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
66: return $EpicorDatabase->createGroupCSV($excelFilePath);
|
|
|
|
Line 66 [match: epicor]:
|
|
64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
>> 66: return $EpicorDatabase->createGroupCSV($excelFilePath);
|
|
67: }
|
|
68:
|
|
|
|
Line 63 [match: Epicor]:
|
|
61: $excelFilePath = $this->getUploadedExcelFilePath($apCheckProcessingBatchID);
|
|
62:
|
|
>> 63: /** @var EpicorDatabase $EpicorDatabase */
|
|
64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
|
|
Line 64 [match: Epicor]:
|
|
62:
|
|
63: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
66: return $EpicorDatabase->createGroupCSV($excelFilePath);
|
|
|
|
Line 66 [match: Epicor]:
|
|
64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
>> 66: return $EpicorDatabase->createGroupCSV($excelFilePath);
|
|
67: }
|
|
68:
|
|
|
|
Line 63 [match: EPICOR]:
|
|
61: $excelFilePath = $this->getUploadedExcelFilePath($apCheckProcessingBatchID);
|
|
62:
|
|
>> 63: /** @var EpicorDatabase $EpicorDatabase */
|
|
64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
|
|
Line 64 [match: EPICOR]:
|
|
62:
|
|
63: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
66: return $EpicorDatabase->createGroupCSV($excelFilePath);
|
|
|
|
Line 66 [match: EPICOR]:
|
|
64: $EpicorDatabase = app(EpicorDatabase::class);
|
|
65:
|
|
>> 66: return $EpicorDatabase->createGroupCSV($excelFilePath);
|
|
67: }
|
|
68:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\APIUser.php
|
|
================================================================================
|
|
Line 49 [match: epicor]:
|
|
47: }
|
|
48:
|
|
>> 49: public function getActiveCompaniesByEpicorCustID()
|
|
50: {
|
|
51: if(isset($this->activeCompanies))
|
|
|
|
Line 54 [match: epicor]:
|
|
52: return $this->activeCompanies;
|
|
53:
|
|
>> 54: $this->activeCompanies = $this->_getActiveUserCompaniesByEpicorCustID($this->getQuestUser());
|
|
55: return $this->activeCompanies;
|
|
56: }
|
|
|
|
Line 49 [match: Epicor]:
|
|
47: }
|
|
48:
|
|
>> 49: public function getActiveCompaniesByEpicorCustID()
|
|
50: {
|
|
51: if(isset($this->activeCompanies))
|
|
|
|
Line 54 [match: Epicor]:
|
|
52: return $this->activeCompanies;
|
|
53:
|
|
>> 54: $this->activeCompanies = $this->_getActiveUserCompaniesByEpicorCustID($this->getQuestUser());
|
|
55: return $this->activeCompanies;
|
|
56: }
|
|
|
|
Line 49 [match: EPICOR]:
|
|
47: }
|
|
48:
|
|
>> 49: public function getActiveCompaniesByEpicorCustID()
|
|
50: {
|
|
51: if(isset($this->activeCompanies))
|
|
|
|
Line 54 [match: EPICOR]:
|
|
52: return $this->activeCompanies;
|
|
53:
|
|
>> 54: $this->activeCompanies = $this->_getActiveUserCompaniesByEpicorCustID($this->getQuestUser());
|
|
55: return $this->activeCompanies;
|
|
56: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\CoilActivityHelper.php
|
|
================================================================================
|
|
Line 5 [match: epicor]:
|
|
3: use App\Exceptions\InvalidCoilActivityDateRange;
|
|
4: use App\Model\Repos\quest_EmailEvent as quest_EmailEventRepo;
|
|
>> 5: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
6: use DateTime;
|
|
7: use Illuminate\Http\Response;
|
|
|
|
Line 120 [match: epicor]:
|
|
118: public function getCoilActivityUsageGrid($GridPaging)
|
|
119: {
|
|
>> 120: /** @var EpicorDatabase $EpicorDB */
|
|
121: $EpicorDB = app(EpicorDatabase::class);
|
|
122: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 121 [match: epicor]:
|
|
119: {
|
|
120: /** @var EpicorDatabase $EpicorDB */
|
|
>> 121: $EpicorDB = app(EpicorDatabase::class);
|
|
122: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
123: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 125 [match: epicor]:
|
|
123: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
124:
|
|
>> 125: $Data = $EpicorDB->getCoilActivityUsageData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
126:
|
|
127:
|
|
|
|
Line 142 [match: epicor]:
|
|
140: public function getCoilActivityReceiptsGrid($GridPaging)
|
|
141: {
|
|
>> 142: /** @var EpicorDatabase $EpicorDB */
|
|
143: $EpicorDB = app(EpicorDatabase::class);
|
|
144: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 143 [match: epicor]:
|
|
141: {
|
|
142: /** @var EpicorDatabase $EpicorDB */
|
|
>> 143: $EpicorDB = app(EpicorDatabase::class);
|
|
144: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
145: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 147 [match: epicor]:
|
|
145: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
146:
|
|
>> 147: $Data = $EpicorDB->getCoilActivityReceiptsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
148:
|
|
149: foreach ($Data as $i => $DataRow) {
|
|
|
|
Line 172 [match: epicor]:
|
|
170:
|
|
171: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 172: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID', FilterField::OPERATOR_EQUAL, $SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
173:
|
|
174: $FilterCollection->addGroup($NewFilterGroup);
|
|
|
|
Line 206 [match: epicor]:
|
|
204: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
205: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 206: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID', FilterField::OPERATOR_EQUAL, $SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
207: //$NewFilterGroup->addFilter(new FilterField('CompletedDT', FilterField::OPERATOR_GREATERTHAN_EQUAL, $this->getActivityStartDate()));
|
|
208: //$NewFilterGroup->addFilter(new FilterField('CompletedDT', FilterField::OPERATOR_LESSTHAN_EQUAL, $this->getActivityEndDate()));
|
|
|
|
Line 228 [match: epicor]:
|
|
226: public function getCoilActivityUsageExcelResponse()
|
|
227: {
|
|
>> 228: /** @var EpicorDatabase $EpicorDB */
|
|
229: $EpicorDB = app(EpicorDatabase::class);
|
|
230: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 229 [match: epicor]:
|
|
227: {
|
|
228: /** @var EpicorDatabase $EpicorDB */
|
|
>> 229: $EpicorDB = app(EpicorDatabase::class);
|
|
230: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
231: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 233 [match: epicor]:
|
|
231: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
232:
|
|
>> 233: $Data = $EpicorDB->getCoilActivityUsageData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
234: return $this->_setupCommonExcel($this->_getCoilActivityUsageMetadata(), $Data);
|
|
235: }
|
|
|
|
Line 242 [match: epicor]:
|
|
240: public function getCoilActivityReceiptsExcelResponse()
|
|
241: {
|
|
>> 242: /** @var EpicorDatabase $EpicorDB */
|
|
243: $EpicorDB = app(EpicorDatabase::class);
|
|
244: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 243 [match: epicor]:
|
|
241: {
|
|
242: /** @var EpicorDatabase $EpicorDB */
|
|
>> 243: $EpicorDB = app(EpicorDatabase::class);
|
|
244: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
245: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 247 [match: epicor]:
|
|
245: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
246:
|
|
>> 247: $Data = $EpicorDB->getCoilActivityReceiptsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
248: return $this->_setupCommonExcel($this->_getCoilActivityReceiptsMetadata(), $Data);
|
|
249: }
|
|
|
|
Line 278 [match: epicor]:
|
|
276: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
277:
|
|
>> 278: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $this->getExportShortNameForSource($Source) . ' ' . date(config('app.date_format'));
|
|
279: }
|
|
280:
|
|
|
|
Line 294 [match: epicor]:
|
|
292: $ReceiptsExcelResponse = $this->getCoilActivityReceiptsExcelResponse();
|
|
293:
|
|
>> 294: $cacheKey = 'coil_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
295:
|
|
296: return $this->_getExcelExportContents($cacheKey, $UsageExcelResponse, $ReceiptsExcelResponse);
|
|
|
|
Line 308 [match: epicor]:
|
|
306:
|
|
307: $ExcelExporter = new Excel();
|
|
>> 308: $ExportName = StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' Coil Activity ' . date(config('app.date_format'));
|
|
309: return $ExportName . '.' . $ExcelExporter->getFileExtension();
|
|
310: }
|
|
|
|
Line 331 [match: epicor]:
|
|
329: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
330:
|
|
>> 331: $cacheKey = 'coil_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
332:
|
|
333: $UsageGrid = $this->getCoilActivityUsageGrid(false);
|
|
|
|
Line 347 [match: epicor]:
|
|
345: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
346:
|
|
>> 347: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' Coil Activity ' . date(config('app.date_format')) . '.pdf';
|
|
348: }
|
|
349:
|
|
|
|
Line 350 [match: epicor]:
|
|
348: }
|
|
349:
|
|
>> 350: protected function _setupCommonGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging)
|
|
351: {
|
|
352: /** @var GridFactory $GridFactory */
|
|
|
|
Line 470 [match: epicor]:
|
|
468:
|
|
469: /**
|
|
>> 470: * @param EpicorEntityMetadata $Metadata
|
|
471: * @param array $Data
|
|
472: * @return Response
|
|
|
|
Line 474 [match: epicor]:
|
|
472: * @return Response
|
|
473: */
|
|
>> 474: protected function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
475: {
|
|
476: // @TODO
|
|
|
|
Line 525 [match: epicor]:
|
|
523: protected function _getCoilActivityUsageMetadata()
|
|
524: {
|
|
>> 525: $EntityMetadata = new EpicorEntityMetadata('portal_CoilActivityUsage');
|
|
526:
|
|
527: /** @var FieldMetadataField $DateUsed */
|
|
|
|
Line 623 [match: epicor]:
|
|
621: protected function _getCoilActivityReceiptsMetadata()
|
|
622: {
|
|
>> 623: $EntityMetadata = new EpicorEntityMetadata('portal_CoilActivityReceipts');
|
|
624:
|
|
625: /** @var FieldMetadataField $DateReceived */
|
|
|
|
Line 5 [match: Epicor]:
|
|
3: use App\Exceptions\InvalidCoilActivityDateRange;
|
|
4: use App\Model\Repos\quest_EmailEvent as quest_EmailEventRepo;
|
|
>> 5: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
6: use DateTime;
|
|
7: use Illuminate\Http\Response;
|
|
|
|
Line 120 [match: Epicor]:
|
|
118: public function getCoilActivityUsageGrid($GridPaging)
|
|
119: {
|
|
>> 120: /** @var EpicorDatabase $EpicorDB */
|
|
121: $EpicorDB = app(EpicorDatabase::class);
|
|
122: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 121 [match: Epicor]:
|
|
119: {
|
|
120: /** @var EpicorDatabase $EpicorDB */
|
|
>> 121: $EpicorDB = app(EpicorDatabase::class);
|
|
122: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
123: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 125 [match: Epicor]:
|
|
123: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
124:
|
|
>> 125: $Data = $EpicorDB->getCoilActivityUsageData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
126:
|
|
127:
|
|
|
|
Line 142 [match: Epicor]:
|
|
140: public function getCoilActivityReceiptsGrid($GridPaging)
|
|
141: {
|
|
>> 142: /** @var EpicorDatabase $EpicorDB */
|
|
143: $EpicorDB = app(EpicorDatabase::class);
|
|
144: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 143 [match: Epicor]:
|
|
141: {
|
|
142: /** @var EpicorDatabase $EpicorDB */
|
|
>> 143: $EpicorDB = app(EpicorDatabase::class);
|
|
144: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
145: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 147 [match: Epicor]:
|
|
145: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
146:
|
|
>> 147: $Data = $EpicorDB->getCoilActivityReceiptsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
148:
|
|
149: foreach ($Data as $i => $DataRow) {
|
|
|
|
Line 172 [match: Epicor]:
|
|
170:
|
|
171: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 172: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID', FilterField::OPERATOR_EQUAL, $SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
173:
|
|
174: $FilterCollection->addGroup($NewFilterGroup);
|
|
|
|
Line 206 [match: Epicor]:
|
|
204: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
205: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 206: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID', FilterField::OPERATOR_EQUAL, $SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
207: //$NewFilterGroup->addFilter(new FilterField('CompletedDT', FilterField::OPERATOR_GREATERTHAN_EQUAL, $this->getActivityStartDate()));
|
|
208: //$NewFilterGroup->addFilter(new FilterField('CompletedDT', FilterField::OPERATOR_LESSTHAN_EQUAL, $this->getActivityEndDate()));
|
|
|
|
Line 228 [match: Epicor]:
|
|
226: public function getCoilActivityUsageExcelResponse()
|
|
227: {
|
|
>> 228: /** @var EpicorDatabase $EpicorDB */
|
|
229: $EpicorDB = app(EpicorDatabase::class);
|
|
230: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 229 [match: Epicor]:
|
|
227: {
|
|
228: /** @var EpicorDatabase $EpicorDB */
|
|
>> 229: $EpicorDB = app(EpicorDatabase::class);
|
|
230: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
231: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 233 [match: Epicor]:
|
|
231: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
232:
|
|
>> 233: $Data = $EpicorDB->getCoilActivityUsageData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
234: return $this->_setupCommonExcel($this->_getCoilActivityUsageMetadata(), $Data);
|
|
235: }
|
|
|
|
Line 242 [match: Epicor]:
|
|
240: public function getCoilActivityReceiptsExcelResponse()
|
|
241: {
|
|
>> 242: /** @var EpicorDatabase $EpicorDB */
|
|
243: $EpicorDB = app(EpicorDatabase::class);
|
|
244: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 243 [match: Epicor]:
|
|
241: {
|
|
242: /** @var EpicorDatabase $EpicorDB */
|
|
>> 243: $EpicorDB = app(EpicorDatabase::class);
|
|
244: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
245: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 247 [match: Epicor]:
|
|
245: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
246:
|
|
>> 247: $Data = $EpicorDB->getCoilActivityReceiptsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
248: return $this->_setupCommonExcel($this->_getCoilActivityReceiptsMetadata(), $Data);
|
|
249: }
|
|
|
|
Line 278 [match: Epicor]:
|
|
276: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
277:
|
|
>> 278: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $this->getExportShortNameForSource($Source) . ' ' . date(config('app.date_format'));
|
|
279: }
|
|
280:
|
|
|
|
Line 294 [match: Epicor]:
|
|
292: $ReceiptsExcelResponse = $this->getCoilActivityReceiptsExcelResponse();
|
|
293:
|
|
>> 294: $cacheKey = 'coil_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
295:
|
|
296: return $this->_getExcelExportContents($cacheKey, $UsageExcelResponse, $ReceiptsExcelResponse);
|
|
|
|
Line 308 [match: Epicor]:
|
|
306:
|
|
307: $ExcelExporter = new Excel();
|
|
>> 308: $ExportName = StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' Coil Activity ' . date(config('app.date_format'));
|
|
309: return $ExportName . '.' . $ExcelExporter->getFileExtension();
|
|
310: }
|
|
|
|
Line 331 [match: Epicor]:
|
|
329: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
330:
|
|
>> 331: $cacheKey = 'coil_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
332:
|
|
333: $UsageGrid = $this->getCoilActivityUsageGrid(false);
|
|
|
|
Line 347 [match: Epicor]:
|
|
345: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
346:
|
|
>> 347: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' Coil Activity ' . date(config('app.date_format')) . '.pdf';
|
|
348: }
|
|
349:
|
|
|
|
Line 350 [match: Epicor]:
|
|
348: }
|
|
349:
|
|
>> 350: protected function _setupCommonGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging)
|
|
351: {
|
|
352: /** @var GridFactory $GridFactory */
|
|
|
|
Line 470 [match: Epicor]:
|
|
468:
|
|
469: /**
|
|
>> 470: * @param EpicorEntityMetadata $Metadata
|
|
471: * @param array $Data
|
|
472: * @return Response
|
|
|
|
Line 474 [match: Epicor]:
|
|
472: * @return Response
|
|
473: */
|
|
>> 474: protected function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
475: {
|
|
476: // @TODO
|
|
|
|
Line 525 [match: Epicor]:
|
|
523: protected function _getCoilActivityUsageMetadata()
|
|
524: {
|
|
>> 525: $EntityMetadata = new EpicorEntityMetadata('portal_CoilActivityUsage');
|
|
526:
|
|
527: /** @var FieldMetadataField $DateUsed */
|
|
|
|
Line 623 [match: Epicor]:
|
|
621: protected function _getCoilActivityReceiptsMetadata()
|
|
622: {
|
|
>> 623: $EntityMetadata = new EpicorEntityMetadata('portal_CoilActivityReceipts');
|
|
624:
|
|
625: /** @var FieldMetadataField $DateReceived */
|
|
|
|
Line 5 [match: EPICOR]:
|
|
3: use App\Exceptions\InvalidCoilActivityDateRange;
|
|
4: use App\Model\Repos\quest_EmailEvent as quest_EmailEventRepo;
|
|
>> 5: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
6: use DateTime;
|
|
7: use Illuminate\Http\Response;
|
|
|
|
Line 120 [match: EPICOR]:
|
|
118: public function getCoilActivityUsageGrid($GridPaging)
|
|
119: {
|
|
>> 120: /** @var EpicorDatabase $EpicorDB */
|
|
121: $EpicorDB = app(EpicorDatabase::class);
|
|
122: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 121 [match: EPICOR]:
|
|
119: {
|
|
120: /** @var EpicorDatabase $EpicorDB */
|
|
>> 121: $EpicorDB = app(EpicorDatabase::class);
|
|
122: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
123: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 125 [match: EPICOR]:
|
|
123: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
124:
|
|
>> 125: $Data = $EpicorDB->getCoilActivityUsageData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
126:
|
|
127:
|
|
|
|
Line 142 [match: EPICOR]:
|
|
140: public function getCoilActivityReceiptsGrid($GridPaging)
|
|
141: {
|
|
>> 142: /** @var EpicorDatabase $EpicorDB */
|
|
143: $EpicorDB = app(EpicorDatabase::class);
|
|
144: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 143 [match: EPICOR]:
|
|
141: {
|
|
142: /** @var EpicorDatabase $EpicorDB */
|
|
>> 143: $EpicorDB = app(EpicorDatabase::class);
|
|
144: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
145: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 147 [match: EPICOR]:
|
|
145: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
146:
|
|
>> 147: $Data = $EpicorDB->getCoilActivityReceiptsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
148:
|
|
149: foreach ($Data as $i => $DataRow) {
|
|
|
|
Line 172 [match: EPICOR]:
|
|
170:
|
|
171: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 172: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID', FilterField::OPERATOR_EQUAL, $SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
173:
|
|
174: $FilterCollection->addGroup($NewFilterGroup);
|
|
|
|
Line 206 [match: EPICOR]:
|
|
204: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
205: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
>> 206: $NewFilterGroup->addFilter(new FilterField('quest_Company.EpicorCustID', FilterField::OPERATOR_EQUAL, $SelectedCompanyProvider->getSelectedCompanyEpicorCustID()));
|
|
207: //$NewFilterGroup->addFilter(new FilterField('CompletedDT', FilterField::OPERATOR_GREATERTHAN_EQUAL, $this->getActivityStartDate()));
|
|
208: //$NewFilterGroup->addFilter(new FilterField('CompletedDT', FilterField::OPERATOR_LESSTHAN_EQUAL, $this->getActivityEndDate()));
|
|
|
|
Line 228 [match: EPICOR]:
|
|
226: public function getCoilActivityUsageExcelResponse()
|
|
227: {
|
|
>> 228: /** @var EpicorDatabase $EpicorDB */
|
|
229: $EpicorDB = app(EpicorDatabase::class);
|
|
230: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 229 [match: EPICOR]:
|
|
227: {
|
|
228: /** @var EpicorDatabase $EpicorDB */
|
|
>> 229: $EpicorDB = app(EpicorDatabase::class);
|
|
230: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
231: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 233 [match: EPICOR]:
|
|
231: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
232:
|
|
>> 233: $Data = $EpicorDB->getCoilActivityUsageData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
234: return $this->_setupCommonExcel($this->_getCoilActivityUsageMetadata(), $Data);
|
|
235: }
|
|
|
|
Line 242 [match: EPICOR]:
|
|
240: public function getCoilActivityReceiptsExcelResponse()
|
|
241: {
|
|
>> 242: /** @var EpicorDatabase $EpicorDB */
|
|
243: $EpicorDB = app(EpicorDatabase::class);
|
|
244: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 243 [match: EPICOR]:
|
|
241: {
|
|
242: /** @var EpicorDatabase $EpicorDB */
|
|
>> 243: $EpicorDB = app(EpicorDatabase::class);
|
|
244: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
245: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 247 [match: EPICOR]:
|
|
245: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
246:
|
|
>> 247: $Data = $EpicorDB->getCoilActivityReceiptsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $this->startDate->format('Y-m-d'), $this->endDate->format('Y-m-d'));
|
|
248: return $this->_setupCommonExcel($this->_getCoilActivityReceiptsMetadata(), $Data);
|
|
249: }
|
|
|
|
Line 278 [match: EPICOR]:
|
|
276: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
277:
|
|
>> 278: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $this->getExportShortNameForSource($Source) . ' ' . date(config('app.date_format'));
|
|
279: }
|
|
280:
|
|
|
|
Line 294 [match: EPICOR]:
|
|
292: $ReceiptsExcelResponse = $this->getCoilActivityReceiptsExcelResponse();
|
|
293:
|
|
>> 294: $cacheKey = 'coil_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
295:
|
|
296: return $this->_getExcelExportContents($cacheKey, $UsageExcelResponse, $ReceiptsExcelResponse);
|
|
|
|
Line 308 [match: EPICOR]:
|
|
306:
|
|
307: $ExcelExporter = new Excel();
|
|
>> 308: $ExportName = StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' Coil Activity ' . date(config('app.date_format'));
|
|
309: return $ExportName . '.' . $ExcelExporter->getFileExtension();
|
|
310: }
|
|
|
|
Line 331 [match: EPICOR]:
|
|
329: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
330:
|
|
>> 331: $cacheKey = 'coil_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
332:
|
|
333: $UsageGrid = $this->getCoilActivityUsageGrid(false);
|
|
|
|
Line 347 [match: EPICOR]:
|
|
345: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
346:
|
|
>> 347: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' Coil Activity ' . date(config('app.date_format')) . '.pdf';
|
|
348: }
|
|
349:
|
|
|
|
Line 350 [match: EPICOR]:
|
|
348: }
|
|
349:
|
|
>> 350: protected function _setupCommonGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging)
|
|
351: {
|
|
352: /** @var GridFactory $GridFactory */
|
|
|
|
Line 470 [match: EPICOR]:
|
|
468:
|
|
469: /**
|
|
>> 470: * @param EpicorEntityMetadata $Metadata
|
|
471: * @param array $Data
|
|
472: * @return Response
|
|
|
|
Line 474 [match: EPICOR]:
|
|
472: * @return Response
|
|
473: */
|
|
>> 474: protected function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
475: {
|
|
476: // @TODO
|
|
|
|
Line 525 [match: EPICOR]:
|
|
523: protected function _getCoilActivityUsageMetadata()
|
|
524: {
|
|
>> 525: $EntityMetadata = new EpicorEntityMetadata('portal_CoilActivityUsage');
|
|
526:
|
|
527: /** @var FieldMetadataField $DateUsed */
|
|
|
|
Line 623 [match: EPICOR]:
|
|
621: protected function _getCoilActivityReceiptsMetadata()
|
|
622: {
|
|
>> 623: $EntityMetadata = new EpicorEntityMetadata('portal_CoilActivityReceipts');
|
|
624:
|
|
625: /** @var FieldMetadataField $DateReceived */
|
|
|
|
Line 44 [match: ->query(]:
|
|
42: public function __construct()
|
|
43: {
|
|
>> 44: $RequestedDates = (in_array('start_date', request()->query()) || in_array('end_date', request()->query()));
|
|
45: $this->startDate = request()->query('start_date');
|
|
46: $this->endDate = request()->query('end_date');
|
|
|
|
Line 45 [match: ->query(]:
|
|
43: {
|
|
44: $RequestedDates = (in_array('start_date', request()->query()) || in_array('end_date', request()->query()));
|
|
>> 45: $this->startDate = request()->query('start_date');
|
|
46: $this->endDate = request()->query('end_date');
|
|
47:
|
|
|
|
Line 46 [match: ->query(]:
|
|
44: $RequestedDates = (in_array('start_date', request()->query()) || in_array('end_date', request()->query()));
|
|
45: $this->startDate = request()->query('start_date');
|
|
>> 46: $this->endDate = request()->query('end_date');
|
|
47:
|
|
48: if (!is_null($this->startDate)) {
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\CoilAllocationHelper.php
|
|
================================================================================
|
|
Line 337 [match: FROM ]:
|
|
335: $pdo = $em->getConnection()->getNativeConnection();
|
|
336:
|
|
>> 337: $sql = "SELECT SUM(OnHandQuantity) AS S FROM dbo.alloc_RequestDetail WHERE alloc_Request_ID = :SID";
|
|
338: $sth = $pdo->prepare($sql);
|
|
339: $sth->execute([':SID' => $data["CoilAllocationReference"]]);
|
|
|
|
Line 344 [match: FROM ]:
|
|
342: $data["TotalSelected"] = $results[0]['S'];
|
|
343:
|
|
>> 344: $dql = "select alloc_RequestDetail from App\\Model\\Entities\\alloc_RequestDetail alloc_RequestDetail where
|
|
345: alloc_RequestDetail.alloc_Request = :SID";
|
|
346:
|
|
|
|
Line 308 [match: SELECT ]:
|
|
306: (new Button('Complete Allocation', true))
|
|
307: ->setType(ButtonInterface::TYPE_PRIMARY),
|
|
>> 308: (new Button('Select More Items', false))
|
|
309: ->setType(ButtonInterface::TYPE_DEFAULT)
|
|
310: ->setAttribute('onclick', 'questShipmentRequestRedirectToInventory()'),
|
|
|
|
Line 337 [match: SELECT ]:
|
|
335: $pdo = $em->getConnection()->getNativeConnection();
|
|
336:
|
|
>> 337: $sql = "SELECT SUM(OnHandQuantity) AS S FROM dbo.alloc_RequestDetail WHERE alloc_Request_ID = :SID";
|
|
338: $sth = $pdo->prepare($sql);
|
|
339: $sth->execute([':SID' => $data["CoilAllocationReference"]]);
|
|
|
|
Line 344 [match: SELECT ]:
|
|
342: $data["TotalSelected"] = $results[0]['S'];
|
|
343:
|
|
>> 344: $dql = "select alloc_RequestDetail from App\\Model\\Entities\\alloc_RequestDetail alloc_RequestDetail where
|
|
345: alloc_RequestDetail.alloc_Request = :SID";
|
|
346:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\EpicorDatabase.php
|
|
================================================================================
|
|
Line 1825 [match: ->select(]:
|
|
1823:
|
|
1824: $QueryBuilder = $this->connRO->createQueryBuilder();
|
|
>> 1825: $QueryBuilder->select('*')
|
|
1826: ->from('dbo.'.$viewName)
|
|
1827: ->where('CustomerID = :custID')
|
|
|
|
Line 98 [match: FROM ]:
|
|
96: [JobProd].[JobNum] as JO
|
|
97:
|
|
>> 98: from Erp.InvcHead as InvcHead
|
|
99: inner join Erp.InvcDtl as InvcDtl on
|
|
100: InvcHead.Company = InvcDtl.Company
|
|
|
|
Line 406 [match: FROM ]:
|
|
404: Part_UD.TopcoatPaintCode_c as [Top Finish],
|
|
405: Part_UD.BackcoatPaintCode_c as [Bottom Finish]
|
|
>> 406: FROM Erp.Part AS Part
|
|
407: INNER JOIN Erp.Part_UD ON Part_UD.ForeignSysRowID = Part.SysRowID
|
|
408: WHERE Part.PartNum=:PartNumber
|
|
|
|
Line 431 [match: FROM ]:
|
|
429: // dd($lotNum);
|
|
430:
|
|
>> 431: $query = $this->connRO->prepare("SELECT * FROM portal_LotHistory WHERE [LotNum]= :LotNum order by [DateIssued] ASC;");
|
|
432: $query->bindValue(':LotNum', $lotNum);
|
|
433: $result = $query->executeQuery();
|
|
|
|
Line 436 [match: FROM ]:
|
|
434: $results = $result->fetchAllAssociative();
|
|
435:
|
|
>> 436: //dd($results,$lotNum,"SELECT * FROM portal_LotHistory WHERE [LotNum]= :LotNum order by [Date Issued] ASC;");
|
|
437:
|
|
438:
|
|
|
|
Line 490 [match: FROM ]:
|
|
488:
|
|
489: $query = $this->connRO->prepare("SELECT Name,CustID
|
|
>> 490: FROM Erp.Customer
|
|
491: WHERE CustID IN (".implode(",",$custIDs).")");
|
|
492:
|
|
|
|
Line 519 [match: FROM ]:
|
|
517: $query = $this->connRO->prepare('UPDATE COM
|
|
518: SET COM.IsDeactivated = 0
|
|
>> 519: FROM VorteqPortal.dbo.quest_Company COM
|
|
520: JOIN Epicor10Live.Erp.Customer CUST
|
|
521: ON CUST.CustID = COM.EpicorCustID
|
|
|
|
Line 555 [match: FROM ]:
|
|
553:
|
|
554: $query = $this->connRO->prepare("SELECT Name
|
|
>> 555: FROM Erp.Customer
|
|
556: WHERE CustID = :custID");
|
|
557: $query->bindValue(':custID', $CustID);
|
|
|
|
Line 1303 [match: FROM ]:
|
|
1301: VendorBottomCoat.VendorID, ' ',
|
|
1302: Part_UD.BackcoatPaintCode_c),'')) AS [Paint Code]
|
|
>> 1303: FROM Erp.Part AS Part
|
|
1304: INNER JOIN Erp.Part_UD ON Part_UD.ForeignSysRowID = Part.SysRowID
|
|
1305: INNER JOIN Erp.VendPart AS VendPart ON Part.Company = VendPart.Company
|
|
|
|
Line 1322 [match: FROM ]:
|
|
1320: PartBin.PartNum AS VorteqPartNum
|
|
1321:
|
|
>> 1322: FROM Erp.Part JOIN Erp.PartBin ON PartBin.PartNum = Part.PartNum
|
|
1323: INNER JOIN Erp.Customer AS Customer ON Part.Company = Customer.Company
|
|
1324:
|
|
|
|
Line 1354 [match: FROM ]:
|
|
1352: {
|
|
1353: $query = $this->connRO->prepare("SELECT Part.PartDescription
|
|
>> 1354: FROM Erp.Part AS Part
|
|
1355: INNER JOIN Erp.Customer AS Customer ON Part.Company = Customer.Company
|
|
1356: WHERE Part.PartNum = :partNum
|
|
|
|
Line 1378 [match: FROM ]:
|
|
1376: {
|
|
1377: $query = $this->connRO->prepare("SELECT OnHandQty
|
|
>> 1378: FROM dbo.portal_UnprocessedInventorySummary
|
|
1379: WHERE CustID = :custID
|
|
1380: AND VorteqPartNum = :part
|
|
|
|
Line 1394 [match: FROM ]:
|
|
1392: {
|
|
1393: $query = $this->connRO->prepare("SELECT OnHandQty
|
|
>> 1394: FROM dbo.portal_UnprocessedInventoryRejectsAndReturnsSummary
|
|
1395: WHERE CustID = :custID
|
|
1396: AND VorteqPartNum = :part
|
|
|
|
Line 1497 [match: FROM ]:
|
|
1495:
|
|
1496: $query = $this->connRO->prepare("SELECT PaintCode
|
|
>> 1497: FROM dbo.{$table}
|
|
1498: WHERE CustID = :custID
|
|
1499: AND VorteqPartNum = :part
|
|
|
|
Line 1634 [match: FROM ]:
|
|
1632: PackingSlip
|
|
1633:
|
|
>> 1634: FROM dbo.portal_CoilActivityReceipts
|
|
1635: where PackingSlip = :SLIP
|
|
1636: ";
|
|
|
|
Line 1657 [match: FROM ]:
|
|
1655: $sql ="
|
|
1656: SELECT Erp.Plant.Plant
|
|
>> 1657: FROM [Epicor10Live].[dbo].[portal_CoilActivityReceipts]
|
|
1658: JOIN Erp.Plant ON Erp.Plant.Name = dbo.portal_CoilActivityReceipts.PlantName
|
|
1659: WHERE PackingSlip = :SLIP
|
|
|
|
Line 1693 [match: FROM ]:
|
|
1691:
|
|
1692: $query = $this->connRO->prepare("SELECT PaintCode
|
|
>> 1693: FROM dbo.[portal_ProcessedInventoryRejectsAndReturns]
|
|
1694: WHERE CustID = :custID
|
|
1695: AND VorteqPartNum = :part
|
|
|
|
Line 1714 [match: FROM ]:
|
|
1712:
|
|
1713: $query = $this->connRO->prepare("SELECT OnHandQty
|
|
>> 1714: FROM dbo.portal_ProcessedInventoryRejectsAndReturnsSummary
|
|
1715: WHERE CustID = :custID
|
|
1716: AND VorteqPartNum = :part
|
|
|
|
Line 1857 [match: FROM ]:
|
|
1855: $query = $this->connRO->prepare("SELECT ShipToNum, ShipToName, Address1 AS ShipToAddress1, Address2 AS ShipToAddress2,
|
|
1856: City AS ShipToCity, State AS ShipToState, Zip AS ShipToZip
|
|
>> 1857: FROM portal_CustomerShipToAddresses
|
|
1858: WHERE CustID = :custID
|
|
1859: ORDER BY ShipToName");
|
|
|
|
Line 1863 [match: FROM ]:
|
|
1861: $query = $this->connRO->prepare("SELECT ShipToNum, ShipToName, Address1 AS ShipToAddress1, Address2 AS ShipToAddress2,
|
|
1862: City AS ShipToCity, State AS ShipToState, Zip AS ShipToZip
|
|
>> 1863: FROM portal_CustomerShipToAddresses
|
|
1864: WHERE CustID = :custID
|
|
1865: and UPPER(ShipToName) like '%NB HANDY%'
|
|
|
|
Line 1889 [match: FROM ]:
|
|
1887: try {
|
|
1888: $query = $this->connRO->prepare("SELECT ShipToName, Address1 AS ShipToAddress1, Address2 AS ShipToAddress2, City AS ShipToCity, State AS ShipToState, Zip AS ShipToZip
|
|
>> 1889: FROM portal_CustomerShipToAddresses
|
|
1890: WHERE CustID = :custID
|
|
1891: AND ShipToNum = :shipToNum");
|
|
|
|
Line 1915 [match: FROM ]:
|
|
1913:
|
|
1914: $query = $this->connRO->prepare("SELECT UserEmailAddress
|
|
>> 1915: FROM portal_PlantUserInfo
|
|
1916: WHERE PlantName = :plantName
|
|
1917: AND UserEmailAddress IS NOT NULL
|
|
|
|
Line 1938 [match: FROM ]:
|
|
1936: {
|
|
1937: /* $query = $this->connRO->prepare("SELECT DateUsed, VorteqPartNum, CustomerPartNum, PartDesc, LotNum, Weight, PlantName, JobNum, CustomerPO, OnHandQty
|
|
>> 1938: FROM dbo.portal_CoilActivityUsage
|
|
1939: WHERE CustID = :custID
|
|
1940: AND DateUsed >= :startDate
|
|
|
|
Line 2011 [match: FROM ]:
|
|
2009: else {
|
|
2010: $query = $this->connRO->prepare("SELECT DateReceived, VorteqPartNum, CustomerPartNum, PartDesc, ManufacturerLotNum, Weight, PlantName, PackingSlip, SupplierName, MillOrderNum, Temper, Alloy, CoilsPerSkid
|
|
>> 2011: FROM dbo.portal_CoilActivityReceipts
|
|
2012: WHERE CustID = :custID
|
|
2013: AND DateReceived >= :startDate
|
|
|
|
Line 2037 [match: FROM ]:
|
|
2035:
|
|
2036: $stmt = $this->connRO->prepare("SELECT erp.InvcHead.InvoiceNum, erp.Customer.CustID
|
|
>> 2037: FROM erp.InvcHead
|
|
2038: INNER JOIN erp.Customer ON Customer.CustNum = InvcHead.CustNum
|
|
2039: WHERE InvoiceNum IN (".implode(',',array_fill(0,sizeof($InvoiceNumbers),"?")).")");
|
|
|
|
Line 2081 [match: FROM ]:
|
|
2079: {
|
|
2080: $stmt = $this->connRO->prepare("SELECT CustID, Name
|
|
>> 2081: FROM erp.Customer
|
|
2082: ORDER BY CustID");
|
|
2083: $result = $stmt->executeQuery();
|
|
|
|
Line 94 [match: SELECT ]:
|
|
92: public function getJobNumberByInvoiceNumber($invoiceNumber)
|
|
93: {
|
|
>> 94: $sql ='select TOP 1
|
|
95:
|
|
96: [JobProd].[JobNum] as JO
|
|
|
|
Line 402 [match: SELECT ]:
|
|
400: {
|
|
401: $query = $this->connRO->prepare('
|
|
>> 402: SELECT TOP 1
|
|
403: [Part].[PartDescription] AS [Part_PartDescription],
|
|
404: Part_UD.TopcoatPaintCode_c as [Top Finish],
|
|
|
|
Line 431 [match: SELECT ]:
|
|
429: // dd($lotNum);
|
|
430:
|
|
>> 431: $query = $this->connRO->prepare("SELECT * FROM portal_LotHistory WHERE [LotNum]= :LotNum order by [DateIssued] ASC;");
|
|
432: $query->bindValue(':LotNum', $lotNum);
|
|
433: $result = $query->executeQuery();
|
|
|
|
Line 436 [match: SELECT ]:
|
|
434: $results = $result->fetchAllAssociative();
|
|
435:
|
|
>> 436: //dd($results,$lotNum,"SELECT * FROM portal_LotHistory WHERE [LotNum]= :LotNum order by [Date Issued] ASC;");
|
|
437:
|
|
438:
|
|
|
|
Line 489 [match: SELECT ]:
|
|
487: }
|
|
488:
|
|
>> 489: $query = $this->connRO->prepare("SELECT Name,CustID
|
|
490: FROM Erp.Customer
|
|
491: WHERE CustID IN (".implode(",",$custIDs).")");
|
|
|
|
Line 554 [match: SELECT ]:
|
|
552:
|
|
553:
|
|
>> 554: $query = $this->connRO->prepare("SELECT Name
|
|
555: FROM Erp.Customer
|
|
556: WHERE CustID = :custID");
|
|
|
|
Line 1295 [match: SELECT ]:
|
|
1293: public function getVorPartDescriptionFromPartNumberWithPaintCode($CustID, $Part)
|
|
1294: {
|
|
>> 1295: $query = $this->connRO->prepare("SELECT TOP 1
|
|
1296:
|
|
1297: ISNULL(( SELECT TOP 1
|
|
|
|
Line 1297 [match: SELECT ]:
|
|
1295: $query = $this->connRO->prepare("SELECT TOP 1
|
|
1296:
|
|
>> 1297: ISNULL(( SELECT TOP 1
|
|
1298: CONCAT(Part.PartDescription, ISNULL(CONCAT(CHAR(13) + CHAR(10),
|
|
1299: [Vendor].[VendorID], ' ',
|
|
|
|
Line 1353 [match: SELECT ]:
|
|
1351: public function getVorPartDescriptionFromPartNumber($CustID, $Part)
|
|
1352: {
|
|
>> 1353: $query = $this->connRO->prepare("SELECT Part.PartDescription
|
|
1354: FROM Erp.Part AS Part
|
|
1355: INNER JOIN Erp.Customer AS Customer ON Part.Company = Customer.Company
|
|
|
|
Line 1377 [match: SELECT ]:
|
|
1375: public function getInventoryUnprocessedQOHForSpecificDetailLine($CustID, $Part, $Plant, $Warehouse)
|
|
1376: {
|
|
>> 1377: $query = $this->connRO->prepare("SELECT OnHandQty
|
|
1378: FROM dbo.portal_UnprocessedInventorySummary
|
|
1379: WHERE CustID = :custID
|
|
|
|
Line 1393 [match: SELECT ]:
|
|
1391: public function getInventoryUnprocessedRRQOHForSpecificDetailLine($CustID, $Part, $Plant, $Warehouse)
|
|
1392: {
|
|
>> 1393: $query = $this->connRO->prepare("SELECT OnHandQty
|
|
1394: FROM dbo.portal_UnprocessedInventoryRejectsAndReturnsSummary
|
|
1395: WHERE CustID = :custID
|
|
|
|
Line 1496 [match: SELECT ]:
|
|
1494: // dd($CustID,$Part,$Plant,$Warehouse);
|
|
1495:
|
|
>> 1496: $query = $this->connRO->prepare("SELECT PaintCode
|
|
1497: FROM dbo.{$table}
|
|
1498: WHERE CustID = :custID
|
|
|
|
Line 1656 [match: SELECT ]:
|
|
1654: {
|
|
1655: $sql ="
|
|
>> 1656: SELECT Erp.Plant.Plant
|
|
1657: FROM [Epicor10Live].[dbo].[portal_CoilActivityReceipts]
|
|
1658: JOIN Erp.Plant ON Erp.Plant.Name = dbo.portal_CoilActivityReceipts.PlantName
|
|
|
|
Line 1692 [match: SELECT ]:
|
|
1690:
|
|
1691:
|
|
>> 1692: $query = $this->connRO->prepare("SELECT PaintCode
|
|
1693: FROM dbo.[portal_ProcessedInventoryRejectsAndReturns]
|
|
1694: WHERE CustID = :custID
|
|
|
|
Line 1713 [match: SELECT ]:
|
|
1711:
|
|
1712:
|
|
>> 1713: $query = $this->connRO->prepare("SELECT OnHandQty
|
|
1714: FROM dbo.portal_ProcessedInventoryRejectsAndReturnsSummary
|
|
1715: WHERE CustID = :custID
|
|
|
|
Line 1855 [match: SELECT ]:
|
|
1853: if (!$subuser):
|
|
1854:
|
|
>> 1855: $query = $this->connRO->prepare("SELECT ShipToNum, ShipToName, Address1 AS ShipToAddress1, Address2 AS ShipToAddress2,
|
|
1856: City AS ShipToCity, State AS ShipToState, Zip AS ShipToZip
|
|
1857: FROM portal_CustomerShipToAddresses
|
|
|
|
Line 1861 [match: SELECT ]:
|
|
1859: ORDER BY ShipToName");
|
|
1860: else:
|
|
>> 1861: $query = $this->connRO->prepare("SELECT ShipToNum, ShipToName, Address1 AS ShipToAddress1, Address2 AS ShipToAddress2,
|
|
1862: City AS ShipToCity, State AS ShipToState, Zip AS ShipToZip
|
|
1863: FROM portal_CustomerShipToAddresses
|
|
|
|
Line 1888 [match: SELECT ]:
|
|
1886: {
|
|
1887: try {
|
|
>> 1888: $query = $this->connRO->prepare("SELECT ShipToName, Address1 AS ShipToAddress1, Address2 AS ShipToAddress2, City AS ShipToCity, State AS ShipToState, Zip AS ShipToZip
|
|
1889: FROM portal_CustomerShipToAddresses
|
|
1890: WHERE CustID = :custID
|
|
|
|
Line 1914 [match: SELECT ]:
|
|
1912:
|
|
1913:
|
|
>> 1914: $query = $this->connRO->prepare("SELECT UserEmailAddress
|
|
1915: FROM portal_PlantUserInfo
|
|
1916: WHERE PlantName = :plantName
|
|
|
|
Line 1937 [match: SELECT ]:
|
|
1935: public function getCoilActivityUsageData($CustID, $StartDate, $EndDate)
|
|
1936: {
|
|
>> 1937: /* $query = $this->connRO->prepare("SELECT DateUsed, VorteqPartNum, CustomerPartNum, PartDesc, LotNum, Weight, PlantName, JobNum, CustomerPO, OnHandQty
|
|
1938: FROM dbo.portal_CoilActivityUsage
|
|
1939: WHERE CustID = :custID
|
|
|
|
Line 2010 [match: SELECT ]:
|
|
2008: }
|
|
2009: else {
|
|
>> 2010: $query = $this->connRO->prepare("SELECT DateReceived, VorteqPartNum, CustomerPartNum, PartDesc, ManufacturerLotNum, Weight, PlantName, PackingSlip, SupplierName, MillOrderNum, Temper, Alloy, CoilsPerSkid
|
|
2011: FROM dbo.portal_CoilActivityReceipts
|
|
2012: WHERE CustID = :custID
|
|
|
|
Line 2036 [match: SELECT ]:
|
|
2034: $InvoiceNumbers = array_unique($InvoiceNumbers);
|
|
2035:
|
|
>> 2036: $stmt = $this->connRO->prepare("SELECT erp.InvcHead.InvoiceNum, erp.Customer.CustID
|
|
2037: FROM erp.InvcHead
|
|
2038: INNER JOIN erp.Customer ON Customer.CustNum = InvcHead.CustNum
|
|
|
|
Line 2080 [match: SELECT ]:
|
|
2078: public function getAllCustomerNamesByID()
|
|
2079: {
|
|
>> 2080: $stmt = $this->connRO->prepare("SELECT CustID, Name
|
|
2081: FROM erp.Customer
|
|
2082: ORDER BY CustID");
|
|
|
|
Line 517 [match: UPDATE ]:
|
|
515: if (App::environment() === 'prod'):
|
|
516:
|
|
>> 517: $query = $this->connRO->prepare('UPDATE COM
|
|
518: SET COM.IsDeactivated = 0
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
|
|
Line 99 [match: INNER JOIN]:
|
|
97:
|
|
98: from Erp.InvcHead as InvcHead
|
|
>> 99: inner join Erp.InvcDtl as InvcDtl on
|
|
100: InvcHead.Company = InvcDtl.Company
|
|
101: And
|
|
|
|
Line 105 [match: INNER JOIN]:
|
|
103: and ( InvcDtl.InvoiceLine = 1 )
|
|
104:
|
|
>> 105: inner join Erp.JobProd as JobProd on
|
|
106: InvcDtl.Company = JobProd.Company
|
|
107: And
|
|
|
|
Line 407 [match: INNER JOIN]:
|
|
405: Part_UD.BackcoatPaintCode_c as [Bottom Finish]
|
|
406: FROM Erp.Part AS Part
|
|
>> 407: INNER JOIN Erp.Part_UD ON Part_UD.ForeignSysRowID = Part.SysRowID
|
|
408: WHERE Part.PartNum=:PartNumber
|
|
409: ');
|
|
|
|
Line 1304 [match: INNER JOIN]:
|
|
1302: Part_UD.BackcoatPaintCode_c),'')) AS [Paint Code]
|
|
1303: FROM Erp.Part AS Part
|
|
>> 1304: INNER JOIN Erp.Part_UD ON Part_UD.ForeignSysRowID = Part.SysRowID
|
|
1305: INNER JOIN Erp.VendPart AS VendPart ON Part.Company = VendPart.Company
|
|
1306: AND Part_UD.TopcoatPaintCode_c = VendPart.PartNum
|
|
|
|
Line 1305 [match: INNER JOIN]:
|
|
1303: FROM Erp.Part AS Part
|
|
1304: INNER JOIN Erp.Part_UD ON Part_UD.ForeignSysRowID = Part.SysRowID
|
|
>> 1305: INNER JOIN Erp.VendPart AS VendPart ON Part.Company = VendPart.Company
|
|
1306: AND Part_UD.TopcoatPaintCode_c = VendPart.PartNum
|
|
1307: AND ( VendPart.ExpirationDate IS NULL )
|
|
|
|
Line 1308 [match: INNER JOIN]:
|
|
1306: AND Part_UD.TopcoatPaintCode_c = VendPart.PartNum
|
|
1307: AND ( VendPart.ExpirationDate IS NULL )
|
|
>> 1308: INNER JOIN Erp.Vendor AS Vendor ON VendPart.Company = Vendor.Company
|
|
1309: AND VendPart.VendorNum = Vendor.VendorNum
|
|
1310: INNER JOIN Erp.VendPart AS VendPart2 ON Part.Company = VendPart2.Company
|
|
|
|
Line 1310 [match: INNER JOIN]:
|
|
1308: INNER JOIN Erp.Vendor AS Vendor ON VendPart.Company = Vendor.Company
|
|
1309: AND VendPart.VendorNum = Vendor.VendorNum
|
|
>> 1310: INNER JOIN Erp.VendPart AS VendPart2 ON Part.Company = VendPart2.Company
|
|
1311: AND Part_UD.BackcoatPaintCode_c = VendPart2.PartNum
|
|
1312: AND ( VendPart2.ExpirationDate IS NULL )
|
|
|
|
Line 1313 [match: INNER JOIN]:
|
|
1311: AND Part_UD.BackcoatPaintCode_c = VendPart2.PartNum
|
|
1312: AND ( VendPart2.ExpirationDate IS NULL )
|
|
>> 1313: INNER JOIN Erp.Vendor AS VendorBottomCoat ON VendPart2.Company = VendorBottomCoat.Company
|
|
1314: AND VendPart2.VendorNum = VendorBottomCoat.VendorNum
|
|
1315: WHERE ( Part.ClassID = 'FGS'
|
|
|
|
Line 1323 [match: INNER JOIN]:
|
|
1321:
|
|
1322: FROM Erp.Part JOIN Erp.PartBin ON PartBin.PartNum = Part.PartNum
|
|
>> 1323: INNER JOIN Erp.Customer AS Customer ON Part.Company = Customer.Company
|
|
1324:
|
|
1325: WHERE PartBin.PartNum LIKE :partNum AND Customer.CustID = :custID");
|
|
|
|
Line 1355 [match: INNER JOIN]:
|
|
1353: $query = $this->connRO->prepare("SELECT Part.PartDescription
|
|
1354: FROM Erp.Part AS Part
|
|
>> 1355: INNER JOIN Erp.Customer AS Customer ON Part.Company = Customer.Company
|
|
1356: WHERE Part.PartNum = :partNum
|
|
1357: AND Customer.CustID = :custID");
|
|
|
|
Line 2038 [match: INNER JOIN]:
|
|
2036: $stmt = $this->connRO->prepare("SELECT erp.InvcHead.InvoiceNum, erp.Customer.CustID
|
|
2037: FROM erp.InvcHead
|
|
>> 2038: INNER JOIN erp.Customer ON Customer.CustNum = InvcHead.CustNum
|
|
2039: WHERE InvoiceNum IN (".implode(',',array_fill(0,sizeof($InvoiceNumbers),"?")).")");
|
|
2040: $ret = array_combine($InvoiceNumbers, array_fill(0,sizeof($InvoiceNumbers),null));
|
|
|
|
Line 3 [match: epicor]:
|
|
1: <?php namespace App\Services;
|
|
2:
|
|
>> 3: use App\Exceptions\NoDetailDataForEpicorMultiKey;
|
|
4: use Doctrine\DBAL\Exception\DriverException;
|
|
5: use Illuminate\Support\Facades\Session;
|
|
|
|
Line 12 [match: epicor]:
|
|
10: use stdClass;
|
|
11:
|
|
>> 12: class EpicorDatabase
|
|
13: {
|
|
14: /** @var \Doctrine\DBAL\Connection */
|
|
|
|
Line 25 [match: epicor]:
|
|
23: public function __construct(EMContainer $EMs)
|
|
24: {
|
|
>> 25: $this->connRO = $EMs->getEM('epicor_ro')->getConnection();
|
|
26: }
|
|
27:
|
|
|
|
Line 63 [match: epicor]:
|
|
61: AND [Customer].[CustID] = :Customer*/
|
|
62:
|
|
>> 63: $sql = file_get_contents(__DIR__."/epicoreSQL/CoilByCoil.sql");
|
|
64:
|
|
65: //dd($sql);
|
|
|
|
Line 211 [match: epicor]:
|
|
209:
|
|
210:
|
|
>> 211: $sql = file_get_contents(__DIR__."/epicoreSQL/AP-CheckProcessing/CheckLines.sql");
|
|
212: $query = $this->connRO->prepare($sql);
|
|
213:
|
|
|
|
Line 341 [match: epicor]:
|
|
339: public function getAcknowledgement($customer, $poNumber = null, $orderNum = null )
|
|
340: {
|
|
>> 341: $sql=file_get_contents(__DIR__."/epicoreSQL/SalesOrder.sql");
|
|
342:
|
|
343:
|
|
|
|
Line 449 [match: epicor]:
|
|
447: public function getJobStatusByPlanByCustomer($CustID)
|
|
448: {
|
|
>> 449: $sql = file_get_contents(__DIR__."/epicoreSQL/JobStatusByPlantByCustomer.sql");
|
|
450:
|
|
451:
|
|
|
|
Line 484 [match: epicor]:
|
|
482: $custIDs=[];
|
|
483:
|
|
>> 484: foreach ($Customers as $epicoreCustomerID => $v)
|
|
485: {
|
|
486: $custIDs[]="'$epicoreCustomerID'";
|
|
|
|
Line 486 [match: epicor]:
|
|
484: foreach ($Customers as $epicoreCustomerID => $v)
|
|
485: {
|
|
>> 486: $custIDs[]="'$epicoreCustomerID'";
|
|
487: }
|
|
488:
|
|
|
|
Line 520 [match: epicor]:
|
|
518: SET COM.IsDeactivated = 0
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
>> 520: JOIN Epicor10Live.Erp.Customer CUST
|
|
521: ON CUST.CustID = COM.EpicorCustID
|
|
522: WHERE COM.IsDeactivated = 1;');
|
|
|
|
Line 521 [match: epicor]:
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
520: JOIN Epicor10Live.Erp.Customer CUST
|
|
>> 521: ON CUST.CustID = COM.EpicorCustID
|
|
522: WHERE COM.IsDeactivated = 1;');
|
|
523:
|
|
|
|
Line 878 [match: epicor]:
|
|
876: * @param string|null $Warehouse
|
|
877: * @return array
|
|
>> 878: * @throws NoDetailDataForEpicorMultiKey
|
|
879: */
|
|
880:
|
|
|
|
Line 921 [match: epicor]:
|
|
919: * @param string|null $Warehouse
|
|
920: * @return array
|
|
>> 921: * @throws NoDetailDataForEpicorMultiKey
|
|
922: */
|
|
923: public function getInventoryUnprocessedRRDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 958 [match: epicor]:
|
|
956: * @param string|null $Warehouse
|
|
957: * @return array
|
|
>> 958: * @throws NoDetailDataForEpicorMultiKey
|
|
959: */
|
|
960: public function getInventoryWorkInProgressDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 970 [match: epicor]:
|
|
968:
|
|
969: try {
|
|
>> 970: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
971: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
972:
|
|
|
|
Line 1040 [match: epicor]:
|
|
1038: return [];
|
|
1039: else
|
|
>> 1040: throw new NoDetailDataForEpicorMultiKey();
|
|
1041: }
|
|
1042:
|
|
|
|
Line 1044 [match: epicor]:
|
|
1042:
|
|
1043: if(!sizeof($res) && !$GetAll)
|
|
>> 1044: throw new NoDetailDataForEpicorMultiKey();
|
|
1045:
|
|
1046:
|
|
|
|
Line 1059 [match: epicor]:
|
|
1057: * @param string|null $Warehouse
|
|
1058: * @return array
|
|
>> 1059: * @throws NoDetailDataForEpicorMultiKey
|
|
1060: */
|
|
1061: public function getInventoryFinishedGoodsDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1071 [match: epicor]:
|
|
1069:
|
|
1070: try {
|
|
>> 1071: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
1072: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
1073:
|
|
|
|
Line 1141 [match: epicor]:
|
|
1139: return [];
|
|
1140: else
|
|
>> 1141: throw new NoDetailDataForEpicorMultiKey();
|
|
1142: }
|
|
1143:
|
|
|
|
Line 1145 [match: epicor]:
|
|
1143:
|
|
1144: if(!sizeof($res) && !$GetAll)
|
|
>> 1145: throw new NoDetailDataForEpicorMultiKey();
|
|
1146:
|
|
1147:
|
|
|
|
Line 1160 [match: epicor]:
|
|
1158: * @param string|null $Warehouse
|
|
1159: * @return array
|
|
>> 1160: * @throws NoDetailDataForEpicorMultiKey
|
|
1161: */
|
|
1162: public function getInventoryProcessedOtherDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1172 [match: epicor]:
|
|
1170:
|
|
1171: try {
|
|
>> 1172: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
1173: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
1174:
|
|
|
|
Line 1242 [match: epicor]:
|
|
1240: return [];
|
|
1241: else
|
|
>> 1242: throw new NoDetailDataForEpicorMultiKey();
|
|
1243: }
|
|
1244:
|
|
|
|
Line 1246 [match: epicor]:
|
|
1244:
|
|
1245: if(!sizeof($res) && !$GetAll)
|
|
>> 1246: throw new NoDetailDataForEpicorMultiKey();
|
|
1247:
|
|
1248:
|
|
|
|
Line 1261 [match: epicor]:
|
|
1259: * @param string|null $Warehouse
|
|
1260: * @return array
|
|
>> 1261: * @throws NoDetailDataForEpicorMultiKey
|
|
1262: */
|
|
1263: public function getInventoryProcessedRRDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1467 [match: epicor]:
|
|
1465:
|
|
1466:
|
|
>> 1467: $sql = file_get_contents(__DIR__ . "/epicoreSQL/CoilAllocation.sql");
|
|
1468:
|
|
1469: $CurrentDB = $this->getCurrentDatabase();
|
|
|
|
Line 1514 [match: epicor]:
|
|
1512: public function getBOL($bolNum)
|
|
1513: {
|
|
>> 1514: $sql = file_get_contents(__DIR__."/epicoreSQL/getBOL.sql");
|
|
1515:
|
|
1516: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1521 [match: epicor]:
|
|
1519: /** @var SelectedCompanyProvider $customer */
|
|
1520: $customer = app(SelectedCompanyProvider::class);
|
|
>> 1521: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
1522: $query->bindValue(':CUST', $customer);
|
|
1523:
|
|
|
|
Line 1537 [match: epicor]:
|
|
1535: public function getJobTraveler($jobNum)
|
|
1536: {
|
|
>> 1537: $sql = file_get_contents(__DIR__."/epicoreSQL/jobTraveler.sql");
|
|
1538:
|
|
1539: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1564 [match: epicor]:
|
|
1562: $JobNum[$k] = "'$num'";
|
|
1563: }
|
|
>> 1564: $sql = file_get_contents(__DIR__."/epicoreSQL/getTotalCharges.sql");
|
|
1565: $sql = str_replace('$totalCharges', implode(",",$JobNum), $sql);
|
|
1566: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1595 [match: epicor]:
|
|
1593: public function getPaintLines()
|
|
1594: {
|
|
>> 1595: $sql = file_get_contents(__DIR__."/epicoreSQL/paintlines.sql");
|
|
1596:
|
|
1597: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1606 [match: epicor]:
|
|
1604: public function getJobForPaintLine($JobNum, $ProdCode)
|
|
1605: {
|
|
>> 1606: $sql = file_get_contents(__DIR__."/epicoreSQL/getJobForPaintLine.sql");
|
|
1607: $query = $this->connRO->prepare($sql);
|
|
1608: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1619 [match: epicor]:
|
|
1617: public function getJob($JobNum)
|
|
1618: {
|
|
>> 1619: $sql = file_get_contents(__DIR__."/epicoreSQL/getJob.sql");
|
|
1620: $query = $this->connRO->prepare($sql);
|
|
1621: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1657 [match: epicor]:
|
|
1655: $sql ="
|
|
1656: SELECT Erp.Plant.Plant
|
|
>> 1657: FROM [Epicor10Live].[dbo].[portal_CoilActivityReceipts]
|
|
1658: JOIN Erp.Plant ON Erp.Plant.Name = dbo.portal_CoilActivityReceipts.PlantName
|
|
1659: WHERE PackingSlip = :SLIP
|
|
|
|
Line 1672 [match: epicor]:
|
|
1670: public function getClosedJob($JobNum)
|
|
1671: {
|
|
>> 1672: $sql = file_get_contents(__DIR__."/epicoreSQL/getClosedJob.sql");
|
|
1673: $query = $this->connRO->prepare($sql);
|
|
1674: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1730 [match: epicor]:
|
|
1728: {
|
|
1729:
|
|
>> 1730: // $sql = file_get_contents(__DIR__ . "/epicoreSQL/portal_Shipments.sql");
|
|
1731:
|
|
1732:
|
|
|
|
Line 1756 [match: epicor]:
|
|
1754: {
|
|
1755:
|
|
>> 1756: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_ShipmentsTop5.sql");
|
|
1757:
|
|
1758:
|
|
|
|
Line 1795 [match: epicor]:
|
|
1793:
|
|
1794:
|
|
>> 1795: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_Orders.sql");
|
|
1796:
|
|
1797:
|
|
|
|
Line 1944 [match: epicor]:
|
|
1942: ORDER BY DateUsed, VorteqPartNum, JobNum, LotNum, Weight DESC"); */
|
|
1943:
|
|
>> 1944: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_CoilActivityUsage.sql");
|
|
1945: $query = $this->connRO->prepare($sql);
|
|
1946:
|
|
|
|
Line 2003 [match: epicor]:
|
|
2001: {
|
|
2002: if ($CustID == "VGL") {
|
|
>> 2003: $sql = file_get_contents(__DIR__."/epicoreSQL/VGLCoilReceiptsData.sql");
|
|
2004: $query = $this->connRO->prepare($sql);
|
|
2005:
|
|
|
|
Line 2050 [match: epicor]:
|
|
2048: {
|
|
2049:
|
|
>> 2050: $sql = file_get_contents(__DIR__."/epicoreSQL/getOrdersForCustomerOnOrAfterDate.sql");
|
|
2051:
|
|
2052:
|
|
|
|
Line 3 [match: Epicor]:
|
|
1: <?php namespace App\Services;
|
|
2:
|
|
>> 3: use App\Exceptions\NoDetailDataForEpicorMultiKey;
|
|
4: use Doctrine\DBAL\Exception\DriverException;
|
|
5: use Illuminate\Support\Facades\Session;
|
|
|
|
Line 12 [match: Epicor]:
|
|
10: use stdClass;
|
|
11:
|
|
>> 12: class EpicorDatabase
|
|
13: {
|
|
14: /** @var \Doctrine\DBAL\Connection */
|
|
|
|
Line 25 [match: Epicor]:
|
|
23: public function __construct(EMContainer $EMs)
|
|
24: {
|
|
>> 25: $this->connRO = $EMs->getEM('epicor_ro')->getConnection();
|
|
26: }
|
|
27:
|
|
|
|
Line 63 [match: Epicor]:
|
|
61: AND [Customer].[CustID] = :Customer*/
|
|
62:
|
|
>> 63: $sql = file_get_contents(__DIR__."/epicoreSQL/CoilByCoil.sql");
|
|
64:
|
|
65: //dd($sql);
|
|
|
|
Line 211 [match: Epicor]:
|
|
209:
|
|
210:
|
|
>> 211: $sql = file_get_contents(__DIR__."/epicoreSQL/AP-CheckProcessing/CheckLines.sql");
|
|
212: $query = $this->connRO->prepare($sql);
|
|
213:
|
|
|
|
Line 341 [match: Epicor]:
|
|
339: public function getAcknowledgement($customer, $poNumber = null, $orderNum = null )
|
|
340: {
|
|
>> 341: $sql=file_get_contents(__DIR__."/epicoreSQL/SalesOrder.sql");
|
|
342:
|
|
343:
|
|
|
|
Line 449 [match: Epicor]:
|
|
447: public function getJobStatusByPlanByCustomer($CustID)
|
|
448: {
|
|
>> 449: $sql = file_get_contents(__DIR__."/epicoreSQL/JobStatusByPlantByCustomer.sql");
|
|
450:
|
|
451:
|
|
|
|
Line 484 [match: Epicor]:
|
|
482: $custIDs=[];
|
|
483:
|
|
>> 484: foreach ($Customers as $epicoreCustomerID => $v)
|
|
485: {
|
|
486: $custIDs[]="'$epicoreCustomerID'";
|
|
|
|
Line 486 [match: Epicor]:
|
|
484: foreach ($Customers as $epicoreCustomerID => $v)
|
|
485: {
|
|
>> 486: $custIDs[]="'$epicoreCustomerID'";
|
|
487: }
|
|
488:
|
|
|
|
Line 520 [match: Epicor]:
|
|
518: SET COM.IsDeactivated = 0
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
>> 520: JOIN Epicor10Live.Erp.Customer CUST
|
|
521: ON CUST.CustID = COM.EpicorCustID
|
|
522: WHERE COM.IsDeactivated = 1;');
|
|
|
|
Line 521 [match: Epicor]:
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
520: JOIN Epicor10Live.Erp.Customer CUST
|
|
>> 521: ON CUST.CustID = COM.EpicorCustID
|
|
522: WHERE COM.IsDeactivated = 1;');
|
|
523:
|
|
|
|
Line 878 [match: Epicor]:
|
|
876: * @param string|null $Warehouse
|
|
877: * @return array
|
|
>> 878: * @throws NoDetailDataForEpicorMultiKey
|
|
879: */
|
|
880:
|
|
|
|
Line 921 [match: Epicor]:
|
|
919: * @param string|null $Warehouse
|
|
920: * @return array
|
|
>> 921: * @throws NoDetailDataForEpicorMultiKey
|
|
922: */
|
|
923: public function getInventoryUnprocessedRRDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 958 [match: Epicor]:
|
|
956: * @param string|null $Warehouse
|
|
957: * @return array
|
|
>> 958: * @throws NoDetailDataForEpicorMultiKey
|
|
959: */
|
|
960: public function getInventoryWorkInProgressDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 970 [match: Epicor]:
|
|
968:
|
|
969: try {
|
|
>> 970: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
971: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
972:
|
|
|
|
Line 1040 [match: Epicor]:
|
|
1038: return [];
|
|
1039: else
|
|
>> 1040: throw new NoDetailDataForEpicorMultiKey();
|
|
1041: }
|
|
1042:
|
|
|
|
Line 1044 [match: Epicor]:
|
|
1042:
|
|
1043: if(!sizeof($res) && !$GetAll)
|
|
>> 1044: throw new NoDetailDataForEpicorMultiKey();
|
|
1045:
|
|
1046:
|
|
|
|
Line 1059 [match: Epicor]:
|
|
1057: * @param string|null $Warehouse
|
|
1058: * @return array
|
|
>> 1059: * @throws NoDetailDataForEpicorMultiKey
|
|
1060: */
|
|
1061: public function getInventoryFinishedGoodsDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1071 [match: Epicor]:
|
|
1069:
|
|
1070: try {
|
|
>> 1071: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
1072: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
1073:
|
|
|
|
Line 1141 [match: Epicor]:
|
|
1139: return [];
|
|
1140: else
|
|
>> 1141: throw new NoDetailDataForEpicorMultiKey();
|
|
1142: }
|
|
1143:
|
|
|
|
Line 1145 [match: Epicor]:
|
|
1143:
|
|
1144: if(!sizeof($res) && !$GetAll)
|
|
>> 1145: throw new NoDetailDataForEpicorMultiKey();
|
|
1146:
|
|
1147:
|
|
|
|
Line 1160 [match: Epicor]:
|
|
1158: * @param string|null $Warehouse
|
|
1159: * @return array
|
|
>> 1160: * @throws NoDetailDataForEpicorMultiKey
|
|
1161: */
|
|
1162: public function getInventoryProcessedOtherDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1172 [match: Epicor]:
|
|
1170:
|
|
1171: try {
|
|
>> 1172: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
1173: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
1174:
|
|
|
|
Line 1242 [match: Epicor]:
|
|
1240: return [];
|
|
1241: else
|
|
>> 1242: throw new NoDetailDataForEpicorMultiKey();
|
|
1243: }
|
|
1244:
|
|
|
|
Line 1246 [match: Epicor]:
|
|
1244:
|
|
1245: if(!sizeof($res) && !$GetAll)
|
|
>> 1246: throw new NoDetailDataForEpicorMultiKey();
|
|
1247:
|
|
1248:
|
|
|
|
Line 1261 [match: Epicor]:
|
|
1259: * @param string|null $Warehouse
|
|
1260: * @return array
|
|
>> 1261: * @throws NoDetailDataForEpicorMultiKey
|
|
1262: */
|
|
1263: public function getInventoryProcessedRRDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1467 [match: Epicor]:
|
|
1465:
|
|
1466:
|
|
>> 1467: $sql = file_get_contents(__DIR__ . "/epicoreSQL/CoilAllocation.sql");
|
|
1468:
|
|
1469: $CurrentDB = $this->getCurrentDatabase();
|
|
|
|
Line 1514 [match: Epicor]:
|
|
1512: public function getBOL($bolNum)
|
|
1513: {
|
|
>> 1514: $sql = file_get_contents(__DIR__."/epicoreSQL/getBOL.sql");
|
|
1515:
|
|
1516: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1521 [match: Epicor]:
|
|
1519: /** @var SelectedCompanyProvider $customer */
|
|
1520: $customer = app(SelectedCompanyProvider::class);
|
|
>> 1521: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
1522: $query->bindValue(':CUST', $customer);
|
|
1523:
|
|
|
|
Line 1537 [match: Epicor]:
|
|
1535: public function getJobTraveler($jobNum)
|
|
1536: {
|
|
>> 1537: $sql = file_get_contents(__DIR__."/epicoreSQL/jobTraveler.sql");
|
|
1538:
|
|
1539: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1564 [match: Epicor]:
|
|
1562: $JobNum[$k] = "'$num'";
|
|
1563: }
|
|
>> 1564: $sql = file_get_contents(__DIR__."/epicoreSQL/getTotalCharges.sql");
|
|
1565: $sql = str_replace('$totalCharges', implode(",",$JobNum), $sql);
|
|
1566: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1595 [match: Epicor]:
|
|
1593: public function getPaintLines()
|
|
1594: {
|
|
>> 1595: $sql = file_get_contents(__DIR__."/epicoreSQL/paintlines.sql");
|
|
1596:
|
|
1597: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1606 [match: Epicor]:
|
|
1604: public function getJobForPaintLine($JobNum, $ProdCode)
|
|
1605: {
|
|
>> 1606: $sql = file_get_contents(__DIR__."/epicoreSQL/getJobForPaintLine.sql");
|
|
1607: $query = $this->connRO->prepare($sql);
|
|
1608: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1619 [match: Epicor]:
|
|
1617: public function getJob($JobNum)
|
|
1618: {
|
|
>> 1619: $sql = file_get_contents(__DIR__."/epicoreSQL/getJob.sql");
|
|
1620: $query = $this->connRO->prepare($sql);
|
|
1621: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1657 [match: Epicor]:
|
|
1655: $sql ="
|
|
1656: SELECT Erp.Plant.Plant
|
|
>> 1657: FROM [Epicor10Live].[dbo].[portal_CoilActivityReceipts]
|
|
1658: JOIN Erp.Plant ON Erp.Plant.Name = dbo.portal_CoilActivityReceipts.PlantName
|
|
1659: WHERE PackingSlip = :SLIP
|
|
|
|
Line 1672 [match: Epicor]:
|
|
1670: public function getClosedJob($JobNum)
|
|
1671: {
|
|
>> 1672: $sql = file_get_contents(__DIR__."/epicoreSQL/getClosedJob.sql");
|
|
1673: $query = $this->connRO->prepare($sql);
|
|
1674: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1730 [match: Epicor]:
|
|
1728: {
|
|
1729:
|
|
>> 1730: // $sql = file_get_contents(__DIR__ . "/epicoreSQL/portal_Shipments.sql");
|
|
1731:
|
|
1732:
|
|
|
|
Line 1756 [match: Epicor]:
|
|
1754: {
|
|
1755:
|
|
>> 1756: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_ShipmentsTop5.sql");
|
|
1757:
|
|
1758:
|
|
|
|
Line 1795 [match: Epicor]:
|
|
1793:
|
|
1794:
|
|
>> 1795: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_Orders.sql");
|
|
1796:
|
|
1797:
|
|
|
|
Line 1944 [match: Epicor]:
|
|
1942: ORDER BY DateUsed, VorteqPartNum, JobNum, LotNum, Weight DESC"); */
|
|
1943:
|
|
>> 1944: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_CoilActivityUsage.sql");
|
|
1945: $query = $this->connRO->prepare($sql);
|
|
1946:
|
|
|
|
Line 2003 [match: Epicor]:
|
|
2001: {
|
|
2002: if ($CustID == "VGL") {
|
|
>> 2003: $sql = file_get_contents(__DIR__."/epicoreSQL/VGLCoilReceiptsData.sql");
|
|
2004: $query = $this->connRO->prepare($sql);
|
|
2005:
|
|
|
|
Line 2050 [match: Epicor]:
|
|
2048: {
|
|
2049:
|
|
>> 2050: $sql = file_get_contents(__DIR__."/epicoreSQL/getOrdersForCustomerOnOrAfterDate.sql");
|
|
2051:
|
|
2052:
|
|
|
|
Line 3 [match: EPICOR]:
|
|
1: <?php namespace App\Services;
|
|
2:
|
|
>> 3: use App\Exceptions\NoDetailDataForEpicorMultiKey;
|
|
4: use Doctrine\DBAL\Exception\DriverException;
|
|
5: use Illuminate\Support\Facades\Session;
|
|
|
|
Line 12 [match: EPICOR]:
|
|
10: use stdClass;
|
|
11:
|
|
>> 12: class EpicorDatabase
|
|
13: {
|
|
14: /** @var \Doctrine\DBAL\Connection */
|
|
|
|
Line 25 [match: EPICOR]:
|
|
23: public function __construct(EMContainer $EMs)
|
|
24: {
|
|
>> 25: $this->connRO = $EMs->getEM('epicor_ro')->getConnection();
|
|
26: }
|
|
27:
|
|
|
|
Line 63 [match: EPICOR]:
|
|
61: AND [Customer].[CustID] = :Customer*/
|
|
62:
|
|
>> 63: $sql = file_get_contents(__DIR__."/epicoreSQL/CoilByCoil.sql");
|
|
64:
|
|
65: //dd($sql);
|
|
|
|
Line 211 [match: EPICOR]:
|
|
209:
|
|
210:
|
|
>> 211: $sql = file_get_contents(__DIR__."/epicoreSQL/AP-CheckProcessing/CheckLines.sql");
|
|
212: $query = $this->connRO->prepare($sql);
|
|
213:
|
|
|
|
Line 341 [match: EPICOR]:
|
|
339: public function getAcknowledgement($customer, $poNumber = null, $orderNum = null )
|
|
340: {
|
|
>> 341: $sql=file_get_contents(__DIR__."/epicoreSQL/SalesOrder.sql");
|
|
342:
|
|
343:
|
|
|
|
Line 449 [match: EPICOR]:
|
|
447: public function getJobStatusByPlanByCustomer($CustID)
|
|
448: {
|
|
>> 449: $sql = file_get_contents(__DIR__."/epicoreSQL/JobStatusByPlantByCustomer.sql");
|
|
450:
|
|
451:
|
|
|
|
Line 484 [match: EPICOR]:
|
|
482: $custIDs=[];
|
|
483:
|
|
>> 484: foreach ($Customers as $epicoreCustomerID => $v)
|
|
485: {
|
|
486: $custIDs[]="'$epicoreCustomerID'";
|
|
|
|
Line 486 [match: EPICOR]:
|
|
484: foreach ($Customers as $epicoreCustomerID => $v)
|
|
485: {
|
|
>> 486: $custIDs[]="'$epicoreCustomerID'";
|
|
487: }
|
|
488:
|
|
|
|
Line 520 [match: EPICOR]:
|
|
518: SET COM.IsDeactivated = 0
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
>> 520: JOIN Epicor10Live.Erp.Customer CUST
|
|
521: ON CUST.CustID = COM.EpicorCustID
|
|
522: WHERE COM.IsDeactivated = 1;');
|
|
|
|
Line 521 [match: EPICOR]:
|
|
519: FROM VorteqPortal.dbo.quest_Company COM
|
|
520: JOIN Epicor10Live.Erp.Customer CUST
|
|
>> 521: ON CUST.CustID = COM.EpicorCustID
|
|
522: WHERE COM.IsDeactivated = 1;');
|
|
523:
|
|
|
|
Line 878 [match: EPICOR]:
|
|
876: * @param string|null $Warehouse
|
|
877: * @return array
|
|
>> 878: * @throws NoDetailDataForEpicorMultiKey
|
|
879: */
|
|
880:
|
|
|
|
Line 921 [match: EPICOR]:
|
|
919: * @param string|null $Warehouse
|
|
920: * @return array
|
|
>> 921: * @throws NoDetailDataForEpicorMultiKey
|
|
922: */
|
|
923: public function getInventoryUnprocessedRRDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 958 [match: EPICOR]:
|
|
956: * @param string|null $Warehouse
|
|
957: * @return array
|
|
>> 958: * @throws NoDetailDataForEpicorMultiKey
|
|
959: */
|
|
960: public function getInventoryWorkInProgressDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 970 [match: EPICOR]:
|
|
968:
|
|
969: try {
|
|
>> 970: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
971: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
972:
|
|
|
|
Line 1040 [match: EPICOR]:
|
|
1038: return [];
|
|
1039: else
|
|
>> 1040: throw new NoDetailDataForEpicorMultiKey();
|
|
1041: }
|
|
1042:
|
|
|
|
Line 1044 [match: EPICOR]:
|
|
1042:
|
|
1043: if(!sizeof($res) && !$GetAll)
|
|
>> 1044: throw new NoDetailDataForEpicorMultiKey();
|
|
1045:
|
|
1046:
|
|
|
|
Line 1059 [match: EPICOR]:
|
|
1057: * @param string|null $Warehouse
|
|
1058: * @return array
|
|
>> 1059: * @throws NoDetailDataForEpicorMultiKey
|
|
1060: */
|
|
1061: public function getInventoryFinishedGoodsDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1071 [match: EPICOR]:
|
|
1069:
|
|
1070: try {
|
|
>> 1071: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
1072: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
1073:
|
|
|
|
Line 1141 [match: EPICOR]:
|
|
1139: return [];
|
|
1140: else
|
|
>> 1141: throw new NoDetailDataForEpicorMultiKey();
|
|
1142: }
|
|
1143:
|
|
|
|
Line 1145 [match: EPICOR]:
|
|
1143:
|
|
1144: if(!sizeof($res) && !$GetAll)
|
|
>> 1145: throw new NoDetailDataForEpicorMultiKey();
|
|
1146:
|
|
1147:
|
|
|
|
Line 1160 [match: EPICOR]:
|
|
1158: * @param string|null $Warehouse
|
|
1159: * @return array
|
|
>> 1160: * @throws NoDetailDataForEpicorMultiKey
|
|
1161: */
|
|
1162: public function getInventoryProcessedOtherDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1172 [match: EPICOR]:
|
|
1170:
|
|
1171: try {
|
|
>> 1172: /* $sql = file_get_contents(__DIR__."/epicoreSQL/processedInventory.sql");
|
|
1173: $sql = str_replace('~DATABASE_NAME~', '['.\DB::getDatabaseName().']', $sql);
|
|
1174:
|
|
|
|
Line 1242 [match: EPICOR]:
|
|
1240: return [];
|
|
1241: else
|
|
>> 1242: throw new NoDetailDataForEpicorMultiKey();
|
|
1243: }
|
|
1244:
|
|
|
|
Line 1246 [match: EPICOR]:
|
|
1244:
|
|
1245: if(!sizeof($res) && !$GetAll)
|
|
>> 1246: throw new NoDetailDataForEpicorMultiKey();
|
|
1247:
|
|
1248:
|
|
|
|
Line 1261 [match: EPICOR]:
|
|
1259: * @param string|null $Warehouse
|
|
1260: * @return array
|
|
>> 1261: * @throws NoDetailDataForEpicorMultiKey
|
|
1262: */
|
|
1263: public function getInventoryProcessedRRDetailsData($CustID, $Part = null, $Plant = null, $Warehouse = null)
|
|
|
|
Line 1467 [match: EPICOR]:
|
|
1465:
|
|
1466:
|
|
>> 1467: $sql = file_get_contents(__DIR__ . "/epicoreSQL/CoilAllocation.sql");
|
|
1468:
|
|
1469: $CurrentDB = $this->getCurrentDatabase();
|
|
|
|
Line 1514 [match: EPICOR]:
|
|
1512: public function getBOL($bolNum)
|
|
1513: {
|
|
>> 1514: $sql = file_get_contents(__DIR__."/epicoreSQL/getBOL.sql");
|
|
1515:
|
|
1516: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1521 [match: EPICOR]:
|
|
1519: /** @var SelectedCompanyProvider $customer */
|
|
1520: $customer = app(SelectedCompanyProvider::class);
|
|
>> 1521: $customer = $customer->getSelectedCompanyEpicorCustID();
|
|
1522: $query->bindValue(':CUST', $customer);
|
|
1523:
|
|
|
|
Line 1537 [match: EPICOR]:
|
|
1535: public function getJobTraveler($jobNum)
|
|
1536: {
|
|
>> 1537: $sql = file_get_contents(__DIR__."/epicoreSQL/jobTraveler.sql");
|
|
1538:
|
|
1539: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1564 [match: EPICOR]:
|
|
1562: $JobNum[$k] = "'$num'";
|
|
1563: }
|
|
>> 1564: $sql = file_get_contents(__DIR__."/epicoreSQL/getTotalCharges.sql");
|
|
1565: $sql = str_replace('$totalCharges', implode(",",$JobNum), $sql);
|
|
1566: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1595 [match: EPICOR]:
|
|
1593: public function getPaintLines()
|
|
1594: {
|
|
>> 1595: $sql = file_get_contents(__DIR__."/epicoreSQL/paintlines.sql");
|
|
1596:
|
|
1597: $query = $this->connRO->prepare($sql);
|
|
|
|
Line 1606 [match: EPICOR]:
|
|
1604: public function getJobForPaintLine($JobNum, $ProdCode)
|
|
1605: {
|
|
>> 1606: $sql = file_get_contents(__DIR__."/epicoreSQL/getJobForPaintLine.sql");
|
|
1607: $query = $this->connRO->prepare($sql);
|
|
1608: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1619 [match: EPICOR]:
|
|
1617: public function getJob($JobNum)
|
|
1618: {
|
|
>> 1619: $sql = file_get_contents(__DIR__."/epicoreSQL/getJob.sql");
|
|
1620: $query = $this->connRO->prepare($sql);
|
|
1621: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1657 [match: EPICOR]:
|
|
1655: $sql ="
|
|
1656: SELECT Erp.Plant.Plant
|
|
>> 1657: FROM [Epicor10Live].[dbo].[portal_CoilActivityReceipts]
|
|
1658: JOIN Erp.Plant ON Erp.Plant.Name = dbo.portal_CoilActivityReceipts.PlantName
|
|
1659: WHERE PackingSlip = :SLIP
|
|
|
|
Line 1672 [match: EPICOR]:
|
|
1670: public function getClosedJob($JobNum)
|
|
1671: {
|
|
>> 1672: $sql = file_get_contents(__DIR__."/epicoreSQL/getClosedJob.sql");
|
|
1673: $query = $this->connRO->prepare($sql);
|
|
1674: //$query->bindParam(':CustID', $CustID);
|
|
|
|
Line 1730 [match: EPICOR]:
|
|
1728: {
|
|
1729:
|
|
>> 1730: // $sql = file_get_contents(__DIR__ . "/epicoreSQL/portal_Shipments.sql");
|
|
1731:
|
|
1732:
|
|
|
|
Line 1756 [match: EPICOR]:
|
|
1754: {
|
|
1755:
|
|
>> 1756: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_ShipmentsTop5.sql");
|
|
1757:
|
|
1758:
|
|
|
|
Line 1795 [match: EPICOR]:
|
|
1793:
|
|
1794:
|
|
>> 1795: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_Orders.sql");
|
|
1796:
|
|
1797:
|
|
|
|
Line 1944 [match: EPICOR]:
|
|
1942: ORDER BY DateUsed, VorteqPartNum, JobNum, LotNum, Weight DESC"); */
|
|
1943:
|
|
>> 1944: $sql = file_get_contents(__DIR__."/epicoreSQL/portal_CoilActivityUsage.sql");
|
|
1945: $query = $this->connRO->prepare($sql);
|
|
1946:
|
|
|
|
Line 2003 [match: EPICOR]:
|
|
2001: {
|
|
2002: if ($CustID == "VGL") {
|
|
>> 2003: $sql = file_get_contents(__DIR__."/epicoreSQL/VGLCoilReceiptsData.sql");
|
|
2004: $query = $this->connRO->prepare($sql);
|
|
2005:
|
|
|
|
Line 2050 [match: EPICOR]:
|
|
2048: {
|
|
2049:
|
|
>> 2050: $sql = file_get_contents(__DIR__."/epicoreSQL/getOrdersForCustomerOnOrAfterDate.sql");
|
|
2051:
|
|
2052:
|
|
|
|
Line 38 [match: VorteqPortal]:
|
|
36: {
|
|
37: case "dev":
|
|
>> 38: return '[VorteqPortal-uat]';
|
|
39: case "uat":
|
|
40: return '[VorteqPortal-uat]';
|
|
|
|
Line 40 [match: VorteqPortal]:
|
|
38: return '[VorteqPortal-uat]';
|
|
39: case "uat":
|
|
>> 40: return '[VorteqPortal-uat]';
|
|
41: case "mirror":
|
|
42: return '[VorteqPortal-mirror]';
|
|
|
|
Line 42 [match: VorteqPortal]:
|
|
40: return '[VorteqPortal-uat]';
|
|
41: case "mirror":
|
|
>> 42: return '[VorteqPortal-mirror]';
|
|
43:
|
|
44: default: //production
|
|
|
|
Line 45 [match: VorteqPortal]:
|
|
43:
|
|
44: default: //production
|
|
>> 45: return '[VorteqPortal]';
|
|
46: } */
|
|
47:
|
|
|
|
Line 519 [match: VorteqPortal]:
|
|
517: $query = $this->connRO->prepare('UPDATE COM
|
|
518: SET COM.IsDeactivated = 0
|
|
>> 519: FROM VorteqPortal.dbo.quest_Company COM
|
|
520: JOIN Epicor10Live.Erp.Customer CUST
|
|
521: ON CUST.CustID = COM.EpicorCustID
|
|
|
|
Line 891 [match: exec ]:
|
|
889: $GetAll = (is_null($Part) && is_null($Plant) && is_null($Warehouse));
|
|
890: if ($GetAll)
|
|
>> 891: $sql = "EXEC [dbo].[PortalUnprocessedInventoryDetailsALL] :custID,:DBNAME";
|
|
892: else
|
|
893: $sql = "EXEC dbo.[PortalUnprocessedInventoryDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
|
|
Line 893 [match: exec ]:
|
|
891: $sql = "EXEC [dbo].[PortalUnprocessedInventoryDetailsALL] :custID,:DBNAME";
|
|
892: else
|
|
>> 893: $sql = "EXEC dbo.[PortalUnprocessedInventoryDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
894:
|
|
895:
|
|
|
|
Line 932 [match: exec ]:
|
|
930: $GetAll = (is_null($Part) && is_null($Plant) && is_null($Warehouse));
|
|
931: if ($GetAll)
|
|
>> 932: $sql = "EXEC [dbo].[PortalUnprocessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
933: else
|
|
934: $sql = "EXEC dbo.[PortalUnprocessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
|
|
Line 934 [match: exec ]:
|
|
932: $sql = "EXEC [dbo].[PortalUnprocessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
933: else
|
|
>> 934: $sql = "EXEC dbo.[PortalUnprocessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
935:
|
|
936:
|
|
|
|
Line 992 [match: exec ]:
|
|
990: //$sql = str_replace('~~PART3~~', $Part3, $sql);
|
|
991:
|
|
>> 992: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
993:
|
|
994: $sql = "EXEC dbo.[PortalWorkInProgressInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
|
|
Line 994 [match: exec ]:
|
|
992: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
993:
|
|
>> 994: $sql = "EXEC dbo.[PortalWorkInProgressInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
995:
|
|
996:
|
|
|
|
Line 1005 [match: exec ]:
|
|
1003: {
|
|
1004:
|
|
>> 1005: $sql = "EXEC dbo.[PortalWorkInProgressInventoryDetailsALLV6] :CUSTID, :DBNAME, :sub;";
|
|
1006: }
|
|
1007:
|
|
|
|
Line 1093 [match: exec ]:
|
|
1091: //$sql = str_replace('~~PART3~~', $Part3, $sql);
|
|
1092:
|
|
>> 1093: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1094:
|
|
1095: $sql = "EXEC dbo.[PortalFinishedGoodsInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
|
|
Line 1095 [match: exec ]:
|
|
1093: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1094:
|
|
>> 1095: $sql = "EXEC dbo.[PortalFinishedGoodsInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
1096:
|
|
1097:
|
|
|
|
Line 1106 [match: exec ]:
|
|
1104: {
|
|
1105:
|
|
>> 1106: $sql = "EXEC dbo.[PortalFinishedGoodsInventoryDetailsALLV6] :CUSTID, :DBNAME, :sub;";
|
|
1107: }
|
|
1108:
|
|
|
|
Line 1194 [match: exec ]:
|
|
1192: //$sql = str_replace('~~PART3~~', $Part3, $sql);
|
|
1193:
|
|
>> 1194: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1195:
|
|
1196: $sql = "EXEC dbo.[PortalProcessedOtherInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
|
|
Line 1196 [match: exec ]:
|
|
1194: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1195:
|
|
>> 1196: $sql = "EXEC dbo.[PortalProcessedOtherInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
1197:
|
|
1198:
|
|
|
|
Line 1207 [match: exec ]:
|
|
1205: {
|
|
1206:
|
|
>> 1207: $sql = "EXEC dbo.[PortalProcessedOtherInventoryDetailsALLV6] :CUSTID, :DBNAME, :sub;";
|
|
1208: }
|
|
1209:
|
|
|
|
Line 1271 [match: exec ]:
|
|
1269: $GetAll = (is_null($Part) && is_null($Plant) && is_null($Warehouse));
|
|
1270: if ($GetAll)
|
|
>> 1271: $sql = "EXEC [dbo].[PortalProcessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
1272: else
|
|
1273: $sql = "EXEC dbo.[PortalProcessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
|
|
Line 1273 [match: exec ]:
|
|
1271: $sql = "EXEC [dbo].[PortalProcessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
1272: else
|
|
>> 1273: $sql = "EXEC dbo.[PortalProcessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
1274:
|
|
1275:
|
|
|
|
Line 2090 [match: exec ]:
|
|
2088: public function getShippingForMonth($month)
|
|
2089: {
|
|
>> 2090: $sql = "exec [portal_GetShipmentsAllCustomersV1] 0, $month, '".$this->getCurrentDatabase()."';";
|
|
2091: $query = $this->connRO->prepare($sql);
|
|
2092: try {
|
|
|
|
Line 2104 [match: exec ]:
|
|
2102: {
|
|
2103:
|
|
>> 2104: $sql = "exec [portal_GetShipmentsAllCustomersV1] 1, 0, '".$this->getCurrentDatabase()."';";
|
|
2105: $query = $this->connRO->prepare($sql);
|
|
2106:
|
|
|
|
Line 891 [match: EXEC ]:
|
|
889: $GetAll = (is_null($Part) && is_null($Plant) && is_null($Warehouse));
|
|
890: if ($GetAll)
|
|
>> 891: $sql = "EXEC [dbo].[PortalUnprocessedInventoryDetailsALL] :custID,:DBNAME";
|
|
892: else
|
|
893: $sql = "EXEC dbo.[PortalUnprocessedInventoryDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
|
|
Line 893 [match: EXEC ]:
|
|
891: $sql = "EXEC [dbo].[PortalUnprocessedInventoryDetailsALL] :custID,:DBNAME";
|
|
892: else
|
|
>> 893: $sql = "EXEC dbo.[PortalUnprocessedInventoryDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
894:
|
|
895:
|
|
|
|
Line 932 [match: EXEC ]:
|
|
930: $GetAll = (is_null($Part) && is_null($Plant) && is_null($Warehouse));
|
|
931: if ($GetAll)
|
|
>> 932: $sql = "EXEC [dbo].[PortalUnprocessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
933: else
|
|
934: $sql = "EXEC dbo.[PortalUnprocessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
|
|
Line 934 [match: EXEC ]:
|
|
932: $sql = "EXEC [dbo].[PortalUnprocessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
933: else
|
|
>> 934: $sql = "EXEC dbo.[PortalUnprocessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
935:
|
|
936:
|
|
|
|
Line 992 [match: EXEC ]:
|
|
990: //$sql = str_replace('~~PART3~~', $Part3, $sql);
|
|
991:
|
|
>> 992: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
993:
|
|
994: $sql = "EXEC dbo.[PortalWorkInProgressInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
|
|
Line 994 [match: EXEC ]:
|
|
992: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
993:
|
|
>> 994: $sql = "EXEC dbo.[PortalWorkInProgressInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
995:
|
|
996:
|
|
|
|
Line 1005 [match: EXEC ]:
|
|
1003: {
|
|
1004:
|
|
>> 1005: $sql = "EXEC dbo.[PortalWorkInProgressInventoryDetailsALLV6] :CUSTID, :DBNAME, :sub;";
|
|
1006: }
|
|
1007:
|
|
|
|
Line 1093 [match: EXEC ]:
|
|
1091: //$sql = str_replace('~~PART3~~', $Part3, $sql);
|
|
1092:
|
|
>> 1093: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1094:
|
|
1095: $sql = "EXEC dbo.[PortalFinishedGoodsInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
|
|
Line 1095 [match: EXEC ]:
|
|
1093: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1094:
|
|
>> 1095: $sql = "EXEC dbo.[PortalFinishedGoodsInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
1096:
|
|
1097:
|
|
|
|
Line 1106 [match: EXEC ]:
|
|
1104: {
|
|
1105:
|
|
>> 1106: $sql = "EXEC dbo.[PortalFinishedGoodsInventoryDetailsALLV6] :CUSTID, :DBNAME, :sub;";
|
|
1107: }
|
|
1108:
|
|
|
|
Line 1194 [match: EXEC ]:
|
|
1192: //$sql = str_replace('~~PART3~~', $Part3, $sql);
|
|
1193:
|
|
>> 1194: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1195:
|
|
1196: $sql = "EXEC dbo.[PortalProcessedOtherInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
|
|
Line 1196 [match: EXEC ]:
|
|
1194: //EXEC dbo.[PortalProcessedInventoryDetails] 'HDM', 'Franklin Park', 'HDM140A14.375-S', 'FP BOP';
|
|
1195:
|
|
>> 1196: $sql = "EXEC dbo.[PortalProcessedOtherInventoryDetailsV6] :CUSTID, :PLANT, :PART, :WAREHOUSE, :DBNAME, :sub;";
|
|
1197:
|
|
1198:
|
|
|
|
Line 1207 [match: EXEC ]:
|
|
1205: {
|
|
1206:
|
|
>> 1207: $sql = "EXEC dbo.[PortalProcessedOtherInventoryDetailsALLV6] :CUSTID, :DBNAME, :sub;";
|
|
1208: }
|
|
1209:
|
|
|
|
Line 1271 [match: EXEC ]:
|
|
1269: $GetAll = (is_null($Part) && is_null($Plant) && is_null($Warehouse));
|
|
1270: if ($GetAll)
|
|
>> 1271: $sql = "EXEC [dbo].[PortalProcessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
1272: else
|
|
1273: $sql = "EXEC dbo.[PortalProcessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
|
|
Line 1273 [match: EXEC ]:
|
|
1271: $sql = "EXEC [dbo].[PortalProcessedInventoryRejectsAndReturnsDetailsALL] :custID,:DBNAME";
|
|
1272: else
|
|
>> 1273: $sql = "EXEC dbo.[PortalProcessedInventoryRejectsAndReturnsDetails] :custID, :plant, :part, :warehouse, :DBNAME;";
|
|
1274:
|
|
1275:
|
|
|
|
Line 2090 [match: EXEC ]:
|
|
2088: public function getShippingForMonth($month)
|
|
2089: {
|
|
>> 2090: $sql = "exec [portal_GetShipmentsAllCustomersV1] 0, $month, '".$this->getCurrentDatabase()."';";
|
|
2091: $query = $this->connRO->prepare($sql);
|
|
2092: try {
|
|
|
|
Line 2104 [match: EXEC ]:
|
|
2102: {
|
|
2103:
|
|
>> 2104: $sql = "exec [portal_GetShipmentsAllCustomersV1] 1, 0, '".$this->getCurrentDatabase()."';";
|
|
2105: $query = $this->connRO->prepare($sql);
|
|
2106:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\InventoryHelper.php
|
|
================================================================================
|
|
Line 2427 [match: FROM ]:
|
|
2425: {
|
|
2426: // Get the third tab
|
|
>> 2427: $thirdTab = $spreadsheet->getSheet(2); // Index starts from 0
|
|
2428:
|
|
2429: // Remove the third tab from its original position
|
|
|
|
Line 2429 [match: FROM ]:
|
|
2427: $thirdTab = $spreadsheet->getSheet(2); // Index starts from 0
|
|
2428:
|
|
>> 2429: // Remove the third tab from its original position
|
|
2430: $spreadsheet->removeSheetByIndex(2);
|
|
2431:
|
|
|
|
Line 2438 [match: FROM ]:
|
|
2436: {
|
|
2437: // Get the fourth, fifth, and sixth tabs
|
|
>> 2438: $fourthTab = $spreadsheet->getSheet(3); // Index starts from 0
|
|
2439: $fifthTab = $spreadsheet->getSheet(4);
|
|
2440: $sixthTab = $spreadsheet->getSheet(5);
|
|
|
|
Line 2442 [match: FROM ]:
|
|
2440: $sixthTab = $spreadsheet->getSheet(5);
|
|
2441:
|
|
>> 2442: // Remove the fourth, fifth, and sixth tabs from their original positions
|
|
2443: $spreadsheet->removeSheetByIndex(3);
|
|
2444: $spreadsheet->removeSheetByIndex(3);
|
|
|
|
Line 6 [match: epicor]:
|
|
4: use App\Model\Repos\ship_Request as ship_RequestRepo;
|
|
5: use App\Services\CoilAllocation\AllocCart;
|
|
>> 6: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
7: use App\Services\EpicorMetadata\EntityMetadata;
|
|
8: use App\Services\Grid\SummaryMenuTemplate;
|
|
|
|
Line 7 [match: epicor]:
|
|
5: use App\Services\CoilAllocation\AllocCart;
|
|
6: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
>> 7: use App\Services\EpicorMetadata\EntityMetadata;
|
|
8: use App\Services\Grid\SummaryMenuTemplate;
|
|
9: use Exception;
|
|
|
|
Line 68 [match: epicor]:
|
|
66: $company = $SelectedCompanyProvider->getSelectedCompany();
|
|
67:
|
|
>> 68: if ($company->getEpicorCustID() !== 'HDQ') {
|
|
69: $pages->addPage($this->_getUnprocessedPage($isRemote, $remote_page_id));
|
|
70: $pages->addPage($this->_getUnprocessedRejectsReturnsPage($isRemote, $remote_page_id));
|
|
|
|
Line 77 [match: epicor]:
|
|
75: $pages->addPage($this->_getProcessedOtherPage($isRemote, $remote_page_id));
|
|
76:
|
|
>> 77: if ($company->getEpicorCustID() !== 'HDQ') {
|
|
78: $pages->addPage($this->_getProcessedRejectsReturnsPage($isRemote, $remote_page_id));
|
|
79: }
|
|
|
|
Line 109 [match: epicor]:
|
|
107: public function getUnprocessedSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
108: {
|
|
>> 109: /** @var EpicorDatabase $EpicorDB */
|
|
110: $EpicorDB = app(EpicorDatabase::class);
|
|
111: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 110 [match: epicor]:
|
|
108: {
|
|
109: /** @var EpicorDatabase $EpicorDB */
|
|
>> 110: $EpicorDB = app(EpicorDatabase::class);
|
|
111: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
112: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 114 [match: epicor]:
|
|
112: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
113:
|
|
>> 114: $Data = $EpicorDB->getInventoryUnprocessedSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
115:
|
|
116: //if ($returnData)
|
|
|
|
Line 141 [match: epicor]:
|
|
139: public function getUnprocessedRRSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
140: {
|
|
>> 141: /** @var EpicorDatabase $EpicorDB */
|
|
142: $EpicorDB = app(EpicorDatabase::class);
|
|
143: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 142 [match: epicor]:
|
|
140: {
|
|
141: /** @var EpicorDatabase $EpicorDB */
|
|
>> 142: $EpicorDB = app(EpicorDatabase::class);
|
|
143: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
144: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 146 [match: epicor]:
|
|
144: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
145:
|
|
>> 146: $Data = $EpicorDB->getInventoryUnprocessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
147: $Grid = $this->_setupCommonSummaryGrid($this->_getUnprocessedRRSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
148:
|
|
|
|
Line 166 [match: epicor]:
|
|
164: public function getWorkInProgressSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
165: {
|
|
>> 166: /** @var EpicorDatabase $EpicorDB */
|
|
167: $EpicorDB = app(EpicorDatabase::class);
|
|
168: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 167 [match: epicor]:
|
|
165: {
|
|
166: /** @var EpicorDatabase $EpicorDB */
|
|
>> 167: $EpicorDB = app(EpicorDatabase::class);
|
|
168: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
169: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 171 [match: epicor]:
|
|
169: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
170:
|
|
>> 171: $Data = $EpicorDB->getInventoryWorkInProgressSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
172: $Grid = $this->_setupCommonSummaryGrid($this->_getWorkInProgressSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
173:
|
|
|
|
Line 191 [match: epicor]:
|
|
189: public function getFinishedGoodsSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
190: {
|
|
>> 191: /** @var EpicorDatabase $EpicorDB */
|
|
192: $EpicorDB = app(EpicorDatabase::class);
|
|
193: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 192 [match: epicor]:
|
|
190: {
|
|
191: /** @var EpicorDatabase $EpicorDB */
|
|
>> 192: $EpicorDB = app(EpicorDatabase::class);
|
|
193: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
194: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 196 [match: epicor]:
|
|
194: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
195:
|
|
>> 196: $Data = $EpicorDB->getInventoryFinishedGoodsSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
197: $Grid = $this->_setupCommonSummaryGrid($this->_getFinishedGoodsSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
198:
|
|
|
|
Line 216 [match: epicor]:
|
|
214: public function getProcessedOtherSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
215: {
|
|
>> 216: /** @var EpicorDatabase $EpicorDB */
|
|
217: $EpicorDB = app(EpicorDatabase::class);
|
|
218: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 217 [match: epicor]:
|
|
215: {
|
|
216: /** @var EpicorDatabase $EpicorDB */
|
|
>> 217: $EpicorDB = app(EpicorDatabase::class);
|
|
218: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
219: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 221 [match: epicor]:
|
|
219: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
220:
|
|
>> 221: $Data = $EpicorDB->getInventoryProcessedOtherSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
222: $Grid = $this->_setupCommonSummaryGrid($this->_getProcessedOtherSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
223:
|
|
|
|
Line 241 [match: epicor]:
|
|
239: public function getProcessedRRSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
240: {
|
|
>> 241: /** @var EpicorDatabase $EpicorDB */
|
|
242: $EpicorDB = app(EpicorDatabase::class);
|
|
243: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 242 [match: epicor]:
|
|
240: {
|
|
241: /** @var EpicorDatabase $EpicorDB */
|
|
>> 242: $EpicorDB = app(EpicorDatabase::class);
|
|
243: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
244: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 246 [match: epicor]:
|
|
244: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
245:
|
|
>> 246: $Data = $EpicorDB->getInventoryProcessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
247: $Grid = $this->_setupCommonSummaryGrid($this->_getProcessedRRSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
248:
|
|
|
|
Line 269 [match: epicor]:
|
|
267: public function getUnprocessedDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
268: {
|
|
>> 269: /** @var EpicorDatabase $EpicorDB */
|
|
270: $EpicorDB = app(EpicorDatabase::class);
|
|
271: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 270 [match: epicor]:
|
|
268: {
|
|
269: /** @var EpicorDatabase $EpicorDB */
|
|
>> 270: $EpicorDB = app(EpicorDatabase::class);
|
|
271: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
272: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 274 [match: epicor]:
|
|
272: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
273:
|
|
>> 274: $Data = $EpicorDB->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
275: $Grid = $this->_setupCommonDetailsGrid($this->_getUnprocessedDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo), $Data, $GridPaging);
|
|
276:
|
|
|
|
Line 297 [match: epicor]:
|
|
295: public function getUnprocessedRRDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
296: {
|
|
>> 297: /** @var EpicorDatabase $EpicorDB */
|
|
298: $EpicorDB = app(EpicorDatabase::class);
|
|
299: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 298 [match: epicor]:
|
|
296: {
|
|
297: /** @var EpicorDatabase $EpicorDB */
|
|
>> 298: $EpicorDB = app(EpicorDatabase::class);
|
|
299: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
300: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 302 [match: epicor]:
|
|
300: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
301:
|
|
>> 302: $Data = $EpicorDB->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
303: $Grid = $this->_setupCommonDetailsGrid($this->_getUnprocessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo), $Data, $GridPaging);
|
|
304:
|
|
|
|
Line 322 [match: epicor]:
|
|
320: * @param $IncludeShipmentReleaseInfo
|
|
321: * @return Grid
|
|
>> 322: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
323: */
|
|
324: public function getWorkInProgressDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 326 [match: epicor]:
|
|
324: public function getWorkInProgressDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
325: {
|
|
>> 326: /** @var EpicorDatabase $EpicorDB */
|
|
327: $EpicorDB = app(EpicorDatabase::class);
|
|
328: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 327 [match: epicor]:
|
|
325: {
|
|
326: /** @var EpicorDatabase $EpicorDB */
|
|
>> 327: $EpicorDB = app(EpicorDatabase::class);
|
|
328: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
329: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 333 [match: epicor]:
|
|
331: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
332:
|
|
>> 333: $Data = $EpicorDB->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
334:
|
|
335:
|
|
|
|
Line 342 [match: epicor]:
|
|
340: foreach ($Data as $i => $DataRow) {
|
|
341: //get the release id if there is one
|
|
>> 342: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
343: }
|
|
344:
|
|
|
|
Line 367 [match: epicor]:
|
|
365: * @param $IncludeShipmentReleaseInfo
|
|
366: * @return Grid
|
|
>> 367: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
368: */
|
|
369: public function getFinishedGoodsDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 371 [match: epicor]:
|
|
369: public function getFinishedGoodsDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
370: {
|
|
>> 371: /** @var EpicorDatabase $EpicorDB */
|
|
372: $EpicorDB = app(EpicorDatabase::class);
|
|
373: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 372 [match: epicor]:
|
|
370: {
|
|
371: /** @var EpicorDatabase $EpicorDB */
|
|
>> 372: $EpicorDB = app(EpicorDatabase::class);
|
|
373: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
374: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 378 [match: epicor]:
|
|
376: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
377:
|
|
>> 378: $Data = $EpicorDB->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
379:
|
|
380:
|
|
|
|
Line 387 [match: epicor]:
|
|
385: foreach ($Data as $i => $DataRow) {
|
|
386: //get the release id if there is one
|
|
>> 387: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
388: }
|
|
389:
|
|
|
|
Line 412 [match: epicor]:
|
|
410: * @param $IncludeShipmentReleaseInfo
|
|
411: * @return Grid
|
|
>> 412: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
413: */
|
|
414: public function getProcessedOtherDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 416 [match: epicor]:
|
|
414: public function getProcessedOtherDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
415: {
|
|
>> 416: /** @var EpicorDatabase $EpicorDB */
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 417 [match: epicor]:
|
|
415: {
|
|
416: /** @var EpicorDatabase $EpicorDB */
|
|
>> 417: $EpicorDB = app(EpicorDatabase::class);
|
|
418: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
419: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 423 [match: epicor]:
|
|
421: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
422:
|
|
>> 423: $Data = $EpicorDB->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
424:
|
|
425:
|
|
|
|
Line 432 [match: epicor]:
|
|
430: foreach ($Data as $i => $DataRow) {
|
|
431: //get the release id if there is one
|
|
>> 432: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
433: }
|
|
434:
|
|
|
|
Line 460 [match: epicor]:
|
|
458: public function getProcessedRRDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
459: {
|
|
>> 460: /** @var EpicorDatabase $EpicorDB */
|
|
461: $EpicorDB = app(EpicorDatabase::class);
|
|
462: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 461 [match: epicor]:
|
|
459: {
|
|
460: /** @var EpicorDatabase $EpicorDB */
|
|
>> 461: $EpicorDB = app(EpicorDatabase::class);
|
|
462: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
463: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 467 [match: epicor]:
|
|
465: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
466:
|
|
>> 467: $Data = $EpicorDB->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
468:
|
|
469: //add the release id and combined job / sales number
|
|
|
|
Line 472 [match: epicor]:
|
|
470: foreach ($Data as $i => $DataRow) {
|
|
471: //get the release id if there is one
|
|
>> 472: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
473: }
|
|
474:
|
|
|
|
Line 487 [match: epicor]:
|
|
485: public function getLotSearchHistoryGrid($LotNum)
|
|
486: {
|
|
>> 487: /** @var EpicorDatabase $EpicorDB */
|
|
488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
|
|
Line 488 [match: epicor]:
|
|
486: {
|
|
487: /** @var EpicorDatabase $EpicorDB */
|
|
>> 488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
490: $Data = $EpicorDB->getLotSearchHistory($LotNum);
|
|
|
|
Line 490 [match: epicor]:
|
|
488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
>> 490: $Data = $EpicorDB->getLotSearchHistory($LotNum);
|
|
491:
|
|
492:
|
|
|
|
Line 516 [match: epicor]:
|
|
514: public function getUnprocessedSummaryExcelResponse()
|
|
515: {
|
|
>> 516: /** @var EpicorDatabase $EpicorDB */
|
|
517: $EpicorDB = app(EpicorDatabase::class);
|
|
518: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 517 [match: epicor]:
|
|
515: {
|
|
516: /** @var EpicorDatabase $EpicorDB */
|
|
>> 517: $EpicorDB = app(EpicorDatabase::class);
|
|
518: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
519: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 521 [match: epicor]:
|
|
519: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
520:
|
|
>> 521: $Data = $EpicorDB->getInventoryUnprocessedSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
522: return $this->_setupCommonExcel($this->_getUnprocessedSummaryMetadata(false), $Data);
|
|
523: }
|
|
|
|
Line 530 [match: epicor]:
|
|
528: public function getUnprocessedRRSummaryExcelResponse()
|
|
529: {
|
|
>> 530: /** @var EpicorDatabase $EpicorDB */
|
|
531: $EpicorDB = app(EpicorDatabase::class);
|
|
532: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 531 [match: epicor]:
|
|
529: {
|
|
530: /** @var EpicorDatabase $EpicorDB */
|
|
>> 531: $EpicorDB = app(EpicorDatabase::class);
|
|
532: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
533: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 535 [match: epicor]:
|
|
533: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
534:
|
|
>> 535: $Data = $EpicorDB->getInventoryUnprocessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
536: return $this->_setupCommonExcel($this->_getUnprocessedRRSummaryMetadata(false), $Data);
|
|
537: }
|
|
|
|
Line 544 [match: epicor]:
|
|
542: public function getWorkInProgressSummaryExcelResponse()
|
|
543: {
|
|
>> 544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 545 [match: epicor]:
|
|
543: {
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
>> 545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
547: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 549 [match: epicor]:
|
|
547: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
548:
|
|
>> 549: $Data = $EpicorDB->getInventoryWorkInProgressSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
550:
|
|
551:
|
|
|
|
Line 564 [match: epicor]:
|
|
562: public function getFinishedGoodsSummaryExcelResponse()
|
|
563: {
|
|
>> 564: /** @var EpicorDatabase $EpicorDB */
|
|
565: $EpicorDB = app(EpicorDatabase::class);
|
|
566: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 565 [match: epicor]:
|
|
563: {
|
|
564: /** @var EpicorDatabase $EpicorDB */
|
|
>> 565: $EpicorDB = app(EpicorDatabase::class);
|
|
566: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
567: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 569 [match: epicor]:
|
|
567: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
568:
|
|
>> 569: $Data = $EpicorDB->getInventoryFinishedGoodsSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
570:
|
|
571:
|
|
|
|
Line 584 [match: epicor]:
|
|
582: public function getProcessedOtherSummaryExcelResponse()
|
|
583: {
|
|
>> 584: /** @var EpicorDatabase $EpicorDB */
|
|
585: $EpicorDB = app(EpicorDatabase::class);
|
|
586: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 585 [match: epicor]:
|
|
583: {
|
|
584: /** @var EpicorDatabase $EpicorDB */
|
|
>> 585: $EpicorDB = app(EpicorDatabase::class);
|
|
586: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
587: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 589 [match: epicor]:
|
|
587: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
588:
|
|
>> 589: $Data = $EpicorDB->getInventoryProcessedOtherSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
590:
|
|
591:
|
|
|
|
Line 604 [match: epicor]:
|
|
602: public function getProcessedRRSummaryExcelResponse()
|
|
603: {
|
|
>> 604: /** @var EpicorDatabase $EpicorDB */
|
|
605: $EpicorDB = app(EpicorDatabase::class);
|
|
606: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 605 [match: epicor]:
|
|
603: {
|
|
604: /** @var EpicorDatabase $EpicorDB */
|
|
>> 605: $EpicorDB = app(EpicorDatabase::class);
|
|
606: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
607: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 609 [match: epicor]:
|
|
607: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
608:
|
|
>> 609: $Data = $EpicorDB->getInventoryProcessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
610: return $this->_setupCommonExcel($this->_getProcessedRRSummaryMetadata(false), $Data);
|
|
611: }
|
|
|
|
Line 621 [match: epicor]:
|
|
619: public function getUnprocessedDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
620: {
|
|
>> 621: /** @var EpicorDatabase $EpicorDB */
|
|
622: $EpicorDB = app(EpicorDatabase::class);
|
|
623: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 622 [match: epicor]:
|
|
620: {
|
|
621: /** @var EpicorDatabase $EpicorDB */
|
|
>> 622: $EpicorDB = app(EpicorDatabase::class);
|
|
623: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
624: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 629 [match: epicor]:
|
|
627:
|
|
628:
|
|
>> 629: $Data = $EpicorDB->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
630:
|
|
631:
|
|
|
|
Line 666 [match: epicor]:
|
|
664: public function getUnprocessedRRDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
665: {
|
|
>> 666: /** @var EpicorDatabase $EpicorDB */
|
|
667: $EpicorDB = app(EpicorDatabase::class);
|
|
668: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 667 [match: epicor]:
|
|
665: {
|
|
666: /** @var EpicorDatabase $EpicorDB */
|
|
>> 667: $EpicorDB = app(EpicorDatabase::class);
|
|
668: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
669: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 671 [match: epicor]:
|
|
669: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
670:
|
|
>> 671: $Data = $EpicorDB->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
672: return $this->_setupCommonExcel($this->_getUnprocessedRRDetailsMetadata(true, false, false), $Data);
|
|
673: }
|
|
|
|
Line 685 [match: epicor]:
|
|
683: ini_set('memory_limit', '2G');
|
|
684:
|
|
>> 685: /** @var EpicorDatabase $EpicorDB */
|
|
686: $EpicorDB = app(EpicorDatabase::class);
|
|
687: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 686 [match: epicor]:
|
|
684:
|
|
685: /** @var EpicorDatabase $EpicorDB */
|
|
>> 686: $EpicorDB = app(EpicorDatabase::class);
|
|
687: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
688: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 690 [match: epicor]:
|
|
688: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
689:
|
|
>> 690: $Data = $EpicorDB->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
691:
|
|
692:
|
|
|
|
Line 739 [match: epicor]:
|
|
737: ini_set('memory_limit', '2G');
|
|
738:
|
|
>> 739: /** @var EpicorDatabase $EpicorDB */
|
|
740: $EpicorDB = app(EpicorDatabase::class);
|
|
741: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 740 [match: epicor]:
|
|
738:
|
|
739: /** @var EpicorDatabase $EpicorDB */
|
|
>> 740: $EpicorDB = app(EpicorDatabase::class);
|
|
741: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
742: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 744 [match: epicor]:
|
|
742: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
743:
|
|
>> 744: $Data = $EpicorDB->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
745:
|
|
746:
|
|
|
|
Line 793 [match: epicor]:
|
|
791: ini_set('memory_limit', '2G');
|
|
792:
|
|
>> 793: /** @var EpicorDatabase $EpicorDB */
|
|
794: $EpicorDB = app(EpicorDatabase::class);
|
|
795: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 794 [match: epicor]:
|
|
792:
|
|
793: /** @var EpicorDatabase $EpicorDB */
|
|
>> 794: $EpicorDB = app(EpicorDatabase::class);
|
|
795: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
796: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 798 [match: epicor]:
|
|
796: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
797:
|
|
>> 798: $Data = $EpicorDB->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
799:
|
|
800:
|
|
|
|
Line 845 [match: epicor]:
|
|
843: public function getProcessedRRDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
844: {
|
|
>> 845: /** @var EpicorDatabase $EpicorDB */
|
|
846: $EpicorDB = app(EpicorDatabase::class);
|
|
847: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 846 [match: epicor]:
|
|
844: {
|
|
845: /** @var EpicorDatabase $EpicorDB */
|
|
>> 846: $EpicorDB = app(EpicorDatabase::class);
|
|
847: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
848: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 850 [match: epicor]:
|
|
848: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
849:
|
|
>> 850: $Data = $EpicorDB->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
851: return $this->_setupCommonExcel($this->_getProcessedRRDetailsMetadata(true, false, false, true), $Data);
|
|
852: }
|
|
|
|
Line 952 [match: epicor]:
|
|
950: }
|
|
951:
|
|
>> 952: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $SourceDisplay . ' ' . date(config('app.date_format'));
|
|
953: }
|
|
954:
|
|
|
|
Line 970 [match: epicor]:
|
|
968: $ProcessedRRExcelResponse = $this->getProcessedRRSummaryExcelResponse();
|
|
969:
|
|
>> 970: $cacheKey = 'inv_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
971:
|
|
972: return $this->_getExcelExportContents($cacheKey, $UnprocessedExcelResponse, $UnprocessedRRExcelResponse, $WorkInProgressExcelResponse, $FinishedGoodsExcelResponse, $ProcessedOtherExcelResponse, $ProcessedRRExcelResponse);
|
|
|
|
Line 1003 [match: epicor]:
|
|
1001: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1002:
|
|
>> 1003: $cacheKey = 'inv_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
1004:
|
|
1005: $UnprocessedGrid = $this->getUnprocessedSummaryGrid(false, false, false, false, true);
|
|
|
|
Line 1128 [match: epicor]:
|
|
1126: $comp = app(SelectedCompanyProvider::class);
|
|
1127:
|
|
>> 1128: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
1129:
|
|
1130:
|
|
|
|
Line 1133 [match: epicor]:
|
|
1131:
|
|
1132:
|
|
>> 1133: /** @var EpicorDatabase $EpicorDatabase */
|
|
1134: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1135:
|
|
|
|
Line 1134 [match: epicor]:
|
|
1132:
|
|
1133: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1134: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1135:
|
|
1136:
|
|
|
|
Line 1138 [match: epicor]:
|
|
1136:
|
|
1137:
|
|
>> 1138: return $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1139:
|
|
1140: }
|
|
|
|
Line 1245 [match: epicor]:
|
|
1243: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1244:
|
|
>> 1245: $cacheKey = 'inv_detail_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().'_'.uniqid('',true).'_'.microtime().'_'.rand();
|
|
1246:
|
|
1247: $UnprocessedGrid = $this->getUnprocessedDetailsGrid(null, null, null, false, true, false, false);
|
|
|
|
Line 1274 [match: epicor]:
|
|
1272: $ProcessedRRExcelResponse = $this->getProcessedRRDetailsExcelResponse();
|
|
1273:
|
|
>> 1274: $cacheKey = 'inv_detail_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().'_'.uniqid('',true).'_'.microtime().'_'.rand();
|
|
1275:
|
|
1276: return $this->_getExcelExportContents($cacheKey, $UnprocessedExcelResponse, $UnprocessedRRExcelResponse, $WorkInProgressExcelResponse, $FinishedGoodsExcelResponse, $ProcessedOtherExcelResponse, $ProcessedRRExcelResponse);
|
|
|
|
Line 1305 [match: epicor]:
|
|
1303: }
|
|
1304:
|
|
>> 1305: public function _setupCommonSummaryGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $GridMenu, $TrackDisplay)
|
|
1306: {
|
|
1307:
|
|
|
|
Line 1335 [match: epicor]:
|
|
1333:
|
|
1334: /** @var Grid $Grid */
|
|
>> 1335: $Grid = $GridFactory->create($Metadata, 'inventory_summary_grid_'.$Metadata->getName().($TrackDisplay?'_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID():''));
|
|
1336:
|
|
1337:
|
|
|
|
Line 1403 [match: epicor]:
|
|
1401: }
|
|
1402:
|
|
>> 1403: public function _setupCommonDetailsGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $CartOpen=false)
|
|
1404: {
|
|
1405: /** @var GridFactory $GridFactory */
|
|
|
|
Line 1433 [match: epicor]:
|
|
1431: elseif(($ShipmentCart->getIsCartOpen() || $CartOpen) && $ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], (int)$DataRow['OnHandQty']))
|
|
1432: $Data[$i]['ShipmentSelectionField'] = '<img src="'.asset('img/cyclone-purple.png').'" title="In your shipment" style="width:75%;" />'; // This item is already in your current shipment.
|
|
>> 1433: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']))
|
|
1434: $Data[$i]['ShipmentSelectionField'] = '<img src="'.asset('img/cyclone-gray.png').'" title="Already part of another shipment" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
1435:
|
|
|
|
Line 1495 [match: epicor]:
|
|
1493:
|
|
1494: /**
|
|
>> 1495: * @param EpicorEntityMetadata $Metadata
|
|
1496: * @param array $Data
|
|
1497: * @return Response
|
|
|
|
Line 1499 [match: epicor]:
|
|
1497: * @return Response
|
|
1498: */
|
|
>> 1499: public function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
1500: {
|
|
1501: /** @var GridResponseFactory $GridResponseFactory */
|
|
|
|
Line 1591 [match: epicor]:
|
|
1589: public function _getUnprocessedSummaryMetadata($IncludeLinks)
|
|
1590: {
|
|
>> 1591: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventorySummary');
|
|
1592: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
1593: return $EntityMetadata;
|
|
|
|
Line 1598 [match: epicor]:
|
|
1596: public function _getUnprocessedRRSummaryMetadata($IncludeLinks)
|
|
1597: {
|
|
>> 1598: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventoryRejectsAndReturnsSummary');
|
|
1599: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
1600: return $EntityMetadata;
|
|
|
|
Line 1605 [match: epicor]:
|
|
1603: public function _getWorkInProgressSummaryMetadata($IncludeLinks)
|
|
1604: {
|
|
>> 1605: $EntityMetadata = new EpicorEntityMetadata('portal_WorkInProgressInventorySummary');
|
|
1606: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1607:
|
|
|
|
Line 1634 [match: epicor]:
|
|
1632: public function _getFinishedGoodsSummaryMetadata($IncludeLinks)
|
|
1633: {
|
|
>> 1634: $EntityMetadata = new EpicorEntityMetadata('portal_FinishedGoodsInventorySummary');
|
|
1635: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1636:
|
|
|
|
Line 1663 [match: epicor]:
|
|
1661: public function _getProcessedOtherSummaryMetadata($IncludeLinks)
|
|
1662: {
|
|
>> 1663: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedOtherInventorySummary');
|
|
1664: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1665:
|
|
|
|
Line 1692 [match: epicor]:
|
|
1690: public function _getProcessedRRSummaryMetadata($IncludeLinks)
|
|
1691: {
|
|
>> 1692: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedInventoryRejectsAndReturnsSummary');
|
|
1693: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1694: return $EntityMetadata;
|
|
|
|
Line 1697 [match: epicor]:
|
|
1695: }
|
|
1696:
|
|
>> 1697: public function _appendCommonSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeLinks, $IncludeCustomerPartNum)
|
|
1698: {
|
|
1699: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 1730 [match: epicor]:
|
|
1728: }
|
|
1729:
|
|
>> 1730: public function _appendSharedSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, /** @noinspection PhpUnusedParameterInspection */ $IncludeLinks, $IncludeCustomerPartNum)
|
|
1731: {
|
|
1732: /** @var FieldMetadataField $Plant */
|
|
|
|
Line 1782 [match: epicor]:
|
|
1780: public function _getUnprocessedDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1781: {
|
|
>> 1782: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventory');
|
|
1783: $this->_appendCommonUnprocessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
1784: return $EntityMetadata;
|
|
|
|
Line 1789 [match: epicor]:
|
|
1787: public function _getUnprocessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1788: {
|
|
>> 1789: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventoryRejectsAndReturns');
|
|
1790: $this->_appendCommonUnprocessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
1791: return $EntityMetadata;
|
|
|
|
Line 1796 [match: epicor]:
|
|
1794: public function _getWorkInProgressDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1795: {
|
|
>> 1796: $EntityMetadata = new EpicorEntityMetadata('portal_WorkInProgressInventory');
|
|
1797: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1798: return $EntityMetadata;
|
|
|
|
Line 1803 [match: epicor]:
|
|
1801: public function _getFinishedGoodsDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1802: {
|
|
>> 1803: $EntityMetadata = new EpicorEntityMetadata('portal_FinishedGoodsInventory');
|
|
1804: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1805: return $EntityMetadata;
|
|
|
|
Line 1810 [match: epicor]:
|
|
1808: public function _getProcessedOtherDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1809: {
|
|
>> 1810: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedOtherInventory');
|
|
1811: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1812: return $EntityMetadata;
|
|
|
|
Line 1817 [match: epicor]:
|
|
1815: public function _getProcessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1816: {
|
|
>> 1817: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedInventoryRejectsAndReturns');
|
|
1818: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1819: return $EntityMetadata;
|
|
|
|
Line 1822 [match: epicor]:
|
|
1820: }
|
|
1821:
|
|
>> 1822: public function _appendCommonUnprocessedDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1823: {
|
|
1824: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 1926 [match: epicor]:
|
|
1924: }
|
|
1925:
|
|
>> 1926: public function _appendCommonProcessedDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1927: {
|
|
1928: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 1974 [match: epicor]:
|
|
1972: $GetSession = app(SelectedCompanyProvider::class);
|
|
1973:
|
|
>> 1974: $CustID = $GetSession->getSelectedCompanyEpicorCustID();
|
|
1975:
|
|
1976: /** @var QuestPageValues $QPV */
|
|
|
|
Line 2116 [match: epicor]:
|
|
2114: }
|
|
2115:
|
|
>> 2116: public function _appendCommonDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
2117: {
|
|
2118: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 2467 [match: epicor]:
|
|
2465:
|
|
2466: $ExcelExporter = new Excel();
|
|
>> 2467: $ExportName = StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()).' Inventory '.$TypeLabel.' '.date(config('app.date_format'));
|
|
2468: return $ExportName.'.'.$ExcelExporter->getFileExtension();
|
|
2469: }
|
|
|
|
Line 2584 [match: epicor]:
|
|
2582: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
2583:
|
|
>> 2584: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()).' Inventory '.$TypeLabel.' '.date(config('app.date_format')).'.pdf';
|
|
2585: }
|
|
2586:
|
|
|
|
Line 2589 [match: epicor]:
|
|
2587: public function _getLotSearchMetadata()
|
|
2588: {
|
|
>> 2589: $EntityMetadata = new EpicorEntityMetadata('portal_LotSearch');
|
|
2590:
|
|
2591: /** guts */
|
|
|
|
Line 6 [match: Epicor]:
|
|
4: use App\Model\Repos\ship_Request as ship_RequestRepo;
|
|
5: use App\Services\CoilAllocation\AllocCart;
|
|
>> 6: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
7: use App\Services\EpicorMetadata\EntityMetadata;
|
|
8: use App\Services\Grid\SummaryMenuTemplate;
|
|
|
|
Line 7 [match: Epicor]:
|
|
5: use App\Services\CoilAllocation\AllocCart;
|
|
6: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
>> 7: use App\Services\EpicorMetadata\EntityMetadata;
|
|
8: use App\Services\Grid\SummaryMenuTemplate;
|
|
9: use Exception;
|
|
|
|
Line 68 [match: Epicor]:
|
|
66: $company = $SelectedCompanyProvider->getSelectedCompany();
|
|
67:
|
|
>> 68: if ($company->getEpicorCustID() !== 'HDQ') {
|
|
69: $pages->addPage($this->_getUnprocessedPage($isRemote, $remote_page_id));
|
|
70: $pages->addPage($this->_getUnprocessedRejectsReturnsPage($isRemote, $remote_page_id));
|
|
|
|
Line 77 [match: Epicor]:
|
|
75: $pages->addPage($this->_getProcessedOtherPage($isRemote, $remote_page_id));
|
|
76:
|
|
>> 77: if ($company->getEpicorCustID() !== 'HDQ') {
|
|
78: $pages->addPage($this->_getProcessedRejectsReturnsPage($isRemote, $remote_page_id));
|
|
79: }
|
|
|
|
Line 109 [match: Epicor]:
|
|
107: public function getUnprocessedSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
108: {
|
|
>> 109: /** @var EpicorDatabase $EpicorDB */
|
|
110: $EpicorDB = app(EpicorDatabase::class);
|
|
111: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 110 [match: Epicor]:
|
|
108: {
|
|
109: /** @var EpicorDatabase $EpicorDB */
|
|
>> 110: $EpicorDB = app(EpicorDatabase::class);
|
|
111: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
112: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 114 [match: Epicor]:
|
|
112: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
113:
|
|
>> 114: $Data = $EpicorDB->getInventoryUnprocessedSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
115:
|
|
116: //if ($returnData)
|
|
|
|
Line 141 [match: Epicor]:
|
|
139: public function getUnprocessedRRSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
140: {
|
|
>> 141: /** @var EpicorDatabase $EpicorDB */
|
|
142: $EpicorDB = app(EpicorDatabase::class);
|
|
143: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 142 [match: Epicor]:
|
|
140: {
|
|
141: /** @var EpicorDatabase $EpicorDB */
|
|
>> 142: $EpicorDB = app(EpicorDatabase::class);
|
|
143: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
144: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 146 [match: Epicor]:
|
|
144: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
145:
|
|
>> 146: $Data = $EpicorDB->getInventoryUnprocessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
147: $Grid = $this->_setupCommonSummaryGrid($this->_getUnprocessedRRSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
148:
|
|
|
|
Line 166 [match: Epicor]:
|
|
164: public function getWorkInProgressSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
165: {
|
|
>> 166: /** @var EpicorDatabase $EpicorDB */
|
|
167: $EpicorDB = app(EpicorDatabase::class);
|
|
168: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 167 [match: Epicor]:
|
|
165: {
|
|
166: /** @var EpicorDatabase $EpicorDB */
|
|
>> 167: $EpicorDB = app(EpicorDatabase::class);
|
|
168: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
169: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 171 [match: Epicor]:
|
|
169: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
170:
|
|
>> 171: $Data = $EpicorDB->getInventoryWorkInProgressSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
172: $Grid = $this->_setupCommonSummaryGrid($this->_getWorkInProgressSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
173:
|
|
|
|
Line 191 [match: Epicor]:
|
|
189: public function getFinishedGoodsSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
190: {
|
|
>> 191: /** @var EpicorDatabase $EpicorDB */
|
|
192: $EpicorDB = app(EpicorDatabase::class);
|
|
193: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 192 [match: Epicor]:
|
|
190: {
|
|
191: /** @var EpicorDatabase $EpicorDB */
|
|
>> 192: $EpicorDB = app(EpicorDatabase::class);
|
|
193: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
194: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 196 [match: Epicor]:
|
|
194: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
195:
|
|
>> 196: $Data = $EpicorDB->getInventoryFinishedGoodsSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
197: $Grid = $this->_setupCommonSummaryGrid($this->_getFinishedGoodsSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
198:
|
|
|
|
Line 216 [match: Epicor]:
|
|
214: public function getProcessedOtherSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
215: {
|
|
>> 216: /** @var EpicorDatabase $EpicorDB */
|
|
217: $EpicorDB = app(EpicorDatabase::class);
|
|
218: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 217 [match: Epicor]:
|
|
215: {
|
|
216: /** @var EpicorDatabase $EpicorDB */
|
|
>> 217: $EpicorDB = app(EpicorDatabase::class);
|
|
218: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
219: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 221 [match: Epicor]:
|
|
219: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
220:
|
|
>> 221: $Data = $EpicorDB->getInventoryProcessedOtherSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
222: $Grid = $this->_setupCommonSummaryGrid($this->_getProcessedOtherSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
223:
|
|
|
|
Line 241 [match: Epicor]:
|
|
239: public function getProcessedRRSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
240: {
|
|
>> 241: /** @var EpicorDatabase $EpicorDB */
|
|
242: $EpicorDB = app(EpicorDatabase::class);
|
|
243: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 242 [match: Epicor]:
|
|
240: {
|
|
241: /** @var EpicorDatabase $EpicorDB */
|
|
>> 242: $EpicorDB = app(EpicorDatabase::class);
|
|
243: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
244: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 246 [match: Epicor]:
|
|
244: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
245:
|
|
>> 246: $Data = $EpicorDB->getInventoryProcessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
247: $Grid = $this->_setupCommonSummaryGrid($this->_getProcessedRRSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
248:
|
|
|
|
Line 269 [match: Epicor]:
|
|
267: public function getUnprocessedDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
268: {
|
|
>> 269: /** @var EpicorDatabase $EpicorDB */
|
|
270: $EpicorDB = app(EpicorDatabase::class);
|
|
271: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 270 [match: Epicor]:
|
|
268: {
|
|
269: /** @var EpicorDatabase $EpicorDB */
|
|
>> 270: $EpicorDB = app(EpicorDatabase::class);
|
|
271: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
272: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 274 [match: Epicor]:
|
|
272: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
273:
|
|
>> 274: $Data = $EpicorDB->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
275: $Grid = $this->_setupCommonDetailsGrid($this->_getUnprocessedDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo), $Data, $GridPaging);
|
|
276:
|
|
|
|
Line 297 [match: Epicor]:
|
|
295: public function getUnprocessedRRDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
296: {
|
|
>> 297: /** @var EpicorDatabase $EpicorDB */
|
|
298: $EpicorDB = app(EpicorDatabase::class);
|
|
299: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 298 [match: Epicor]:
|
|
296: {
|
|
297: /** @var EpicorDatabase $EpicorDB */
|
|
>> 298: $EpicorDB = app(EpicorDatabase::class);
|
|
299: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
300: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 302 [match: Epicor]:
|
|
300: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
301:
|
|
>> 302: $Data = $EpicorDB->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
303: $Grid = $this->_setupCommonDetailsGrid($this->_getUnprocessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo), $Data, $GridPaging);
|
|
304:
|
|
|
|
Line 322 [match: Epicor]:
|
|
320: * @param $IncludeShipmentReleaseInfo
|
|
321: * @return Grid
|
|
>> 322: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
323: */
|
|
324: public function getWorkInProgressDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 326 [match: Epicor]:
|
|
324: public function getWorkInProgressDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
325: {
|
|
>> 326: /** @var EpicorDatabase $EpicorDB */
|
|
327: $EpicorDB = app(EpicorDatabase::class);
|
|
328: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 327 [match: Epicor]:
|
|
325: {
|
|
326: /** @var EpicorDatabase $EpicorDB */
|
|
>> 327: $EpicorDB = app(EpicorDatabase::class);
|
|
328: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
329: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 333 [match: Epicor]:
|
|
331: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
332:
|
|
>> 333: $Data = $EpicorDB->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
334:
|
|
335:
|
|
|
|
Line 342 [match: Epicor]:
|
|
340: foreach ($Data as $i => $DataRow) {
|
|
341: //get the release id if there is one
|
|
>> 342: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
343: }
|
|
344:
|
|
|
|
Line 367 [match: Epicor]:
|
|
365: * @param $IncludeShipmentReleaseInfo
|
|
366: * @return Grid
|
|
>> 367: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
368: */
|
|
369: public function getFinishedGoodsDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 371 [match: Epicor]:
|
|
369: public function getFinishedGoodsDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
370: {
|
|
>> 371: /** @var EpicorDatabase $EpicorDB */
|
|
372: $EpicorDB = app(EpicorDatabase::class);
|
|
373: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 372 [match: Epicor]:
|
|
370: {
|
|
371: /** @var EpicorDatabase $EpicorDB */
|
|
>> 372: $EpicorDB = app(EpicorDatabase::class);
|
|
373: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
374: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 378 [match: Epicor]:
|
|
376: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
377:
|
|
>> 378: $Data = $EpicorDB->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
379:
|
|
380:
|
|
|
|
Line 387 [match: Epicor]:
|
|
385: foreach ($Data as $i => $DataRow) {
|
|
386: //get the release id if there is one
|
|
>> 387: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
388: }
|
|
389:
|
|
|
|
Line 412 [match: Epicor]:
|
|
410: * @param $IncludeShipmentReleaseInfo
|
|
411: * @return Grid
|
|
>> 412: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
413: */
|
|
414: public function getProcessedOtherDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 416 [match: Epicor]:
|
|
414: public function getProcessedOtherDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
415: {
|
|
>> 416: /** @var EpicorDatabase $EpicorDB */
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 417 [match: Epicor]:
|
|
415: {
|
|
416: /** @var EpicorDatabase $EpicorDB */
|
|
>> 417: $EpicorDB = app(EpicorDatabase::class);
|
|
418: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
419: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 423 [match: Epicor]:
|
|
421: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
422:
|
|
>> 423: $Data = $EpicorDB->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
424:
|
|
425:
|
|
|
|
Line 432 [match: Epicor]:
|
|
430: foreach ($Data as $i => $DataRow) {
|
|
431: //get the release id if there is one
|
|
>> 432: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
433: }
|
|
434:
|
|
|
|
Line 460 [match: Epicor]:
|
|
458: public function getProcessedRRDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
459: {
|
|
>> 460: /** @var EpicorDatabase $EpicorDB */
|
|
461: $EpicorDB = app(EpicorDatabase::class);
|
|
462: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 461 [match: Epicor]:
|
|
459: {
|
|
460: /** @var EpicorDatabase $EpicorDB */
|
|
>> 461: $EpicorDB = app(EpicorDatabase::class);
|
|
462: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
463: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 467 [match: Epicor]:
|
|
465: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
466:
|
|
>> 467: $Data = $EpicorDB->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
468:
|
|
469: //add the release id and combined job / sales number
|
|
|
|
Line 472 [match: Epicor]:
|
|
470: foreach ($Data as $i => $DataRow) {
|
|
471: //get the release id if there is one
|
|
>> 472: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
473: }
|
|
474:
|
|
|
|
Line 487 [match: Epicor]:
|
|
485: public function getLotSearchHistoryGrid($LotNum)
|
|
486: {
|
|
>> 487: /** @var EpicorDatabase $EpicorDB */
|
|
488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
|
|
Line 488 [match: Epicor]:
|
|
486: {
|
|
487: /** @var EpicorDatabase $EpicorDB */
|
|
>> 488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
490: $Data = $EpicorDB->getLotSearchHistory($LotNum);
|
|
|
|
Line 490 [match: Epicor]:
|
|
488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
>> 490: $Data = $EpicorDB->getLotSearchHistory($LotNum);
|
|
491:
|
|
492:
|
|
|
|
Line 516 [match: Epicor]:
|
|
514: public function getUnprocessedSummaryExcelResponse()
|
|
515: {
|
|
>> 516: /** @var EpicorDatabase $EpicorDB */
|
|
517: $EpicorDB = app(EpicorDatabase::class);
|
|
518: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 517 [match: Epicor]:
|
|
515: {
|
|
516: /** @var EpicorDatabase $EpicorDB */
|
|
>> 517: $EpicorDB = app(EpicorDatabase::class);
|
|
518: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
519: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 521 [match: Epicor]:
|
|
519: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
520:
|
|
>> 521: $Data = $EpicorDB->getInventoryUnprocessedSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
522: return $this->_setupCommonExcel($this->_getUnprocessedSummaryMetadata(false), $Data);
|
|
523: }
|
|
|
|
Line 530 [match: Epicor]:
|
|
528: public function getUnprocessedRRSummaryExcelResponse()
|
|
529: {
|
|
>> 530: /** @var EpicorDatabase $EpicorDB */
|
|
531: $EpicorDB = app(EpicorDatabase::class);
|
|
532: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 531 [match: Epicor]:
|
|
529: {
|
|
530: /** @var EpicorDatabase $EpicorDB */
|
|
>> 531: $EpicorDB = app(EpicorDatabase::class);
|
|
532: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
533: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 535 [match: Epicor]:
|
|
533: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
534:
|
|
>> 535: $Data = $EpicorDB->getInventoryUnprocessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
536: return $this->_setupCommonExcel($this->_getUnprocessedRRSummaryMetadata(false), $Data);
|
|
537: }
|
|
|
|
Line 544 [match: Epicor]:
|
|
542: public function getWorkInProgressSummaryExcelResponse()
|
|
543: {
|
|
>> 544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 545 [match: Epicor]:
|
|
543: {
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
>> 545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
547: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 549 [match: Epicor]:
|
|
547: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
548:
|
|
>> 549: $Data = $EpicorDB->getInventoryWorkInProgressSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
550:
|
|
551:
|
|
|
|
Line 564 [match: Epicor]:
|
|
562: public function getFinishedGoodsSummaryExcelResponse()
|
|
563: {
|
|
>> 564: /** @var EpicorDatabase $EpicorDB */
|
|
565: $EpicorDB = app(EpicorDatabase::class);
|
|
566: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 565 [match: Epicor]:
|
|
563: {
|
|
564: /** @var EpicorDatabase $EpicorDB */
|
|
>> 565: $EpicorDB = app(EpicorDatabase::class);
|
|
566: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
567: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 569 [match: Epicor]:
|
|
567: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
568:
|
|
>> 569: $Data = $EpicorDB->getInventoryFinishedGoodsSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
570:
|
|
571:
|
|
|
|
Line 584 [match: Epicor]:
|
|
582: public function getProcessedOtherSummaryExcelResponse()
|
|
583: {
|
|
>> 584: /** @var EpicorDatabase $EpicorDB */
|
|
585: $EpicorDB = app(EpicorDatabase::class);
|
|
586: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 585 [match: Epicor]:
|
|
583: {
|
|
584: /** @var EpicorDatabase $EpicorDB */
|
|
>> 585: $EpicorDB = app(EpicorDatabase::class);
|
|
586: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
587: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 589 [match: Epicor]:
|
|
587: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
588:
|
|
>> 589: $Data = $EpicorDB->getInventoryProcessedOtherSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
590:
|
|
591:
|
|
|
|
Line 604 [match: Epicor]:
|
|
602: public function getProcessedRRSummaryExcelResponse()
|
|
603: {
|
|
>> 604: /** @var EpicorDatabase $EpicorDB */
|
|
605: $EpicorDB = app(EpicorDatabase::class);
|
|
606: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 605 [match: Epicor]:
|
|
603: {
|
|
604: /** @var EpicorDatabase $EpicorDB */
|
|
>> 605: $EpicorDB = app(EpicorDatabase::class);
|
|
606: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
607: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 609 [match: Epicor]:
|
|
607: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
608:
|
|
>> 609: $Data = $EpicorDB->getInventoryProcessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
610: return $this->_setupCommonExcel($this->_getProcessedRRSummaryMetadata(false), $Data);
|
|
611: }
|
|
|
|
Line 621 [match: Epicor]:
|
|
619: public function getUnprocessedDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
620: {
|
|
>> 621: /** @var EpicorDatabase $EpicorDB */
|
|
622: $EpicorDB = app(EpicorDatabase::class);
|
|
623: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 622 [match: Epicor]:
|
|
620: {
|
|
621: /** @var EpicorDatabase $EpicorDB */
|
|
>> 622: $EpicorDB = app(EpicorDatabase::class);
|
|
623: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
624: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 629 [match: Epicor]:
|
|
627:
|
|
628:
|
|
>> 629: $Data = $EpicorDB->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
630:
|
|
631:
|
|
|
|
Line 666 [match: Epicor]:
|
|
664: public function getUnprocessedRRDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
665: {
|
|
>> 666: /** @var EpicorDatabase $EpicorDB */
|
|
667: $EpicorDB = app(EpicorDatabase::class);
|
|
668: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 667 [match: Epicor]:
|
|
665: {
|
|
666: /** @var EpicorDatabase $EpicorDB */
|
|
>> 667: $EpicorDB = app(EpicorDatabase::class);
|
|
668: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
669: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 671 [match: Epicor]:
|
|
669: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
670:
|
|
>> 671: $Data = $EpicorDB->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
672: return $this->_setupCommonExcel($this->_getUnprocessedRRDetailsMetadata(true, false, false), $Data);
|
|
673: }
|
|
|
|
Line 685 [match: Epicor]:
|
|
683: ini_set('memory_limit', '2G');
|
|
684:
|
|
>> 685: /** @var EpicorDatabase $EpicorDB */
|
|
686: $EpicorDB = app(EpicorDatabase::class);
|
|
687: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 686 [match: Epicor]:
|
|
684:
|
|
685: /** @var EpicorDatabase $EpicorDB */
|
|
>> 686: $EpicorDB = app(EpicorDatabase::class);
|
|
687: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
688: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 690 [match: Epicor]:
|
|
688: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
689:
|
|
>> 690: $Data = $EpicorDB->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
691:
|
|
692:
|
|
|
|
Line 739 [match: Epicor]:
|
|
737: ini_set('memory_limit', '2G');
|
|
738:
|
|
>> 739: /** @var EpicorDatabase $EpicorDB */
|
|
740: $EpicorDB = app(EpicorDatabase::class);
|
|
741: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 740 [match: Epicor]:
|
|
738:
|
|
739: /** @var EpicorDatabase $EpicorDB */
|
|
>> 740: $EpicorDB = app(EpicorDatabase::class);
|
|
741: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
742: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 744 [match: Epicor]:
|
|
742: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
743:
|
|
>> 744: $Data = $EpicorDB->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
745:
|
|
746:
|
|
|
|
Line 793 [match: Epicor]:
|
|
791: ini_set('memory_limit', '2G');
|
|
792:
|
|
>> 793: /** @var EpicorDatabase $EpicorDB */
|
|
794: $EpicorDB = app(EpicorDatabase::class);
|
|
795: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 794 [match: Epicor]:
|
|
792:
|
|
793: /** @var EpicorDatabase $EpicorDB */
|
|
>> 794: $EpicorDB = app(EpicorDatabase::class);
|
|
795: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
796: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 798 [match: Epicor]:
|
|
796: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
797:
|
|
>> 798: $Data = $EpicorDB->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
799:
|
|
800:
|
|
|
|
Line 845 [match: Epicor]:
|
|
843: public function getProcessedRRDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
844: {
|
|
>> 845: /** @var EpicorDatabase $EpicorDB */
|
|
846: $EpicorDB = app(EpicorDatabase::class);
|
|
847: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 846 [match: Epicor]:
|
|
844: {
|
|
845: /** @var EpicorDatabase $EpicorDB */
|
|
>> 846: $EpicorDB = app(EpicorDatabase::class);
|
|
847: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
848: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 850 [match: Epicor]:
|
|
848: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
849:
|
|
>> 850: $Data = $EpicorDB->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
851: return $this->_setupCommonExcel($this->_getProcessedRRDetailsMetadata(true, false, false, true), $Data);
|
|
852: }
|
|
|
|
Line 952 [match: Epicor]:
|
|
950: }
|
|
951:
|
|
>> 952: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $SourceDisplay . ' ' . date(config('app.date_format'));
|
|
953: }
|
|
954:
|
|
|
|
Line 970 [match: Epicor]:
|
|
968: $ProcessedRRExcelResponse = $this->getProcessedRRSummaryExcelResponse();
|
|
969:
|
|
>> 970: $cacheKey = 'inv_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
971:
|
|
972: return $this->_getExcelExportContents($cacheKey, $UnprocessedExcelResponse, $UnprocessedRRExcelResponse, $WorkInProgressExcelResponse, $FinishedGoodsExcelResponse, $ProcessedOtherExcelResponse, $ProcessedRRExcelResponse);
|
|
|
|
Line 1003 [match: Epicor]:
|
|
1001: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1002:
|
|
>> 1003: $cacheKey = 'inv_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
1004:
|
|
1005: $UnprocessedGrid = $this->getUnprocessedSummaryGrid(false, false, false, false, true);
|
|
|
|
Line 1128 [match: Epicor]:
|
|
1126: $comp = app(SelectedCompanyProvider::class);
|
|
1127:
|
|
>> 1128: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
1129:
|
|
1130:
|
|
|
|
Line 1133 [match: Epicor]:
|
|
1131:
|
|
1132:
|
|
>> 1133: /** @var EpicorDatabase $EpicorDatabase */
|
|
1134: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1135:
|
|
|
|
Line 1134 [match: Epicor]:
|
|
1132:
|
|
1133: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1134: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1135:
|
|
1136:
|
|
|
|
Line 1138 [match: Epicor]:
|
|
1136:
|
|
1137:
|
|
>> 1138: return $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1139:
|
|
1140: }
|
|
|
|
Line 1245 [match: Epicor]:
|
|
1243: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1244:
|
|
>> 1245: $cacheKey = 'inv_detail_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().'_'.uniqid('',true).'_'.microtime().'_'.rand();
|
|
1246:
|
|
1247: $UnprocessedGrid = $this->getUnprocessedDetailsGrid(null, null, null, false, true, false, false);
|
|
|
|
Line 1274 [match: Epicor]:
|
|
1272: $ProcessedRRExcelResponse = $this->getProcessedRRDetailsExcelResponse();
|
|
1273:
|
|
>> 1274: $cacheKey = 'inv_detail_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().'_'.uniqid('',true).'_'.microtime().'_'.rand();
|
|
1275:
|
|
1276: return $this->_getExcelExportContents($cacheKey, $UnprocessedExcelResponse, $UnprocessedRRExcelResponse, $WorkInProgressExcelResponse, $FinishedGoodsExcelResponse, $ProcessedOtherExcelResponse, $ProcessedRRExcelResponse);
|
|
|
|
Line 1305 [match: Epicor]:
|
|
1303: }
|
|
1304:
|
|
>> 1305: public function _setupCommonSummaryGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $GridMenu, $TrackDisplay)
|
|
1306: {
|
|
1307:
|
|
|
|
Line 1335 [match: Epicor]:
|
|
1333:
|
|
1334: /** @var Grid $Grid */
|
|
>> 1335: $Grid = $GridFactory->create($Metadata, 'inventory_summary_grid_'.$Metadata->getName().($TrackDisplay?'_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID():''));
|
|
1336:
|
|
1337:
|
|
|
|
Line 1403 [match: Epicor]:
|
|
1401: }
|
|
1402:
|
|
>> 1403: public function _setupCommonDetailsGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $CartOpen=false)
|
|
1404: {
|
|
1405: /** @var GridFactory $GridFactory */
|
|
|
|
Line 1433 [match: Epicor]:
|
|
1431: elseif(($ShipmentCart->getIsCartOpen() || $CartOpen) && $ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], (int)$DataRow['OnHandQty']))
|
|
1432: $Data[$i]['ShipmentSelectionField'] = '<img src="'.asset('img/cyclone-purple.png').'" title="In your shipment" style="width:75%;" />'; // This item is already in your current shipment.
|
|
>> 1433: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']))
|
|
1434: $Data[$i]['ShipmentSelectionField'] = '<img src="'.asset('img/cyclone-gray.png').'" title="Already part of another shipment" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
1435:
|
|
|
|
Line 1495 [match: Epicor]:
|
|
1493:
|
|
1494: /**
|
|
>> 1495: * @param EpicorEntityMetadata $Metadata
|
|
1496: * @param array $Data
|
|
1497: * @return Response
|
|
|
|
Line 1499 [match: Epicor]:
|
|
1497: * @return Response
|
|
1498: */
|
|
>> 1499: public function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
1500: {
|
|
1501: /** @var GridResponseFactory $GridResponseFactory */
|
|
|
|
Line 1591 [match: Epicor]:
|
|
1589: public function _getUnprocessedSummaryMetadata($IncludeLinks)
|
|
1590: {
|
|
>> 1591: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventorySummary');
|
|
1592: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
1593: return $EntityMetadata;
|
|
|
|
Line 1598 [match: Epicor]:
|
|
1596: public function _getUnprocessedRRSummaryMetadata($IncludeLinks)
|
|
1597: {
|
|
>> 1598: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventoryRejectsAndReturnsSummary');
|
|
1599: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
1600: return $EntityMetadata;
|
|
|
|
Line 1605 [match: Epicor]:
|
|
1603: public function _getWorkInProgressSummaryMetadata($IncludeLinks)
|
|
1604: {
|
|
>> 1605: $EntityMetadata = new EpicorEntityMetadata('portal_WorkInProgressInventorySummary');
|
|
1606: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1607:
|
|
|
|
Line 1634 [match: Epicor]:
|
|
1632: public function _getFinishedGoodsSummaryMetadata($IncludeLinks)
|
|
1633: {
|
|
>> 1634: $EntityMetadata = new EpicorEntityMetadata('portal_FinishedGoodsInventorySummary');
|
|
1635: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1636:
|
|
|
|
Line 1663 [match: Epicor]:
|
|
1661: public function _getProcessedOtherSummaryMetadata($IncludeLinks)
|
|
1662: {
|
|
>> 1663: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedOtherInventorySummary');
|
|
1664: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1665:
|
|
|
|
Line 1692 [match: Epicor]:
|
|
1690: public function _getProcessedRRSummaryMetadata($IncludeLinks)
|
|
1691: {
|
|
>> 1692: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedInventoryRejectsAndReturnsSummary');
|
|
1693: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1694: return $EntityMetadata;
|
|
|
|
Line 1697 [match: Epicor]:
|
|
1695: }
|
|
1696:
|
|
>> 1697: public function _appendCommonSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeLinks, $IncludeCustomerPartNum)
|
|
1698: {
|
|
1699: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 1730 [match: Epicor]:
|
|
1728: }
|
|
1729:
|
|
>> 1730: public function _appendSharedSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, /** @noinspection PhpUnusedParameterInspection */ $IncludeLinks, $IncludeCustomerPartNum)
|
|
1731: {
|
|
1732: /** @var FieldMetadataField $Plant */
|
|
|
|
Line 1782 [match: Epicor]:
|
|
1780: public function _getUnprocessedDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1781: {
|
|
>> 1782: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventory');
|
|
1783: $this->_appendCommonUnprocessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
1784: return $EntityMetadata;
|
|
|
|
Line 1789 [match: Epicor]:
|
|
1787: public function _getUnprocessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1788: {
|
|
>> 1789: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventoryRejectsAndReturns');
|
|
1790: $this->_appendCommonUnprocessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
1791: return $EntityMetadata;
|
|
|
|
Line 1796 [match: Epicor]:
|
|
1794: public function _getWorkInProgressDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1795: {
|
|
>> 1796: $EntityMetadata = new EpicorEntityMetadata('portal_WorkInProgressInventory');
|
|
1797: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1798: return $EntityMetadata;
|
|
|
|
Line 1803 [match: Epicor]:
|
|
1801: public function _getFinishedGoodsDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1802: {
|
|
>> 1803: $EntityMetadata = new EpicorEntityMetadata('portal_FinishedGoodsInventory');
|
|
1804: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1805: return $EntityMetadata;
|
|
|
|
Line 1810 [match: Epicor]:
|
|
1808: public function _getProcessedOtherDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1809: {
|
|
>> 1810: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedOtherInventory');
|
|
1811: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1812: return $EntityMetadata;
|
|
|
|
Line 1817 [match: Epicor]:
|
|
1815: public function _getProcessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1816: {
|
|
>> 1817: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedInventoryRejectsAndReturns');
|
|
1818: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1819: return $EntityMetadata;
|
|
|
|
Line 1822 [match: Epicor]:
|
|
1820: }
|
|
1821:
|
|
>> 1822: public function _appendCommonUnprocessedDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1823: {
|
|
1824: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 1926 [match: Epicor]:
|
|
1924: }
|
|
1925:
|
|
>> 1926: public function _appendCommonProcessedDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1927: {
|
|
1928: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 1974 [match: Epicor]:
|
|
1972: $GetSession = app(SelectedCompanyProvider::class);
|
|
1973:
|
|
>> 1974: $CustID = $GetSession->getSelectedCompanyEpicorCustID();
|
|
1975:
|
|
1976: /** @var QuestPageValues $QPV */
|
|
|
|
Line 2116 [match: Epicor]:
|
|
2114: }
|
|
2115:
|
|
>> 2116: public function _appendCommonDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
2117: {
|
|
2118: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 2467 [match: Epicor]:
|
|
2465:
|
|
2466: $ExcelExporter = new Excel();
|
|
>> 2467: $ExportName = StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()).' Inventory '.$TypeLabel.' '.date(config('app.date_format'));
|
|
2468: return $ExportName.'.'.$ExcelExporter->getFileExtension();
|
|
2469: }
|
|
|
|
Line 2584 [match: Epicor]:
|
|
2582: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
2583:
|
|
>> 2584: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()).' Inventory '.$TypeLabel.' '.date(config('app.date_format')).'.pdf';
|
|
2585: }
|
|
2586:
|
|
|
|
Line 2589 [match: Epicor]:
|
|
2587: public function _getLotSearchMetadata()
|
|
2588: {
|
|
>> 2589: $EntityMetadata = new EpicorEntityMetadata('portal_LotSearch');
|
|
2590:
|
|
2591: /** guts */
|
|
|
|
Line 6 [match: EPICOR]:
|
|
4: use App\Model\Repos\ship_Request as ship_RequestRepo;
|
|
5: use App\Services\CoilAllocation\AllocCart;
|
|
>> 6: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
7: use App\Services\EpicorMetadata\EntityMetadata;
|
|
8: use App\Services\Grid\SummaryMenuTemplate;
|
|
|
|
Line 7 [match: EPICOR]:
|
|
5: use App\Services\CoilAllocation\AllocCart;
|
|
6: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
>> 7: use App\Services\EpicorMetadata\EntityMetadata;
|
|
8: use App\Services\Grid\SummaryMenuTemplate;
|
|
9: use Exception;
|
|
|
|
Line 68 [match: EPICOR]:
|
|
66: $company = $SelectedCompanyProvider->getSelectedCompany();
|
|
67:
|
|
>> 68: if ($company->getEpicorCustID() !== 'HDQ') {
|
|
69: $pages->addPage($this->_getUnprocessedPage($isRemote, $remote_page_id));
|
|
70: $pages->addPage($this->_getUnprocessedRejectsReturnsPage($isRemote, $remote_page_id));
|
|
|
|
Line 77 [match: EPICOR]:
|
|
75: $pages->addPage($this->_getProcessedOtherPage($isRemote, $remote_page_id));
|
|
76:
|
|
>> 77: if ($company->getEpicorCustID() !== 'HDQ') {
|
|
78: $pages->addPage($this->_getProcessedRejectsReturnsPage($isRemote, $remote_page_id));
|
|
79: }
|
|
|
|
Line 109 [match: EPICOR]:
|
|
107: public function getUnprocessedSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay, $returnData = false)
|
|
108: {
|
|
>> 109: /** @var EpicorDatabase $EpicorDB */
|
|
110: $EpicorDB = app(EpicorDatabase::class);
|
|
111: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 110 [match: EPICOR]:
|
|
108: {
|
|
109: /** @var EpicorDatabase $EpicorDB */
|
|
>> 110: $EpicorDB = app(EpicorDatabase::class);
|
|
111: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
112: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 114 [match: EPICOR]:
|
|
112: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
113:
|
|
>> 114: $Data = $EpicorDB->getInventoryUnprocessedSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
115:
|
|
116: //if ($returnData)
|
|
|
|
Line 141 [match: EPICOR]:
|
|
139: public function getUnprocessedRRSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
140: {
|
|
>> 141: /** @var EpicorDatabase $EpicorDB */
|
|
142: $EpicorDB = app(EpicorDatabase::class);
|
|
143: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 142 [match: EPICOR]:
|
|
140: {
|
|
141: /** @var EpicorDatabase $EpicorDB */
|
|
>> 142: $EpicorDB = app(EpicorDatabase::class);
|
|
143: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
144: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 146 [match: EPICOR]:
|
|
144: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
145:
|
|
>> 146: $Data = $EpicorDB->getInventoryUnprocessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
147: $Grid = $this->_setupCommonSummaryGrid($this->_getUnprocessedRRSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
148:
|
|
|
|
Line 166 [match: EPICOR]:
|
|
164: public function getWorkInProgressSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
165: {
|
|
>> 166: /** @var EpicorDatabase $EpicorDB */
|
|
167: $EpicorDB = app(EpicorDatabase::class);
|
|
168: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 167 [match: EPICOR]:
|
|
165: {
|
|
166: /** @var EpicorDatabase $EpicorDB */
|
|
>> 167: $EpicorDB = app(EpicorDatabase::class);
|
|
168: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
169: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 171 [match: EPICOR]:
|
|
169: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
170:
|
|
>> 171: $Data = $EpicorDB->getInventoryWorkInProgressSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
172: $Grid = $this->_setupCommonSummaryGrid($this->_getWorkInProgressSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
173:
|
|
|
|
Line 191 [match: EPICOR]:
|
|
189: public function getFinishedGoodsSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
190: {
|
|
>> 191: /** @var EpicorDatabase $EpicorDB */
|
|
192: $EpicorDB = app(EpicorDatabase::class);
|
|
193: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 192 [match: EPICOR]:
|
|
190: {
|
|
191: /** @var EpicorDatabase $EpicorDB */
|
|
>> 192: $EpicorDB = app(EpicorDatabase::class);
|
|
193: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
194: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 196 [match: EPICOR]:
|
|
194: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
195:
|
|
>> 196: $Data = $EpicorDB->getInventoryFinishedGoodsSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
197: $Grid = $this->_setupCommonSummaryGrid($this->_getFinishedGoodsSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
198:
|
|
|
|
Line 216 [match: EPICOR]:
|
|
214: public function getProcessedOtherSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
215: {
|
|
>> 216: /** @var EpicorDatabase $EpicorDB */
|
|
217: $EpicorDB = app(EpicorDatabase::class);
|
|
218: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 217 [match: EPICOR]:
|
|
215: {
|
|
216: /** @var EpicorDatabase $EpicorDB */
|
|
>> 217: $EpicorDB = app(EpicorDatabase::class);
|
|
218: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
219: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 221 [match: EPICOR]:
|
|
219: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
220:
|
|
>> 221: $Data = $EpicorDB->getInventoryProcessedOtherSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
222: $Grid = $this->_setupCommonSummaryGrid($this->_getProcessedOtherSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
223:
|
|
|
|
Line 241 [match: EPICOR]:
|
|
239: public function getProcessedRRSummaryGrid($GridPaging, $GridMenu, $IncludeLinks, $TrackDisplay)
|
|
240: {
|
|
>> 241: /** @var EpicorDatabase $EpicorDB */
|
|
242: $EpicorDB = app(EpicorDatabase::class);
|
|
243: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 242 [match: EPICOR]:
|
|
240: {
|
|
241: /** @var EpicorDatabase $EpicorDB */
|
|
>> 242: $EpicorDB = app(EpicorDatabase::class);
|
|
243: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
244: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 246 [match: EPICOR]:
|
|
244: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
245:
|
|
>> 246: $Data = $EpicorDB->getInventoryProcessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
247: $Grid = $this->_setupCommonSummaryGrid($this->_getProcessedRRSummaryMetadata($IncludeLinks), $Data, $GridPaging, $GridMenu, $TrackDisplay);
|
|
248:
|
|
|
|
Line 269 [match: EPICOR]:
|
|
267: public function getUnprocessedDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
268: {
|
|
>> 269: /** @var EpicorDatabase $EpicorDB */
|
|
270: $EpicorDB = app(EpicorDatabase::class);
|
|
271: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 270 [match: EPICOR]:
|
|
268: {
|
|
269: /** @var EpicorDatabase $EpicorDB */
|
|
>> 270: $EpicorDB = app(EpicorDatabase::class);
|
|
271: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
272: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 274 [match: EPICOR]:
|
|
272: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
273:
|
|
>> 274: $Data = $EpicorDB->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
275: $Grid = $this->_setupCommonDetailsGrid($this->_getUnprocessedDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo), $Data, $GridPaging);
|
|
276:
|
|
|
|
Line 297 [match: EPICOR]:
|
|
295: public function getUnprocessedRRDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
296: {
|
|
>> 297: /** @var EpicorDatabase $EpicorDB */
|
|
298: $EpicorDB = app(EpicorDatabase::class);
|
|
299: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 298 [match: EPICOR]:
|
|
296: {
|
|
297: /** @var EpicorDatabase $EpicorDB */
|
|
>> 298: $EpicorDB = app(EpicorDatabase::class);
|
|
299: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
300: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 302 [match: EPICOR]:
|
|
300: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
301:
|
|
>> 302: $Data = $EpicorDB->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
303: $Grid = $this->_setupCommonDetailsGrid($this->_getUnprocessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo), $Data, $GridPaging);
|
|
304:
|
|
|
|
Line 322 [match: EPICOR]:
|
|
320: * @param $IncludeShipmentReleaseInfo
|
|
321: * @return Grid
|
|
>> 322: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
323: */
|
|
324: public function getWorkInProgressDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 326 [match: EPICOR]:
|
|
324: public function getWorkInProgressDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
325: {
|
|
>> 326: /** @var EpicorDatabase $EpicorDB */
|
|
327: $EpicorDB = app(EpicorDatabase::class);
|
|
328: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 327 [match: EPICOR]:
|
|
325: {
|
|
326: /** @var EpicorDatabase $EpicorDB */
|
|
>> 327: $EpicorDB = app(EpicorDatabase::class);
|
|
328: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
329: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 333 [match: EPICOR]:
|
|
331: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
332:
|
|
>> 333: $Data = $EpicorDB->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
334:
|
|
335:
|
|
|
|
Line 342 [match: EPICOR]:
|
|
340: foreach ($Data as $i => $DataRow) {
|
|
341: //get the release id if there is one
|
|
>> 342: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
343: }
|
|
344:
|
|
|
|
Line 367 [match: EPICOR]:
|
|
365: * @param $IncludeShipmentReleaseInfo
|
|
366: * @return Grid
|
|
>> 367: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
368: */
|
|
369: public function getFinishedGoodsDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 371 [match: EPICOR]:
|
|
369: public function getFinishedGoodsDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
370: {
|
|
>> 371: /** @var EpicorDatabase $EpicorDB */
|
|
372: $EpicorDB = app(EpicorDatabase::class);
|
|
373: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 372 [match: EPICOR]:
|
|
370: {
|
|
371: /** @var EpicorDatabase $EpicorDB */
|
|
>> 372: $EpicorDB = app(EpicorDatabase::class);
|
|
373: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
374: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 378 [match: EPICOR]:
|
|
376: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
377:
|
|
>> 378: $Data = $EpicorDB->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
379:
|
|
380:
|
|
|
|
Line 387 [match: EPICOR]:
|
|
385: foreach ($Data as $i => $DataRow) {
|
|
386: //get the release id if there is one
|
|
>> 387: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
388: }
|
|
389:
|
|
|
|
Line 412 [match: EPICOR]:
|
|
410: * @param $IncludeShipmentReleaseInfo
|
|
411: * @return Grid
|
|
>> 412: * @throws \App\Exceptions\NoDetailDataForEpicorMultiKey
|
|
413: */
|
|
414: public function getProcessedOtherDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
|
|
Line 416 [match: EPICOR]:
|
|
414: public function getProcessedOtherDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $CartOpen=false)
|
|
415: {
|
|
>> 416: /** @var EpicorDatabase $EpicorDB */
|
|
417: $EpicorDB = app(EpicorDatabase::class);
|
|
418: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 417 [match: EPICOR]:
|
|
415: {
|
|
416: /** @var EpicorDatabase $EpicorDB */
|
|
>> 417: $EpicorDB = app(EpicorDatabase::class);
|
|
418: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
419: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 423 [match: EPICOR]:
|
|
421: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
422:
|
|
>> 423: $Data = $EpicorDB->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
424:
|
|
425:
|
|
|
|
Line 432 [match: EPICOR]:
|
|
430: foreach ($Data as $i => $DataRow) {
|
|
431: //get the release id if there is one
|
|
>> 432: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
433: }
|
|
434:
|
|
|
|
Line 460 [match: EPICOR]:
|
|
458: public function getProcessedRRDetailsGrid($Part, $Plant, $Warehouse, $GridPaging, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
459: {
|
|
>> 460: /** @var EpicorDatabase $EpicorDB */
|
|
461: $EpicorDB = app(EpicorDatabase::class);
|
|
462: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 461 [match: EPICOR]:
|
|
459: {
|
|
460: /** @var EpicorDatabase $EpicorDB */
|
|
>> 461: $EpicorDB = app(EpicorDatabase::class);
|
|
462: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
463: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 467 [match: EPICOR]:
|
|
465: $ROShipmentRequestRepo = app(ship_RequestRepo::class);
|
|
466:
|
|
>> 467: $Data = $EpicorDB->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
468:
|
|
469: //add the release id and combined job / sales number
|
|
|
|
Line 472 [match: EPICOR]:
|
|
470: foreach ($Data as $i => $DataRow) {
|
|
471: //get the release id if there is one
|
|
>> 472: $Data[$i]['ShipmentReleaseId'] = $ROShipmentRequestRepo->getNonCancelledShipmentRequestIDForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
473: }
|
|
474:
|
|
|
|
Line 487 [match: EPICOR]:
|
|
485: public function getLotSearchHistoryGrid($LotNum)
|
|
486: {
|
|
>> 487: /** @var EpicorDatabase $EpicorDB */
|
|
488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
|
|
Line 488 [match: EPICOR]:
|
|
486: {
|
|
487: /** @var EpicorDatabase $EpicorDB */
|
|
>> 488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
490: $Data = $EpicorDB->getLotSearchHistory($LotNum);
|
|
|
|
Line 490 [match: EPICOR]:
|
|
488: $EpicorDB = app(EpicorDatabase::class);
|
|
489:
|
|
>> 490: $Data = $EpicorDB->getLotSearchHistory($LotNum);
|
|
491:
|
|
492:
|
|
|
|
Line 516 [match: EPICOR]:
|
|
514: public function getUnprocessedSummaryExcelResponse()
|
|
515: {
|
|
>> 516: /** @var EpicorDatabase $EpicorDB */
|
|
517: $EpicorDB = app(EpicorDatabase::class);
|
|
518: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 517 [match: EPICOR]:
|
|
515: {
|
|
516: /** @var EpicorDatabase $EpicorDB */
|
|
>> 517: $EpicorDB = app(EpicorDatabase::class);
|
|
518: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
519: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 521 [match: EPICOR]:
|
|
519: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
520:
|
|
>> 521: $Data = $EpicorDB->getInventoryUnprocessedSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
522: return $this->_setupCommonExcel($this->_getUnprocessedSummaryMetadata(false), $Data);
|
|
523: }
|
|
|
|
Line 530 [match: EPICOR]:
|
|
528: public function getUnprocessedRRSummaryExcelResponse()
|
|
529: {
|
|
>> 530: /** @var EpicorDatabase $EpicorDB */
|
|
531: $EpicorDB = app(EpicorDatabase::class);
|
|
532: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 531 [match: EPICOR]:
|
|
529: {
|
|
530: /** @var EpicorDatabase $EpicorDB */
|
|
>> 531: $EpicorDB = app(EpicorDatabase::class);
|
|
532: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
533: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 535 [match: EPICOR]:
|
|
533: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
534:
|
|
>> 535: $Data = $EpicorDB->getInventoryUnprocessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
536: return $this->_setupCommonExcel($this->_getUnprocessedRRSummaryMetadata(false), $Data);
|
|
537: }
|
|
|
|
Line 544 [match: EPICOR]:
|
|
542: public function getWorkInProgressSummaryExcelResponse()
|
|
543: {
|
|
>> 544: /** @var EpicorDatabase $EpicorDB */
|
|
545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 545 [match: EPICOR]:
|
|
543: {
|
|
544: /** @var EpicorDatabase $EpicorDB */
|
|
>> 545: $EpicorDB = app(EpicorDatabase::class);
|
|
546: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
547: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 549 [match: EPICOR]:
|
|
547: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
548:
|
|
>> 549: $Data = $EpicorDB->getInventoryWorkInProgressSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
550:
|
|
551:
|
|
|
|
Line 564 [match: EPICOR]:
|
|
562: public function getFinishedGoodsSummaryExcelResponse()
|
|
563: {
|
|
>> 564: /** @var EpicorDatabase $EpicorDB */
|
|
565: $EpicorDB = app(EpicorDatabase::class);
|
|
566: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 565 [match: EPICOR]:
|
|
563: {
|
|
564: /** @var EpicorDatabase $EpicorDB */
|
|
>> 565: $EpicorDB = app(EpicorDatabase::class);
|
|
566: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
567: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 569 [match: EPICOR]:
|
|
567: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
568:
|
|
>> 569: $Data = $EpicorDB->getInventoryFinishedGoodsSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
570:
|
|
571:
|
|
|
|
Line 584 [match: EPICOR]:
|
|
582: public function getProcessedOtherSummaryExcelResponse()
|
|
583: {
|
|
>> 584: /** @var EpicorDatabase $EpicorDB */
|
|
585: $EpicorDB = app(EpicorDatabase::class);
|
|
586: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 585 [match: EPICOR]:
|
|
583: {
|
|
584: /** @var EpicorDatabase $EpicorDB */
|
|
>> 585: $EpicorDB = app(EpicorDatabase::class);
|
|
586: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
587: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 589 [match: EPICOR]:
|
|
587: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
588:
|
|
>> 589: $Data = $EpicorDB->getInventoryProcessedOtherSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
590:
|
|
591:
|
|
|
|
Line 604 [match: EPICOR]:
|
|
602: public function getProcessedRRSummaryExcelResponse()
|
|
603: {
|
|
>> 604: /** @var EpicorDatabase $EpicorDB */
|
|
605: $EpicorDB = app(EpicorDatabase::class);
|
|
606: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 605 [match: EPICOR]:
|
|
603: {
|
|
604: /** @var EpicorDatabase $EpicorDB */
|
|
>> 605: $EpicorDB = app(EpicorDatabase::class);
|
|
606: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
607: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 609 [match: EPICOR]:
|
|
607: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
608:
|
|
>> 609: $Data = $EpicorDB->getInventoryProcessedRRSummaryData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID());
|
|
610: return $this->_setupCommonExcel($this->_getProcessedRRSummaryMetadata(false), $Data);
|
|
611: }
|
|
|
|
Line 621 [match: EPICOR]:
|
|
619: public function getUnprocessedDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
620: {
|
|
>> 621: /** @var EpicorDatabase $EpicorDB */
|
|
622: $EpicorDB = app(EpicorDatabase::class);
|
|
623: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 622 [match: EPICOR]:
|
|
620: {
|
|
621: /** @var EpicorDatabase $EpicorDB */
|
|
>> 622: $EpicorDB = app(EpicorDatabase::class);
|
|
623: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
624: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 629 [match: EPICOR]:
|
|
627:
|
|
628:
|
|
>> 629: $Data = $EpicorDB->getInventoryUnprocessedDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
630:
|
|
631:
|
|
|
|
Line 666 [match: EPICOR]:
|
|
664: public function getUnprocessedRRDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
665: {
|
|
>> 666: /** @var EpicorDatabase $EpicorDB */
|
|
667: $EpicorDB = app(EpicorDatabase::class);
|
|
668: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 667 [match: EPICOR]:
|
|
665: {
|
|
666: /** @var EpicorDatabase $EpicorDB */
|
|
>> 667: $EpicorDB = app(EpicorDatabase::class);
|
|
668: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
669: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 671 [match: EPICOR]:
|
|
669: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
670:
|
|
>> 671: $Data = $EpicorDB->getInventoryUnprocessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
672: return $this->_setupCommonExcel($this->_getUnprocessedRRDetailsMetadata(true, false, false), $Data);
|
|
673: }
|
|
|
|
Line 685 [match: EPICOR]:
|
|
683: ini_set('memory_limit', '2G');
|
|
684:
|
|
>> 685: /** @var EpicorDatabase $EpicorDB */
|
|
686: $EpicorDB = app(EpicorDatabase::class);
|
|
687: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 686 [match: EPICOR]:
|
|
684:
|
|
685: /** @var EpicorDatabase $EpicorDB */
|
|
>> 686: $EpicorDB = app(EpicorDatabase::class);
|
|
687: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
688: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 690 [match: EPICOR]:
|
|
688: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
689:
|
|
>> 690: $Data = $EpicorDB->getInventoryWorkInProgressDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
691:
|
|
692:
|
|
|
|
Line 739 [match: EPICOR]:
|
|
737: ini_set('memory_limit', '2G');
|
|
738:
|
|
>> 739: /** @var EpicorDatabase $EpicorDB */
|
|
740: $EpicorDB = app(EpicorDatabase::class);
|
|
741: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 740 [match: EPICOR]:
|
|
738:
|
|
739: /** @var EpicorDatabase $EpicorDB */
|
|
>> 740: $EpicorDB = app(EpicorDatabase::class);
|
|
741: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
742: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 744 [match: EPICOR]:
|
|
742: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
743:
|
|
>> 744: $Data = $EpicorDB->getInventoryFinishedGoodsDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
745:
|
|
746:
|
|
|
|
Line 793 [match: EPICOR]:
|
|
791: ini_set('memory_limit', '2G');
|
|
792:
|
|
>> 793: /** @var EpicorDatabase $EpicorDB */
|
|
794: $EpicorDB = app(EpicorDatabase::class);
|
|
795: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 794 [match: EPICOR]:
|
|
792:
|
|
793: /** @var EpicorDatabase $EpicorDB */
|
|
>> 794: $EpicorDB = app(EpicorDatabase::class);
|
|
795: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
796: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 798 [match: EPICOR]:
|
|
796: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
797:
|
|
>> 798: $Data = $EpicorDB->getInventoryProcessedOtherDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
799:
|
|
800:
|
|
|
|
Line 845 [match: EPICOR]:
|
|
843: public function getProcessedRRDetailsExcelResponse($Part = null, $Plant = null, $Warehouse = null)
|
|
844: {
|
|
>> 845: /** @var EpicorDatabase $EpicorDB */
|
|
846: $EpicorDB = app(EpicorDatabase::class);
|
|
847: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
|
|
Line 846 [match: EPICOR]:
|
|
844: {
|
|
845: /** @var EpicorDatabase $EpicorDB */
|
|
>> 846: $EpicorDB = app(EpicorDatabase::class);
|
|
847: /** @var SelectedCompanyProvider $SelectedCompanyProvider */
|
|
848: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
|
|
Line 850 [match: EPICOR]:
|
|
848: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
849:
|
|
>> 850: $Data = $EpicorDB->getInventoryProcessedRRDetailsData($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID(), $Part, $Plant, $Warehouse);
|
|
851: return $this->_setupCommonExcel($this->_getProcessedRRDetailsMetadata(true, false, false, true), $Data);
|
|
852: }
|
|
|
|
Line 952 [match: EPICOR]:
|
|
950: }
|
|
951:
|
|
>> 952: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $SourceDisplay . ' ' . date(config('app.date_format'));
|
|
953: }
|
|
954:
|
|
|
|
Line 970 [match: EPICOR]:
|
|
968: $ProcessedRRExcelResponse = $this->getProcessedRRSummaryExcelResponse();
|
|
969:
|
|
>> 970: $cacheKey = 'inv_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
971:
|
|
972: return $this->_getExcelExportContents($cacheKey, $UnprocessedExcelResponse, $UnprocessedRRExcelResponse, $WorkInProgressExcelResponse, $FinishedGoodsExcelResponse, $ProcessedOtherExcelResponse, $ProcessedRRExcelResponse);
|
|
|
|
Line 1003 [match: EPICOR]:
|
|
1001: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1002:
|
|
>> 1003: $cacheKey = 'inv_' . $SelectedCompanyProvider->getSelectedCompanyEpicorCustID() . '_' . uniqid('', true) . '_' . microtime() . '_' . rand();
|
|
1004:
|
|
1005: $UnprocessedGrid = $this->getUnprocessedSummaryGrid(false, false, false, false, true);
|
|
|
|
Line 1128 [match: EPICOR]:
|
|
1126: $comp = app(SelectedCompanyProvider::class);
|
|
1127:
|
|
>> 1128: $customer= $comp->getSelectedCompanyEpicorCustID();
|
|
1129:
|
|
1130:
|
|
|
|
Line 1133 [match: EPICOR]:
|
|
1131:
|
|
1132:
|
|
>> 1133: /** @var EpicorDatabase $EpicorDatabase */
|
|
1134: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1135:
|
|
|
|
Line 1134 [match: EPICOR]:
|
|
1132:
|
|
1133: /** @var EpicorDatabase $EpicorDatabase */
|
|
>> 1134: $EpicorDatabase = app(EpicorDatabase::class);
|
|
1135:
|
|
1136:
|
|
|
|
Line 1138 [match: EPICOR]:
|
|
1136:
|
|
1137:
|
|
>> 1138: return $EpicorDatabase->getJobStatusByPlanByCustomer($customer);
|
|
1139:
|
|
1140: }
|
|
|
|
Line 1245 [match: EPICOR]:
|
|
1243: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
1244:
|
|
>> 1245: $cacheKey = 'inv_detail_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().'_'.uniqid('',true).'_'.microtime().'_'.rand();
|
|
1246:
|
|
1247: $UnprocessedGrid = $this->getUnprocessedDetailsGrid(null, null, null, false, true, false, false);
|
|
|
|
Line 1274 [match: EPICOR]:
|
|
1272: $ProcessedRRExcelResponse = $this->getProcessedRRDetailsExcelResponse();
|
|
1273:
|
|
>> 1274: $cacheKey = 'inv_detail_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID().'_'.uniqid('',true).'_'.microtime().'_'.rand();
|
|
1275:
|
|
1276: return $this->_getExcelExportContents($cacheKey, $UnprocessedExcelResponse, $UnprocessedRRExcelResponse, $WorkInProgressExcelResponse, $FinishedGoodsExcelResponse, $ProcessedOtherExcelResponse, $ProcessedRRExcelResponse);
|
|
|
|
Line 1305 [match: EPICOR]:
|
|
1303: }
|
|
1304:
|
|
>> 1305: public function _setupCommonSummaryGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $GridMenu, $TrackDisplay)
|
|
1306: {
|
|
1307:
|
|
|
|
Line 1335 [match: EPICOR]:
|
|
1333:
|
|
1334: /** @var Grid $Grid */
|
|
>> 1335: $Grid = $GridFactory->create($Metadata, 'inventory_summary_grid_'.$Metadata->getName().($TrackDisplay?'_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID():''));
|
|
1336:
|
|
1337:
|
|
|
|
Line 1403 [match: EPICOR]:
|
|
1401: }
|
|
1402:
|
|
>> 1403: public function _setupCommonDetailsGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $CartOpen=false)
|
|
1404: {
|
|
1405: /** @var GridFactory $GridFactory */
|
|
|
|
Line 1433 [match: EPICOR]:
|
|
1431: elseif(($ShipmentCart->getIsCartOpen() || $CartOpen) && $ShipmentCart->getSelectionCount() && $ShipmentCart->isDetailInCart($DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], (int)$DataRow['OnHandQty']))
|
|
1432: $Data[$i]['ShipmentSelectionField'] = '<img src="'.asset('img/cyclone-purple.png').'" title="In your shipment" style="width:75%;" />'; // This item is already in your current shipment.
|
|
>> 1433: elseif($ROShipmentRequestRepo->doesNonCancelledShipmentExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['VorteqPartNum'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']))
|
|
1434: $Data[$i]['ShipmentSelectionField'] = '<img src="'.asset('img/cyclone-gray.png').'" title="Already part of another shipment" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
1435:
|
|
|
|
Line 1495 [match: EPICOR]:
|
|
1493:
|
|
1494: /**
|
|
>> 1495: * @param EpicorEntityMetadata $Metadata
|
|
1496: * @param array $Data
|
|
1497: * @return Response
|
|
|
|
Line 1499 [match: EPICOR]:
|
|
1497: * @return Response
|
|
1498: */
|
|
>> 1499: public function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
1500: {
|
|
1501: /** @var GridResponseFactory $GridResponseFactory */
|
|
|
|
Line 1591 [match: EPICOR]:
|
|
1589: public function _getUnprocessedSummaryMetadata($IncludeLinks)
|
|
1590: {
|
|
>> 1591: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventorySummary');
|
|
1592: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
1593: return $EntityMetadata;
|
|
|
|
Line 1598 [match: EPICOR]:
|
|
1596: public function _getUnprocessedRRSummaryMetadata($IncludeLinks)
|
|
1597: {
|
|
>> 1598: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventoryRejectsAndReturnsSummary');
|
|
1599: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
1600: return $EntityMetadata;
|
|
|
|
Line 1605 [match: EPICOR]:
|
|
1603: public function _getWorkInProgressSummaryMetadata($IncludeLinks)
|
|
1604: {
|
|
>> 1605: $EntityMetadata = new EpicorEntityMetadata('portal_WorkInProgressInventorySummary');
|
|
1606: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1607:
|
|
|
|
Line 1634 [match: EPICOR]:
|
|
1632: public function _getFinishedGoodsSummaryMetadata($IncludeLinks)
|
|
1633: {
|
|
>> 1634: $EntityMetadata = new EpicorEntityMetadata('portal_FinishedGoodsInventorySummary');
|
|
1635: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1636:
|
|
|
|
Line 1663 [match: EPICOR]:
|
|
1661: public function _getProcessedOtherSummaryMetadata($IncludeLinks)
|
|
1662: {
|
|
>> 1663: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedOtherInventorySummary');
|
|
1664: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1665:
|
|
|
|
Line 1692 [match: EPICOR]:
|
|
1690: public function _getProcessedRRSummaryMetadata($IncludeLinks)
|
|
1691: {
|
|
>> 1692: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedInventoryRejectsAndReturnsSummary');
|
|
1693: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, true);
|
|
1694: return $EntityMetadata;
|
|
|
|
Line 1697 [match: EPICOR]:
|
|
1695: }
|
|
1696:
|
|
>> 1697: public function _appendCommonSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeLinks, $IncludeCustomerPartNum)
|
|
1698: {
|
|
1699: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 1730 [match: EPICOR]:
|
|
1728: }
|
|
1729:
|
|
>> 1730: public function _appendSharedSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, /** @noinspection PhpUnusedParameterInspection */ $IncludeLinks, $IncludeCustomerPartNum)
|
|
1731: {
|
|
1732: /** @var FieldMetadataField $Plant */
|
|
|
|
Line 1782 [match: EPICOR]:
|
|
1780: public function _getUnprocessedDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1781: {
|
|
>> 1782: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventory');
|
|
1783: $this->_appendCommonUnprocessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
1784: return $EntityMetadata;
|
|
|
|
Line 1789 [match: EPICOR]:
|
|
1787: public function _getUnprocessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1788: {
|
|
>> 1789: $EntityMetadata = new EpicorEntityMetadata('portal_UnprocessedInventoryRejectsAndReturns');
|
|
1790: $this->_appendCommonUnprocessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
1791: return $EntityMetadata;
|
|
|
|
Line 1796 [match: EPICOR]:
|
|
1794: public function _getWorkInProgressDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1795: {
|
|
>> 1796: $EntityMetadata = new EpicorEntityMetadata('portal_WorkInProgressInventory');
|
|
1797: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1798: return $EntityMetadata;
|
|
|
|
Line 1803 [match: EPICOR]:
|
|
1801: public function _getFinishedGoodsDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1802: {
|
|
>> 1803: $EntityMetadata = new EpicorEntityMetadata('portal_FinishedGoodsInventory');
|
|
1804: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1805: return $EntityMetadata;
|
|
|
|
Line 1810 [match: EPICOR]:
|
|
1808: public function _getProcessedOtherDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1809: {
|
|
>> 1810: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedOtherInventory');
|
|
1811: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1812: return $EntityMetadata;
|
|
|
|
Line 1817 [match: EPICOR]:
|
|
1815: public function _getProcessedRRDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1816: {
|
|
>> 1817: $EntityMetadata = new EpicorEntityMetadata('portal_ProcessedInventoryRejectsAndReturns');
|
|
1818: $this->_appendCommonProcessedDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob);
|
|
1819: return $EntityMetadata;
|
|
|
|
Line 1822 [match: EPICOR]:
|
|
1820: }
|
|
1821:
|
|
>> 1822: public function _appendCommonUnprocessedDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
1823: {
|
|
1824: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 1926 [match: EPICOR]:
|
|
1924: }
|
|
1925:
|
|
>> 1926: public function _appendCommonProcessedDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo, $MoveAllocationAfterSalesJob)
|
|
1927: {
|
|
1928: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 1974 [match: EPICOR]:
|
|
1972: $GetSession = app(SelectedCompanyProvider::class);
|
|
1973:
|
|
>> 1974: $CustID = $GetSession->getSelectedCompanyEpicorCustID();
|
|
1975:
|
|
1976: /** @var QuestPageValues $QPV */
|
|
|
|
Line 2116 [match: EPICOR]:
|
|
2114: }
|
|
2115:
|
|
>> 2116: public function _appendCommonDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
2117: {
|
|
2118: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 2467 [match: EPICOR]:
|
|
2465:
|
|
2466: $ExcelExporter = new Excel();
|
|
>> 2467: $ExportName = StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()).' Inventory '.$TypeLabel.' '.date(config('app.date_format'));
|
|
2468: return $ExportName.'.'.$ExcelExporter->getFileExtension();
|
|
2469: }
|
|
|
|
Line 2584 [match: EPICOR]:
|
|
2582: $SelectedCompanyProvider = app(SelectedCompanyProvider::class);
|
|
2583:
|
|
>> 2584: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()).' Inventory '.$TypeLabel.' '.date(config('app.date_format')).'.pdf';
|
|
2585: }
|
|
2586:
|
|
|
|
Line 2589 [match: EPICOR]:
|
|
2587: public function _getLotSearchMetadata()
|
|
2588: {
|
|
>> 2589: $EntityMetadata = new EpicorEntityMetadata('portal_LotSearch');
|
|
2590:
|
|
2591: /** guts */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\OrderAcknowledgementEmailsService.php
|
|
================================================================================
|
|
Line 69 [match: epicor]:
|
|
67:
|
|
68: foreach($orders as $i => $orderInfo)
|
|
>> 69: $orders[$i]['PdfString'] = $ackPdfService->getPdfString($company->getEpicorCustID(), null, $orderInfo['OrderNum']);
|
|
70:
|
|
71: if(strlen($companyEmailString))
|
|
|
|
Line 73 [match: epicor]:
|
|
71: if(strlen($companyEmailString))
|
|
72: {
|
|
>> 73: $OrderAcknowledgementNotification = new OrderAcknowledgement($company->getEpicorCustID(), $company->getCalcDisplayName(), $orders);
|
|
74: foreach($CompanyEmails as $CompanyEmail)
|
|
75: Notification::route('mail',$CompanyEmail)->notify($OrderAcknowledgementNotification);
|
|
|
|
Line 99 [match: epicor]:
|
|
97: /** @var quest_ProcessedOrderAcknowledgementEmail $processedOrderAcknowledgementEmailsRepo */
|
|
98: $processedOrderAcknowledgementEmailsRepo = app(quest_ProcessedOrderAcknowledgementEmail::class);
|
|
>> 99: /** @var EpicorDatabase $epicorDatabaseService */
|
|
100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
|
|
Line 100 [match: epicor]:
|
|
98: $processedOrderAcknowledgementEmailsRepo = app(quest_ProcessedOrderAcknowledgementEmail::class);
|
|
99: /** @var EpicorDatabase $epicorDatabaseService */
|
|
>> 100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
102: $mostRecentlyProcessedOrderDateForCustomer = $processedOrderAcknowledgementEmailsRepo->getMostRecentlyProcessedOrderDateForCustomer($company->getEpicorCustID());
|
|
|
|
Line 102 [match: epicor]:
|
|
100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
>> 102: $mostRecentlyProcessedOrderDateForCustomer = $processedOrderAcknowledgementEmailsRepo->getMostRecentlyProcessedOrderDateForCustomer($company->getEpicorCustID());
|
|
103:
|
|
104: if(is_null($mostRecentlyProcessedOrderDateForCustomer)) {
|
|
|
|
Line 110 [match: epicor]:
|
|
108: $dayBefore = date('Y-m-d', strtotime( $mostRecentlyProcessedOrderDateForCustomer . ' -1 day'));
|
|
109:
|
|
>> 110: $sentOrderNumbers = $processedOrderAcknowledgementEmailsRepo->getProcessedOrderNumbersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore);
|
|
111:
|
|
112: return $epicorDatabaseService->getOrdersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore, $sentOrderNumbers);
|
|
|
|
Line 112 [match: epicor]:
|
|
110: $sentOrderNumbers = $processedOrderAcknowledgementEmailsRepo->getProcessedOrderNumbersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore);
|
|
111:
|
|
>> 112: return $epicorDatabaseService->getOrdersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore, $sentOrderNumbers);
|
|
113: }
|
|
114: }
|
|
|
|
Line 69 [match: Epicor]:
|
|
67:
|
|
68: foreach($orders as $i => $orderInfo)
|
|
>> 69: $orders[$i]['PdfString'] = $ackPdfService->getPdfString($company->getEpicorCustID(), null, $orderInfo['OrderNum']);
|
|
70:
|
|
71: if(strlen($companyEmailString))
|
|
|
|
Line 73 [match: Epicor]:
|
|
71: if(strlen($companyEmailString))
|
|
72: {
|
|
>> 73: $OrderAcknowledgementNotification = new OrderAcknowledgement($company->getEpicorCustID(), $company->getCalcDisplayName(), $orders);
|
|
74: foreach($CompanyEmails as $CompanyEmail)
|
|
75: Notification::route('mail',$CompanyEmail)->notify($OrderAcknowledgementNotification);
|
|
|
|
Line 99 [match: Epicor]:
|
|
97: /** @var quest_ProcessedOrderAcknowledgementEmail $processedOrderAcknowledgementEmailsRepo */
|
|
98: $processedOrderAcknowledgementEmailsRepo = app(quest_ProcessedOrderAcknowledgementEmail::class);
|
|
>> 99: /** @var EpicorDatabase $epicorDatabaseService */
|
|
100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
|
|
Line 100 [match: Epicor]:
|
|
98: $processedOrderAcknowledgementEmailsRepo = app(quest_ProcessedOrderAcknowledgementEmail::class);
|
|
99: /** @var EpicorDatabase $epicorDatabaseService */
|
|
>> 100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
102: $mostRecentlyProcessedOrderDateForCustomer = $processedOrderAcknowledgementEmailsRepo->getMostRecentlyProcessedOrderDateForCustomer($company->getEpicorCustID());
|
|
|
|
Line 102 [match: Epicor]:
|
|
100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
>> 102: $mostRecentlyProcessedOrderDateForCustomer = $processedOrderAcknowledgementEmailsRepo->getMostRecentlyProcessedOrderDateForCustomer($company->getEpicorCustID());
|
|
103:
|
|
104: if(is_null($mostRecentlyProcessedOrderDateForCustomer)) {
|
|
|
|
Line 110 [match: Epicor]:
|
|
108: $dayBefore = date('Y-m-d', strtotime( $mostRecentlyProcessedOrderDateForCustomer . ' -1 day'));
|
|
109:
|
|
>> 110: $sentOrderNumbers = $processedOrderAcknowledgementEmailsRepo->getProcessedOrderNumbersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore);
|
|
111:
|
|
112: return $epicorDatabaseService->getOrdersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore, $sentOrderNumbers);
|
|
|
|
Line 112 [match: Epicor]:
|
|
110: $sentOrderNumbers = $processedOrderAcknowledgementEmailsRepo->getProcessedOrderNumbersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore);
|
|
111:
|
|
>> 112: return $epicorDatabaseService->getOrdersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore, $sentOrderNumbers);
|
|
113: }
|
|
114: }
|
|
|
|
Line 69 [match: EPICOR]:
|
|
67:
|
|
68: foreach($orders as $i => $orderInfo)
|
|
>> 69: $orders[$i]['PdfString'] = $ackPdfService->getPdfString($company->getEpicorCustID(), null, $orderInfo['OrderNum']);
|
|
70:
|
|
71: if(strlen($companyEmailString))
|
|
|
|
Line 73 [match: EPICOR]:
|
|
71: if(strlen($companyEmailString))
|
|
72: {
|
|
>> 73: $OrderAcknowledgementNotification = new OrderAcknowledgement($company->getEpicorCustID(), $company->getCalcDisplayName(), $orders);
|
|
74: foreach($CompanyEmails as $CompanyEmail)
|
|
75: Notification::route('mail',$CompanyEmail)->notify($OrderAcknowledgementNotification);
|
|
|
|
Line 99 [match: EPICOR]:
|
|
97: /** @var quest_ProcessedOrderAcknowledgementEmail $processedOrderAcknowledgementEmailsRepo */
|
|
98: $processedOrderAcknowledgementEmailsRepo = app(quest_ProcessedOrderAcknowledgementEmail::class);
|
|
>> 99: /** @var EpicorDatabase $epicorDatabaseService */
|
|
100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
|
|
Line 100 [match: EPICOR]:
|
|
98: $processedOrderAcknowledgementEmailsRepo = app(quest_ProcessedOrderAcknowledgementEmail::class);
|
|
99: /** @var EpicorDatabase $epicorDatabaseService */
|
|
>> 100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
102: $mostRecentlyProcessedOrderDateForCustomer = $processedOrderAcknowledgementEmailsRepo->getMostRecentlyProcessedOrderDateForCustomer($company->getEpicorCustID());
|
|
|
|
Line 102 [match: EPICOR]:
|
|
100: $epicorDatabaseService = app(EpicorDatabase::class);
|
|
101:
|
|
>> 102: $mostRecentlyProcessedOrderDateForCustomer = $processedOrderAcknowledgementEmailsRepo->getMostRecentlyProcessedOrderDateForCustomer($company->getEpicorCustID());
|
|
103:
|
|
104: if(is_null($mostRecentlyProcessedOrderDateForCustomer)) {
|
|
|
|
Line 110 [match: EPICOR]:
|
|
108: $dayBefore = date('Y-m-d', strtotime( $mostRecentlyProcessedOrderDateForCustomer . ' -1 day'));
|
|
109:
|
|
>> 110: $sentOrderNumbers = $processedOrderAcknowledgementEmailsRepo->getProcessedOrderNumbersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore);
|
|
111:
|
|
112: return $epicorDatabaseService->getOrdersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore, $sentOrderNumbers);
|
|
|
|
Line 112 [match: EPICOR]:
|
|
110: $sentOrderNumbers = $processedOrderAcknowledgementEmailsRepo->getProcessedOrderNumbersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore);
|
|
111:
|
|
>> 112: return $epicorDatabaseService->getOrdersForCustomerOnOrAfterDate($company->getEpicorCustID(), $dayBefore, $sentOrderNumbers);
|
|
113: }
|
|
114: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\OrderHelper.php
|
|
================================================================================
|
|
Line 12 [match: epicor]:
|
|
10: use RouteHelper;
|
|
11: use App\Services\CoilAllocation\AllocCart;
|
|
>> 12: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
13: use App\Services\Grid\SummaryMenuTemplate;
|
|
14: use Savvior\Common\KendoHelper;
|
|
|
|
Line 32 [match: epicor]:
|
|
30: public function getCoilAllocationsForOrder($JobNum, $IncludeLinks = true, $GridPaging = true, $GridMenu = true, $TrackDisplay = true)
|
|
31: {
|
|
>> 32: /** @var EpicorDatabase $EpicorDB */
|
|
33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
|
|
Line 33 [match: epicor]:
|
|
31: {
|
|
32: /** @var EpicorDatabase $EpicorDB */
|
|
>> 33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
35: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
|
|
Line 35 [match: epicor]:
|
|
33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
>> 35: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
36:
|
|
37: $Grid = $this->_setupCommonDetailsGrid($this->_getOpenOrderDetailsMetadata(true, $IncludeLinks, true), $Data, $GridPaging);
|
|
|
|
Line 53 [match: epicor]:
|
|
51: public function _getOpenOrderDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
52: {
|
|
>> 53: $EntityMetadata = new EpicorEntityMetadata('portal_OpenOrders');
|
|
54: $this->_appendOpenOrderDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
55: return $EntityMetadata;
|
|
|
|
Line 58 [match: epicor]:
|
|
56: }
|
|
57:
|
|
>> 58: protected function _appendOpenOrderDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
59: {
|
|
60: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 63 [match: epicor]:
|
|
61: }
|
|
62:
|
|
>> 63: protected function _appendCommonDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
64: {
|
|
65: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 244 [match: epicor]:
|
|
242: }
|
|
243:
|
|
>> 244: protected function _appendCommonSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeLinks, $IncludeCustomerPartNum)
|
|
245: {
|
|
246: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 272 [match: epicor]:
|
|
270: }
|
|
271:
|
|
>> 272: protected function _appendSharedSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, /** @noinspection PhpUnusedParameterInspection */ $IncludeLinks, $IncludeCustomerPartNum)
|
|
273: {
|
|
274: /** @var FieldMetadataField $Plant */
|
|
|
|
Line 315 [match: epicor]:
|
|
313: protected function _getJobSummaryMetadata($IncludeLinks)
|
|
314: {
|
|
>> 315: $EntityMetadata = new EpicorEntityMetadata('portal_OpenOrderSummary');
|
|
316: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
317: return $EntityMetadata;
|
|
|
|
Line 320 [match: epicor]:
|
|
318: }
|
|
319:
|
|
>> 320: protected function _setupCommonSummaryGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $GridMenu, $TrackDisplay)
|
|
321: {
|
|
322: /** @var GridFactory $GridFactory */
|
|
|
|
Line 332 [match: epicor]:
|
|
330: $Metadata->getField('Qty on Hand')->setIsFilterableInRecordLists(false);
|
|
331:
|
|
>> 332: $Grid = $GridFactory->create($Metadata, 'order_summary_grid_'.$Metadata->getName().($TrackDisplay?'_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID():''));
|
|
333:
|
|
334: $RecordCount = sizeof($Data);
|
|
|
|
Line 357 [match: epicor]:
|
|
355: }
|
|
356:
|
|
>> 357: public function _setupCommonDetailsGrid(EpicorEntityMetadata $Metadata, array &$Data, $GridPaging)
|
|
358: {
|
|
359: /** @var GridFactory $GridFactory */
|
|
|
|
Line 398 [match: epicor]:
|
|
396: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-purple.png') . '" title="In your allocation" style="width:75%;" />'; // This item is already in your current shipment.
|
|
397: }
|
|
>> 398: elseif ($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']) && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
399: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
400: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
|
|
Line 400 [match: epicor]:
|
|
398: elseif ($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']) && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
399: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 400: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
401: }
|
|
402: elseif ($AllocCart->getIsCartOpen() && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
|
|
Line 410 [match: epicor]:
|
|
408:
|
|
409: elseif($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine(
|
|
>> 410: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
411: $DataRow['Plant'], $DataRow['FinishedPartNumber'],
|
|
412: $DataRow['Warehouse'], $DataRow['LotNum'],
|
|
|
|
Line 415 [match: epicor]:
|
|
413: $DataRow['OnHandQty'])) {
|
|
414: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 415: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
416: # dd($Data[$i]);
|
|
417: } else {
|
|
|
|
Line 422 [match: epicor]:
|
|
420: } else {
|
|
421: if($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine(
|
|
>> 422: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
423: $DataRow['Plant'], $DataRow['FinishedPartNumber'],
|
|
424: $DataRow['Warehouse'], $DataRow['LotNum'],
|
|
|
|
Line 428 [match: epicor]:
|
|
426: {
|
|
427: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 428: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
429: # dd($Data[$i]);
|
|
430: } else {
|
|
|
|
Line 466 [match: epicor]:
|
|
464: public function getCoilAllocationsExcelResponse($JobNum)
|
|
465: {
|
|
>> 466: /** @var EpicorDatabase $EpicorDB */
|
|
467: $EpicorDB = app(EpicorDatabase::class);
|
|
468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
|
|
Line 467 [match: epicor]:
|
|
465: {
|
|
466: /** @var EpicorDatabase $EpicorDB */
|
|
>> 467: $EpicorDB = app(EpicorDatabase::class);
|
|
468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
469: return $this->_setupCommonExcel($this->_getOpenOrderDetailsMetadata(true, false, false), $Data);
|
|
|
|
Line 468 [match: epicor]:
|
|
466: /** @var EpicorDatabase $EpicorDB */
|
|
467: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
469: return $this->_setupCommonExcel($this->_getOpenOrderDetailsMetadata(true, false, false), $Data);
|
|
470: }
|
|
|
|
Line 472 [match: epicor]:
|
|
470: }
|
|
471:
|
|
>> 472: protected function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
473: {
|
|
474: /** @var GridResponseFactory $GridResponseFactory */
|
|
|
|
Line 590 [match: epicor]:
|
|
588: }
|
|
589:
|
|
>> 590: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $SourceDisplay . ' ' . date(config('app.date_format'));
|
|
591: }
|
|
592: }
|
|
|
|
Line 12 [match: Epicor]:
|
|
10: use RouteHelper;
|
|
11: use App\Services\CoilAllocation\AllocCart;
|
|
>> 12: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
13: use App\Services\Grid\SummaryMenuTemplate;
|
|
14: use Savvior\Common\KendoHelper;
|
|
|
|
Line 32 [match: Epicor]:
|
|
30: public function getCoilAllocationsForOrder($JobNum, $IncludeLinks = true, $GridPaging = true, $GridMenu = true, $TrackDisplay = true)
|
|
31: {
|
|
>> 32: /** @var EpicorDatabase $EpicorDB */
|
|
33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
|
|
Line 33 [match: Epicor]:
|
|
31: {
|
|
32: /** @var EpicorDatabase $EpicorDB */
|
|
>> 33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
35: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
|
|
Line 35 [match: Epicor]:
|
|
33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
>> 35: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
36:
|
|
37: $Grid = $this->_setupCommonDetailsGrid($this->_getOpenOrderDetailsMetadata(true, $IncludeLinks, true), $Data, $GridPaging);
|
|
|
|
Line 53 [match: Epicor]:
|
|
51: public function _getOpenOrderDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
52: {
|
|
>> 53: $EntityMetadata = new EpicorEntityMetadata('portal_OpenOrders');
|
|
54: $this->_appendOpenOrderDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
55: return $EntityMetadata;
|
|
|
|
Line 58 [match: Epicor]:
|
|
56: }
|
|
57:
|
|
>> 58: protected function _appendOpenOrderDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
59: {
|
|
60: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 63 [match: Epicor]:
|
|
61: }
|
|
62:
|
|
>> 63: protected function _appendCommonDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
64: {
|
|
65: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 244 [match: Epicor]:
|
|
242: }
|
|
243:
|
|
>> 244: protected function _appendCommonSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeLinks, $IncludeCustomerPartNum)
|
|
245: {
|
|
246: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 272 [match: Epicor]:
|
|
270: }
|
|
271:
|
|
>> 272: protected function _appendSharedSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, /** @noinspection PhpUnusedParameterInspection */ $IncludeLinks, $IncludeCustomerPartNum)
|
|
273: {
|
|
274: /** @var FieldMetadataField $Plant */
|
|
|
|
Line 315 [match: Epicor]:
|
|
313: protected function _getJobSummaryMetadata($IncludeLinks)
|
|
314: {
|
|
>> 315: $EntityMetadata = new EpicorEntityMetadata('portal_OpenOrderSummary');
|
|
316: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
317: return $EntityMetadata;
|
|
|
|
Line 320 [match: Epicor]:
|
|
318: }
|
|
319:
|
|
>> 320: protected function _setupCommonSummaryGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $GridMenu, $TrackDisplay)
|
|
321: {
|
|
322: /** @var GridFactory $GridFactory */
|
|
|
|
Line 332 [match: Epicor]:
|
|
330: $Metadata->getField('Qty on Hand')->setIsFilterableInRecordLists(false);
|
|
331:
|
|
>> 332: $Grid = $GridFactory->create($Metadata, 'order_summary_grid_'.$Metadata->getName().($TrackDisplay?'_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID():''));
|
|
333:
|
|
334: $RecordCount = sizeof($Data);
|
|
|
|
Line 357 [match: Epicor]:
|
|
355: }
|
|
356:
|
|
>> 357: public function _setupCommonDetailsGrid(EpicorEntityMetadata $Metadata, array &$Data, $GridPaging)
|
|
358: {
|
|
359: /** @var GridFactory $GridFactory */
|
|
|
|
Line 398 [match: Epicor]:
|
|
396: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-purple.png') . '" title="In your allocation" style="width:75%;" />'; // This item is already in your current shipment.
|
|
397: }
|
|
>> 398: elseif ($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']) && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
399: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
400: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
|
|
Line 400 [match: Epicor]:
|
|
398: elseif ($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']) && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
399: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 400: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
401: }
|
|
402: elseif ($AllocCart->getIsCartOpen() && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
|
|
Line 410 [match: Epicor]:
|
|
408:
|
|
409: elseif($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine(
|
|
>> 410: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
411: $DataRow['Plant'], $DataRow['FinishedPartNumber'],
|
|
412: $DataRow['Warehouse'], $DataRow['LotNum'],
|
|
|
|
Line 415 [match: Epicor]:
|
|
413: $DataRow['OnHandQty'])) {
|
|
414: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 415: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
416: # dd($Data[$i]);
|
|
417: } else {
|
|
|
|
Line 422 [match: Epicor]:
|
|
420: } else {
|
|
421: if($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine(
|
|
>> 422: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
423: $DataRow['Plant'], $DataRow['FinishedPartNumber'],
|
|
424: $DataRow['Warehouse'], $DataRow['LotNum'],
|
|
|
|
Line 428 [match: Epicor]:
|
|
426: {
|
|
427: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 428: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
429: # dd($Data[$i]);
|
|
430: } else {
|
|
|
|
Line 466 [match: Epicor]:
|
|
464: public function getCoilAllocationsExcelResponse($JobNum)
|
|
465: {
|
|
>> 466: /** @var EpicorDatabase $EpicorDB */
|
|
467: $EpicorDB = app(EpicorDatabase::class);
|
|
468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
|
|
Line 467 [match: Epicor]:
|
|
465: {
|
|
466: /** @var EpicorDatabase $EpicorDB */
|
|
>> 467: $EpicorDB = app(EpicorDatabase::class);
|
|
468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
469: return $this->_setupCommonExcel($this->_getOpenOrderDetailsMetadata(true, false, false), $Data);
|
|
|
|
Line 468 [match: Epicor]:
|
|
466: /** @var EpicorDatabase $EpicorDB */
|
|
467: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
469: return $this->_setupCommonExcel($this->_getOpenOrderDetailsMetadata(true, false, false), $Data);
|
|
470: }
|
|
|
|
Line 472 [match: Epicor]:
|
|
470: }
|
|
471:
|
|
>> 472: protected function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
473: {
|
|
474: /** @var GridResponseFactory $GridResponseFactory */
|
|
|
|
Line 590 [match: Epicor]:
|
|
588: }
|
|
589:
|
|
>> 590: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $SourceDisplay . ' ' . date(config('app.date_format'));
|
|
591: }
|
|
592: }
|
|
|
|
Line 12 [match: EPICOR]:
|
|
10: use RouteHelper;
|
|
11: use App\Services\CoilAllocation\AllocCart;
|
|
>> 12: use App\Services\EpicorMetadata\EntityMetadata as EpicorEntityMetadata;
|
|
13: use App\Services\Grid\SummaryMenuTemplate;
|
|
14: use Savvior\Common\KendoHelper;
|
|
|
|
Line 32 [match: EPICOR]:
|
|
30: public function getCoilAllocationsForOrder($JobNum, $IncludeLinks = true, $GridPaging = true, $GridMenu = true, $TrackDisplay = true)
|
|
31: {
|
|
>> 32: /** @var EpicorDatabase $EpicorDB */
|
|
33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
|
|
Line 33 [match: EPICOR]:
|
|
31: {
|
|
32: /** @var EpicorDatabase $EpicorDB */
|
|
>> 33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
35: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
|
|
Line 35 [match: EPICOR]:
|
|
33: $EpicorDB = app(EpicorDatabase::class);
|
|
34:
|
|
>> 35: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
36:
|
|
37: $Grid = $this->_setupCommonDetailsGrid($this->_getOpenOrderDetailsMetadata(true, $IncludeLinks, true), $Data, $GridPaging);
|
|
|
|
Line 53 [match: EPICOR]:
|
|
51: public function _getOpenOrderDetailsMetadata($IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
52: {
|
|
>> 53: $EntityMetadata = new EpicorEntityMetadata('portal_OpenOrders');
|
|
54: $this->_appendOpenOrderDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
55: return $EntityMetadata;
|
|
|
|
Line 58 [match: EPICOR]:
|
|
56: }
|
|
57:
|
|
>> 58: protected function _appendOpenOrderDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
59: {
|
|
60: $this->_appendCommonDetailsMetadataElements($EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo);
|
|
|
|
Line 63 [match: EPICOR]:
|
|
61: }
|
|
62:
|
|
>> 63: protected function _appendCommonDetailsMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeSharedSummaryFields, $IncludeLinks, $IncludeShipmentReleaseInfo)
|
|
64: {
|
|
65: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 244 [match: EPICOR]:
|
|
242: }
|
|
243:
|
|
>> 244: protected function _appendCommonSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, $IncludeLinks, $IncludeCustomerPartNum)
|
|
245: {
|
|
246: /** @var FieldMetadataField $PhonyID */
|
|
|
|
Line 272 [match: EPICOR]:
|
|
270: }
|
|
271:
|
|
>> 272: protected function _appendSharedSummaryMetadataElements(EpicorEntityMetadata $EntityMetadata, /** @noinspection PhpUnusedParameterInspection */ $IncludeLinks, $IncludeCustomerPartNum)
|
|
273: {
|
|
274: /** @var FieldMetadataField $Plant */
|
|
|
|
Line 315 [match: EPICOR]:
|
|
313: protected function _getJobSummaryMetadata($IncludeLinks)
|
|
314: {
|
|
>> 315: $EntityMetadata = new EpicorEntityMetadata('portal_OpenOrderSummary');
|
|
316: $this->_appendCommonSummaryMetadataElements($EntityMetadata, $IncludeLinks, false);
|
|
317: return $EntityMetadata;
|
|
|
|
Line 320 [match: EPICOR]:
|
|
318: }
|
|
319:
|
|
>> 320: protected function _setupCommonSummaryGrid(EpicorEntityMetadata $Metadata, array $Data, $GridPaging, $GridMenu, $TrackDisplay)
|
|
321: {
|
|
322: /** @var GridFactory $GridFactory */
|
|
|
|
Line 332 [match: EPICOR]:
|
|
330: $Metadata->getField('Qty on Hand')->setIsFilterableInRecordLists(false);
|
|
331:
|
|
>> 332: $Grid = $GridFactory->create($Metadata, 'order_summary_grid_'.$Metadata->getName().($TrackDisplay?'_'.$SelectedCompanyProvider->getSelectedCompanyEpicorCustID():''));
|
|
333:
|
|
334: $RecordCount = sizeof($Data);
|
|
|
|
Line 357 [match: EPICOR]:
|
|
355: }
|
|
356:
|
|
>> 357: public function _setupCommonDetailsGrid(EpicorEntityMetadata $Metadata, array &$Data, $GridPaging)
|
|
358: {
|
|
359: /** @var GridFactory $GridFactory */
|
|
|
|
Line 398 [match: EPICOR]:
|
|
396: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-purple.png') . '" title="In your allocation" style="width:75%;" />'; // This item is already in your current shipment.
|
|
397: }
|
|
>> 398: elseif ($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']) && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
399: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
400: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
|
|
Line 400 [match: EPICOR]:
|
|
398: elseif ($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']) && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
399: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 400: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
401: }
|
|
402: elseif ($AllocCart->getIsCartOpen() && $AllocCart->getCartJobNum() === base64_decode(request()->route()->parameter('job_num'))) {
|
|
|
|
Line 410 [match: EPICOR]:
|
|
408:
|
|
409: elseif($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine(
|
|
>> 410: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
411: $DataRow['Plant'], $DataRow['FinishedPartNumber'],
|
|
412: $DataRow['Warehouse'], $DataRow['LotNum'],
|
|
|
|
Line 415 [match: EPICOR]:
|
|
413: $DataRow['OnHandQty'])) {
|
|
414: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 415: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
416: # dd($Data[$i]);
|
|
417: } else {
|
|
|
|
Line 422 [match: EPICOR]:
|
|
420: } else {
|
|
421: if($ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine(
|
|
>> 422: $SelectedCompanyProvider->getSelectedCompanyEpicorCustID(),
|
|
423: $DataRow['Plant'], $DataRow['FinishedPartNumber'],
|
|
424: $DataRow['Warehouse'], $DataRow['LotNum'],
|
|
|
|
Line 428 [match: EPICOR]:
|
|
426: {
|
|
427: $Data[$i]['AllocationSelectionField'] = '<img src="' . asset('img/vorteq-q-mark-gray.png') . '" title="Already part of another allocation" style="width:75%;" />'; // alt: This item is already in another shipment release.
|
|
>> 428: $Data[$i]['alloc_Request_ID'] = (String) $ROShipmentRequestRepo->doesNonCancelledAllocationExistForCompanyWithPlantAndDetailLine($SelectedCompanyProvider->getSelectedCompanyEpicorCustID(), $DataRow['Plant'], $DataRow['FinishedPartNumber'], $DataRow['Warehouse'], $DataRow['LotNum'], $DataRow['OnHandQty']);
|
|
429: # dd($Data[$i]);
|
|
430: } else {
|
|
|
|
Line 466 [match: EPICOR]:
|
|
464: public function getCoilAllocationsExcelResponse($JobNum)
|
|
465: {
|
|
>> 466: /** @var EpicorDatabase $EpicorDB */
|
|
467: $EpicorDB = app(EpicorDatabase::class);
|
|
468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
|
|
Line 467 [match: EPICOR]:
|
|
465: {
|
|
466: /** @var EpicorDatabase $EpicorDB */
|
|
>> 467: $EpicorDB = app(EpicorDatabase::class);
|
|
468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
469: return $this->_setupCommonExcel($this->_getOpenOrderDetailsMetadata(true, false, false), $Data);
|
|
|
|
Line 468 [match: EPICOR]:
|
|
466: /** @var EpicorDatabase $EpicorDB */
|
|
467: $EpicorDB = app(EpicorDatabase::class);
|
|
>> 468: $Data = $EpicorDB->getCoilAllocationsByJobNumber($JobNum);
|
|
469: return $this->_setupCommonExcel($this->_getOpenOrderDetailsMetadata(true, false, false), $Data);
|
|
470: }
|
|
|
|
Line 472 [match: EPICOR]:
|
|
470: }
|
|
471:
|
|
>> 472: protected function _setupCommonExcel(EpicorEntityMetadata $Metadata, array $Data)
|
|
473: {
|
|
474: /** @var GridResponseFactory $GridResponseFactory */
|
|
|
|
Line 590 [match: EPICOR]:
|
|
588: }
|
|
589:
|
|
>> 590: return StringHelper::stripNonAlpha($SelectedCompanyProvider->getSelectedCompany()->getEpicorCustID()) . ' - ' . $SourceDisplay . ' ' . date(config('app.date_format'));
|
|
591: }
|
|
592: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\PackingSlipHelper.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: $UsersToNotify = "
|
|
>> 18: SELECT * FROM auth_User WHERE ID IN (
|
|
19: SELECT
|
|
20: auth_User_ID
|
|
|
|
Line 21 [match: FROM ]:
|
|
19: SELECT
|
|
20: auth_User_ID
|
|
>> 21: FROM quest_User
|
|
22: WHERE ID IN (
|
|
23: SELECT
|
|
|
|
Line 25 [match: FROM ]:
|
|
23: SELECT
|
|
24: quest_User_ID
|
|
>> 25: FROM quest_UserEmailEvent
|
|
26: WHERE quest_EmailEvent_ID IN (
|
|
27: SELECT
|
|
|
|
Line 29 [match: FROM ]:
|
|
27: SELECT
|
|
28: ID
|
|
>> 29: FROM quest_EmailEvent
|
|
30: WHERE CodingKey = 'PACKING_SLIP_UPLOADED'
|
|
31: )
|
|
|
|
Line 36 [match: FROM ]:
|
|
34: SELECT
|
|
35: quest_User_ID
|
|
>> 36: FROM quest_UserPlant
|
|
37: WHERE paint_Plant_ID IN (
|
|
38: SELECT
|
|
|
|
Line 40 [match: FROM ]:
|
|
38: SELECT
|
|
39: ID
|
|
>> 40: FROM paint_Plant
|
|
41: WHERE EpicorKey = '" . $EpicorPlantID . "'
|
|
42: )
|
|
|
|
Line 18 [match: SELECT ]:
|
|
16:
|
|
17: $UsersToNotify = "
|
|
>> 18: SELECT * FROM auth_User WHERE ID IN (
|
|
19: SELECT
|
|
20: auth_User_ID
|
|
|
|
Line 12 [match: epicor]:
|
|
10: class PackingSlipHelper
|
|
11: {
|
|
>> 12: public function getUsersForUploadNotify($EpicorPlantID)
|
|
13: {
|
|
14: /** @var EMContainer $EMs */
|
|
|
|
Line 41 [match: epicor]:
|
|
39: ID
|
|
40: FROM paint_Plant
|
|
>> 41: WHERE EpicorKey = '" . $EpicorPlantID . "'
|
|
42: )
|
|
43: )
|
|
|
|
Line 62 [match: epicor]:
|
|
60: return ob_get_clean();
|
|
61: }
|
|
>> 62: public function notifyUsersOfUpload($EpicorPlantID, $File)
|
|
63: {
|
|
64: foreach($this->getUsersForUploadNotify($EpicorPlantID) as $User)
|
|
|
|
Line 64 [match: epicor]:
|
|
62: public function notifyUsersOfUpload($EpicorPlantID, $File)
|
|
63: {
|
|
>> 64: foreach($this->getUsersForUploadNotify($EpicorPlantID) as $User)
|
|
65: {
|
|
66: \Log::debug("Mail packing slip ".$User['Email']);
|
|
|
|
Line 12 [match: Epicor]:
|
|
10: class PackingSlipHelper
|
|
11: {
|
|
>> 12: public function getUsersForUploadNotify($EpicorPlantID)
|
|
13: {
|
|
14: /** @var EMContainer $EMs */
|
|
|
|
Line 41 [match: Epicor]:
|
|
39: ID
|
|
40: FROM paint_Plant
|
|
>> 41: WHERE EpicorKey = '" . $EpicorPlantID . "'
|
|
42: )
|
|
43: )
|
|
|
|
Line 62 [match: Epicor]:
|
|
60: return ob_get_clean();
|
|
61: }
|
|
>> 62: public function notifyUsersOfUpload($EpicorPlantID, $File)
|
|
63: {
|
|
64: foreach($this->getUsersForUploadNotify($EpicorPlantID) as $User)
|
|
|
|
Line 64 [match: Epicor]:
|
|
62: public function notifyUsersOfUpload($EpicorPlantID, $File)
|
|
63: {
|
|
>> 64: foreach($this->getUsersForUploadNotify($EpicorPlantID) as $User)
|
|
65: {
|
|
66: \Log::debug("Mail packing slip ".$User['Email']);
|
|
|
|
Line 12 [match: EPICOR]:
|
|
10: class PackingSlipHelper
|
|
11: {
|
|
>> 12: public function getUsersForUploadNotify($EpicorPlantID)
|
|
13: {
|
|
14: /** @var EMContainer $EMs */
|
|
|
|
Line 41 [match: EPICOR]:
|
|
39: ID
|
|
40: FROM paint_Plant
|
|
>> 41: WHERE EpicorKey = '" . $EpicorPlantID . "'
|
|
42: )
|
|
43: )
|
|
|
|
Line 62 [match: EPICOR]:
|
|
60: return ob_get_clean();
|
|
61: }
|
|
>> 62: public function notifyUsersOfUpload($EpicorPlantID, $File)
|
|
63: {
|
|
64: foreach($this->getUsersForUploadNotify($EpicorPlantID) as $User)
|
|
|
|
Line 64 [match: EPICOR]:
|
|
62: public function notifyUsersOfUpload($EpicorPlantID, $File)
|
|
63: {
|
|
>> 64: foreach($this->getUsersForUploadNotify($EpicorPlantID) as $User)
|
|
65: {
|
|
66: \Log::debug("Mail packing slip ".$User['Email']);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\PaintScheduleService.php
|
|
================================================================================
|
|
Line 44 [match: epicor]:
|
|
42: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
43: foreach ($user->getPaintPlant() AS $PaintPlant)
|
|
>> 44: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
45:
|
|
46:
|
|
|
|
Line 54 [match: epicor]:
|
|
52: /** @var \App\Model\Entities\paint_PlantLine $PaintLine */
|
|
53: foreach ($PaintPlant->getPaintPlantLine() AS $PaintLine)
|
|
>> 54: $Lines[$PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey(), 'name' => $PaintLine->getPaintLine()->getName(), 'category' => $PaintLine->getPaintLine()->getPaintLineType()->getType()];
|
|
55:
|
|
56: array_multisort(array_map(function($element) {
|
|
|
|
Line 60 [match: epicor]:
|
|
58: }, $Lines), SORT_ASC, $Lines);
|
|
59:
|
|
>> 60: $plants[$PaintPlant->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey(), 'offset' => $PaintPlant->getTimeZoneModifier(), 'can_edit' => isset($PlantEditAccess[$PaintPlant->getEpicorKey()]), 'name' => $PaintPlant->getName(), 'lines' => $Lines];
|
|
61: }
|
|
62:
|
|
|
|
Line 67 [match: epicor]:
|
|
65: /** @var paint_PlantLine $PaintPlantLine */
|
|
66: foreach($user->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 67: $plants[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = ["can_edit" => true];
|
|
68:
|
|
69:
|
|
|
|
Line 92 [match: epicor]:
|
|
90: $allowedPlantLines = [];
|
|
91: foreach($assignedPlantLines as $paint_PlantLine)
|
|
>> 92: array_push($allowedPlantLines, $paint_PlantLine->getPaintPlant()->getEpicorKey() . '-' . $paint_PlantLine->getPaintLine()->getEpicorKey());
|
|
93:
|
|
94: // Loop through the generated IDs and see
|
|
|
|
Line 121 [match: epicor]:
|
|
119: {
|
|
120: /** @var \App\Model\Entities\paint_Plant $Plant */
|
|
>> 121: $Plant = $ROPaintPlantRepo->findOneBy(['EpicorKey' => explode('-', $lineID)[0]]);
|
|
122: $tableRows = $ROPaintScheduleRepo->getPaintSchedule($lineID);
|
|
123: $startTime = null;
|
|
|
|
Line 44 [match: Epicor]:
|
|
42: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
43: foreach ($user->getPaintPlant() AS $PaintPlant)
|
|
>> 44: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
45:
|
|
46:
|
|
|
|
Line 54 [match: Epicor]:
|
|
52: /** @var \App\Model\Entities\paint_PlantLine $PaintLine */
|
|
53: foreach ($PaintPlant->getPaintPlantLine() AS $PaintLine)
|
|
>> 54: $Lines[$PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey(), 'name' => $PaintLine->getPaintLine()->getName(), 'category' => $PaintLine->getPaintLine()->getPaintLineType()->getType()];
|
|
55:
|
|
56: array_multisort(array_map(function($element) {
|
|
|
|
Line 60 [match: Epicor]:
|
|
58: }, $Lines), SORT_ASC, $Lines);
|
|
59:
|
|
>> 60: $plants[$PaintPlant->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey(), 'offset' => $PaintPlant->getTimeZoneModifier(), 'can_edit' => isset($PlantEditAccess[$PaintPlant->getEpicorKey()]), 'name' => $PaintPlant->getName(), 'lines' => $Lines];
|
|
61: }
|
|
62:
|
|
|
|
Line 67 [match: Epicor]:
|
|
65: /** @var paint_PlantLine $PaintPlantLine */
|
|
66: foreach($user->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 67: $plants[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = ["can_edit" => true];
|
|
68:
|
|
69:
|
|
|
|
Line 92 [match: Epicor]:
|
|
90: $allowedPlantLines = [];
|
|
91: foreach($assignedPlantLines as $paint_PlantLine)
|
|
>> 92: array_push($allowedPlantLines, $paint_PlantLine->getPaintPlant()->getEpicorKey() . '-' . $paint_PlantLine->getPaintLine()->getEpicorKey());
|
|
93:
|
|
94: // Loop through the generated IDs and see
|
|
|
|
Line 121 [match: Epicor]:
|
|
119: {
|
|
120: /** @var \App\Model\Entities\paint_Plant $Plant */
|
|
>> 121: $Plant = $ROPaintPlantRepo->findOneBy(['EpicorKey' => explode('-', $lineID)[0]]);
|
|
122: $tableRows = $ROPaintScheduleRepo->getPaintSchedule($lineID);
|
|
123: $startTime = null;
|
|
|
|
Line 44 [match: EPICOR]:
|
|
42: /** @var \App\Model\Entities\paint_Plant $PaintPlant */
|
|
43: foreach ($user->getPaintPlant() AS $PaintPlant)
|
|
>> 44: $PlantEditAccess[$PaintPlant->getEpicorKey()] = $PaintPlant->getEpicorKey();
|
|
45:
|
|
46:
|
|
|
|
Line 54 [match: EPICOR]:
|
|
52: /** @var \App\Model\Entities\paint_PlantLine $PaintLine */
|
|
53: foreach ($PaintPlant->getPaintPlantLine() AS $PaintLine)
|
|
>> 54: $Lines[$PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey() . '-' . $PaintLine->getPaintLine()->getEpicorKey(), 'name' => $PaintLine->getPaintLine()->getName(), 'category' => $PaintLine->getPaintLine()->getPaintLineType()->getType()];
|
|
55:
|
|
56: array_multisort(array_map(function($element) {
|
|
|
|
Line 60 [match: EPICOR]:
|
|
58: }, $Lines), SORT_ASC, $Lines);
|
|
59:
|
|
>> 60: $plants[$PaintPlant->getEpicorKey()] = ['id' => $PaintPlant->getEpicorKey(), 'offset' => $PaintPlant->getTimeZoneModifier(), 'can_edit' => isset($PlantEditAccess[$PaintPlant->getEpicorKey()]), 'name' => $PaintPlant->getName(), 'lines' => $Lines];
|
|
61: }
|
|
62:
|
|
|
|
Line 67 [match: EPICOR]:
|
|
65: /** @var paint_PlantLine $PaintPlantLine */
|
|
66: foreach($user->getPaintPlantLine() AS $PaintPlantLine)
|
|
>> 67: $plants[$PaintPlantLine->getPaintPlant()->getEpicorKey()."-".$PaintPlantLine->getPaintLine()->getEpicorKey()] = ["can_edit" => true];
|
|
68:
|
|
69:
|
|
|
|
Line 92 [match: EPICOR]:
|
|
90: $allowedPlantLines = [];
|
|
91: foreach($assignedPlantLines as $paint_PlantLine)
|
|
>> 92: array_push($allowedPlantLines, $paint_PlantLine->getPaintPlant()->getEpicorKey() . '-' . $paint_PlantLine->getPaintLine()->getEpicorKey());
|
|
93:
|
|
94: // Loop through the generated IDs and see
|
|
|
|
Line 121 [match: EPICOR]:
|
|
119: {
|
|
120: /** @var \App\Model\Entities\paint_Plant $Plant */
|
|
>> 121: $Plant = $ROPaintPlantRepo->findOneBy(['EpicorKey' => explode('-', $lineID)[0]]);
|
|
122: $tableRows = $ROPaintScheduleRepo->getPaintSchedule($lineID);
|
|
123: $startTime = null;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\PDFHelper.php
|
|
================================================================================
|
|
Line 123 [match: FROM ]:
|
|
121:
|
|
122:
|
|
>> 123: /*** get all rows from the table ***/
|
|
124: $table = $tables->item(0);
|
|
125: /*** loop over the table rows ***/
|
|
|
|
Line 146 [match: FROM ]:
|
|
144:
|
|
145: foreach($table->getElementsByTagName('tr') as $row) {
|
|
>> 146: // initialize array to store the cell data from each row
|
|
147: $flight = array();
|
|
148: foreach($row->getElementsByTagName('td') as $cell) {
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\ProvidesActiveUserCompanies.php
|
|
================================================================================
|
|
Line 13 [match: epicor]:
|
|
11: * @return quest_Company[]
|
|
12: */
|
|
>> 13: protected function _getActiveUserCompaniesByEpicorCustID(quest_User $QuestUser)
|
|
14: {
|
|
15: /** @var UserPermissionChecker $UserPermissionChecker */
|
|
|
|
Line 22 [match: epicor]:
|
|
20: if($UserPermissionChecker->checkPermissions('CAN_ACCESS_ALL_ACTIVE_COMPANIES', UserPermissionChecker::TYPE_ALL, $QuestUser->getAuthUser()->getID()))
|
|
21: {
|
|
>> 22: return $ActiveCompanyManager->getAllActiveCompaniesByEpicorCustID();
|
|
23: }
|
|
24: else
|
|
|
|
Line 26 [match: epicor]:
|
|
24: else
|
|
25: {
|
|
>> 26: $DirectAssignedEpicorCustIDs = [];
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
|
|
Line 28 [match: epicor]:
|
|
26: $DirectAssignedEpicorCustIDs = [];
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
>> 28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
29: return $ActiveCompanyManager->getActiveCompaniesByEpicorCustIDs($DirectAssignedEpicorCustIDs);
|
|
30: }
|
|
|
|
Line 29 [match: epicor]:
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
>> 29: return $ActiveCompanyManager->getActiveCompaniesByEpicorCustIDs($DirectAssignedEpicorCustIDs);
|
|
30: }
|
|
31: }
|
|
|
|
Line 13 [match: Epicor]:
|
|
11: * @return quest_Company[]
|
|
12: */
|
|
>> 13: protected function _getActiveUserCompaniesByEpicorCustID(quest_User $QuestUser)
|
|
14: {
|
|
15: /** @var UserPermissionChecker $UserPermissionChecker */
|
|
|
|
Line 22 [match: Epicor]:
|
|
20: if($UserPermissionChecker->checkPermissions('CAN_ACCESS_ALL_ACTIVE_COMPANIES', UserPermissionChecker::TYPE_ALL, $QuestUser->getAuthUser()->getID()))
|
|
21: {
|
|
>> 22: return $ActiveCompanyManager->getAllActiveCompaniesByEpicorCustID();
|
|
23: }
|
|
24: else
|
|
|
|
Line 26 [match: Epicor]:
|
|
24: else
|
|
25: {
|
|
>> 26: $DirectAssignedEpicorCustIDs = [];
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
|
|
Line 28 [match: Epicor]:
|
|
26: $DirectAssignedEpicorCustIDs = [];
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
>> 28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
29: return $ActiveCompanyManager->getActiveCompaniesByEpicorCustIDs($DirectAssignedEpicorCustIDs);
|
|
30: }
|
|
|
|
Line 29 [match: Epicor]:
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
>> 29: return $ActiveCompanyManager->getActiveCompaniesByEpicorCustIDs($DirectAssignedEpicorCustIDs);
|
|
30: }
|
|
31: }
|
|
|
|
Line 13 [match: EPICOR]:
|
|
11: * @return quest_Company[]
|
|
12: */
|
|
>> 13: protected function _getActiveUserCompaniesByEpicorCustID(quest_User $QuestUser)
|
|
14: {
|
|
15: /** @var UserPermissionChecker $UserPermissionChecker */
|
|
|
|
Line 22 [match: EPICOR]:
|
|
20: if($UserPermissionChecker->checkPermissions('CAN_ACCESS_ALL_ACTIVE_COMPANIES', UserPermissionChecker::TYPE_ALL, $QuestUser->getAuthUser()->getID()))
|
|
21: {
|
|
>> 22: return $ActiveCompanyManager->getAllActiveCompaniesByEpicorCustID();
|
|
23: }
|
|
24: else
|
|
|
|
Line 26 [match: EPICOR]:
|
|
24: else
|
|
25: {
|
|
>> 26: $DirectAssignedEpicorCustIDs = [];
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
|
|
Line 28 [match: EPICOR]:
|
|
26: $DirectAssignedEpicorCustIDs = [];
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
>> 28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
29: return $ActiveCompanyManager->getActiveCompaniesByEpicorCustIDs($DirectAssignedEpicorCustIDs);
|
|
30: }
|
|
|
|
Line 29 [match: EPICOR]:
|
|
27: foreach($QuestUser->getQuestCompany() as $Company)
|
|
28: array_push($DirectAssignedEpicorCustIDs, $Company->getEpicorCustID());
|
|
>> 29: return $ActiveCompanyManager->getActiveCompaniesByEpicorCustIDs($DirectAssignedEpicorCustIDs);
|
|
30: }
|
|
31: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\QuestInventoryService.php
|
|
================================================================================
|
|
Line 59 [match: ->query(]:
|
|
57: $route = Route::current();
|
|
58: $parameters = $route->parameters();
|
|
>> 59: $query = $this->request->query();
|
|
60:
|
|
61: $lastVisitedDetailsPage = [
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\QuestPageValues.php
|
|
================================================================================
|
|
Line 15 [match: epicor]:
|
|
13: private $questUser = null;
|
|
14: /** @var quest_Company[] */
|
|
>> 15: private $questUserCompanyByEpicorCustID = [];
|
|
16: private $questUserCompanyCustIDsWithInvoicingAccess = [];
|
|
17:
|
|
|
|
Line 36 [match: epicor]:
|
|
34:
|
|
35:
|
|
>> 36: $this->questUserCompanyByEpicorCustID = [];
|
|
37: if (!is_null($this->questUser)) {
|
|
38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
|
|
Line 38 [match: epicor]:
|
|
36: $this->questUserCompanyByEpicorCustID = [];
|
|
37: if (!is_null($this->questUser)) {
|
|
>> 38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
39: $this->questUserCompanyCustIDsWithInvoicingAccess = array_keys(array_filter($this->questUserCompanyByEpicorCustID, function (quest_Company $val) {
|
|
40: return $val->getCanAccessInvoices();
|
|
|
|
Line 39 [match: epicor]:
|
|
37: if (!is_null($this->questUser)) {
|
|
38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
>> 39: $this->questUserCompanyCustIDsWithInvoicingAccess = array_keys(array_filter($this->questUserCompanyByEpicorCustID, function (quest_Company $val) {
|
|
40: return $val->getCanAccessInvoices();
|
|
41: }));
|
|
|
|
Line 80 [match: epicor]:
|
|
78: $scp = app(SelectedCompanyProvider::class);
|
|
79:
|
|
>> 80: $company = $scp->getSelectedCompanyEpicorCustID();
|
|
81: if (strtoupper($company) !='MWM')
|
|
82: return 0;
|
|
|
|
Line 100 [match: epicor]:
|
|
98: $this->_init();
|
|
99:
|
|
>> 100: return !sizeof($this->getActiveCompanyEpicorCustIDs());
|
|
101: }
|
|
102:
|
|
|
|
Line 110 [match: epicor]:
|
|
108: $this->_init();
|
|
109:
|
|
>> 110: return (sizeof($this->getActiveCompanyEpicorCustIDs()) === 1);
|
|
111: }
|
|
112:
|
|
|
|
Line 116 [match: epicor]:
|
|
114: * @return string[]
|
|
115: */
|
|
>> 116: public function getActiveCompanyEpicorCustIDs()
|
|
117: {
|
|
118: $this->_init();
|
|
|
|
Line 120 [match: epicor]:
|
|
118: $this->_init();
|
|
119:
|
|
>> 120: return array_keys($this->questUserCompanyByEpicorCustID);
|
|
121: }
|
|
122:
|
|
|
|
Line 126 [match: epicor]:
|
|
124: * @return string[]
|
|
125: */
|
|
>> 126: public function getActiveCompanyEpicorCustIDsWithInvoicingAccess()
|
|
127: {
|
|
128: $this->_init();
|
|
|
|
Line 134 [match: epicor]:
|
|
132:
|
|
133: /**
|
|
>> 134: * @param string $EpicorCustID
|
|
135: * @return quest_Company|null
|
|
136: */
|
|
|
|
Line 137 [match: epicor]:
|
|
135: * @return quest_Company|null
|
|
136: */
|
|
>> 137: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
138: {
|
|
139: $this->_init();
|
|
|
|
Line 141 [match: epicor]:
|
|
139: $this->_init();
|
|
140:
|
|
>> 141: return (isset($this->questUserCompanyByEpicorCustID[$EpicorCustID]) ? $this->questUserCompanyByEpicorCustID[$EpicorCustID] : null);
|
|
142: }
|
|
143:
|
|
|
|
Line 147 [match: epicor]:
|
|
145: * @return quest_Company[]
|
|
146: */
|
|
>> 147: public function getAllActiveCompaniesByEpicorCustID()
|
|
148: {
|
|
149: $this->_init();
|
|
|
|
Line 151 [match: epicor]:
|
|
149: $this->_init();
|
|
150:
|
|
>> 151: return $this->questUserCompanyByEpicorCustID;
|
|
152: }
|
|
153: }
|
|
|
|
Line 15 [match: Epicor]:
|
|
13: private $questUser = null;
|
|
14: /** @var quest_Company[] */
|
|
>> 15: private $questUserCompanyByEpicorCustID = [];
|
|
16: private $questUserCompanyCustIDsWithInvoicingAccess = [];
|
|
17:
|
|
|
|
Line 36 [match: Epicor]:
|
|
34:
|
|
35:
|
|
>> 36: $this->questUserCompanyByEpicorCustID = [];
|
|
37: if (!is_null($this->questUser)) {
|
|
38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
|
|
Line 38 [match: Epicor]:
|
|
36: $this->questUserCompanyByEpicorCustID = [];
|
|
37: if (!is_null($this->questUser)) {
|
|
>> 38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
39: $this->questUserCompanyCustIDsWithInvoicingAccess = array_keys(array_filter($this->questUserCompanyByEpicorCustID, function (quest_Company $val) {
|
|
40: return $val->getCanAccessInvoices();
|
|
|
|
Line 39 [match: Epicor]:
|
|
37: if (!is_null($this->questUser)) {
|
|
38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
>> 39: $this->questUserCompanyCustIDsWithInvoicingAccess = array_keys(array_filter($this->questUserCompanyByEpicorCustID, function (quest_Company $val) {
|
|
40: return $val->getCanAccessInvoices();
|
|
41: }));
|
|
|
|
Line 80 [match: Epicor]:
|
|
78: $scp = app(SelectedCompanyProvider::class);
|
|
79:
|
|
>> 80: $company = $scp->getSelectedCompanyEpicorCustID();
|
|
81: if (strtoupper($company) !='MWM')
|
|
82: return 0;
|
|
|
|
Line 100 [match: Epicor]:
|
|
98: $this->_init();
|
|
99:
|
|
>> 100: return !sizeof($this->getActiveCompanyEpicorCustIDs());
|
|
101: }
|
|
102:
|
|
|
|
Line 110 [match: Epicor]:
|
|
108: $this->_init();
|
|
109:
|
|
>> 110: return (sizeof($this->getActiveCompanyEpicorCustIDs()) === 1);
|
|
111: }
|
|
112:
|
|
|
|
Line 116 [match: Epicor]:
|
|
114: * @return string[]
|
|
115: */
|
|
>> 116: public function getActiveCompanyEpicorCustIDs()
|
|
117: {
|
|
118: $this->_init();
|
|
|
|
Line 120 [match: Epicor]:
|
|
118: $this->_init();
|
|
119:
|
|
>> 120: return array_keys($this->questUserCompanyByEpicorCustID);
|
|
121: }
|
|
122:
|
|
|
|
Line 126 [match: Epicor]:
|
|
124: * @return string[]
|
|
125: */
|
|
>> 126: public function getActiveCompanyEpicorCustIDsWithInvoicingAccess()
|
|
127: {
|
|
128: $this->_init();
|
|
|
|
Line 134 [match: Epicor]:
|
|
132:
|
|
133: /**
|
|
>> 134: * @param string $EpicorCustID
|
|
135: * @return quest_Company|null
|
|
136: */
|
|
|
|
Line 137 [match: Epicor]:
|
|
135: * @return quest_Company|null
|
|
136: */
|
|
>> 137: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
138: {
|
|
139: $this->_init();
|
|
|
|
Line 141 [match: Epicor]:
|
|
139: $this->_init();
|
|
140:
|
|
>> 141: return (isset($this->questUserCompanyByEpicorCustID[$EpicorCustID]) ? $this->questUserCompanyByEpicorCustID[$EpicorCustID] : null);
|
|
142: }
|
|
143:
|
|
|
|
Line 147 [match: Epicor]:
|
|
145: * @return quest_Company[]
|
|
146: */
|
|
>> 147: public function getAllActiveCompaniesByEpicorCustID()
|
|
148: {
|
|
149: $this->_init();
|
|
|
|
Line 151 [match: Epicor]:
|
|
149: $this->_init();
|
|
150:
|
|
>> 151: return $this->questUserCompanyByEpicorCustID;
|
|
152: }
|
|
153: }
|
|
|
|
Line 15 [match: EPICOR]:
|
|
13: private $questUser = null;
|
|
14: /** @var quest_Company[] */
|
|
>> 15: private $questUserCompanyByEpicorCustID = [];
|
|
16: private $questUserCompanyCustIDsWithInvoicingAccess = [];
|
|
17:
|
|
|
|
Line 36 [match: EPICOR]:
|
|
34:
|
|
35:
|
|
>> 36: $this->questUserCompanyByEpicorCustID = [];
|
|
37: if (!is_null($this->questUser)) {
|
|
38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
|
|
Line 38 [match: EPICOR]:
|
|
36: $this->questUserCompanyByEpicorCustID = [];
|
|
37: if (!is_null($this->questUser)) {
|
|
>> 38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
39: $this->questUserCompanyCustIDsWithInvoicingAccess = array_keys(array_filter($this->questUserCompanyByEpicorCustID, function (quest_Company $val) {
|
|
40: return $val->getCanAccessInvoices();
|
|
|
|
Line 39 [match: EPICOR]:
|
|
37: if (!is_null($this->questUser)) {
|
|
38: $this->questUserCompanyByEpicorCustID = $this->_getActiveUserCompaniesByEpicorCustID($this->questUser);
|
|
>> 39: $this->questUserCompanyCustIDsWithInvoicingAccess = array_keys(array_filter($this->questUserCompanyByEpicorCustID, function (quest_Company $val) {
|
|
40: return $val->getCanAccessInvoices();
|
|
41: }));
|
|
|
|
Line 80 [match: EPICOR]:
|
|
78: $scp = app(SelectedCompanyProvider::class);
|
|
79:
|
|
>> 80: $company = $scp->getSelectedCompanyEpicorCustID();
|
|
81: if (strtoupper($company) !='MWM')
|
|
82: return 0;
|
|
|
|
Line 100 [match: EPICOR]:
|
|
98: $this->_init();
|
|
99:
|
|
>> 100: return !sizeof($this->getActiveCompanyEpicorCustIDs());
|
|
101: }
|
|
102:
|
|
|
|
Line 110 [match: EPICOR]:
|
|
108: $this->_init();
|
|
109:
|
|
>> 110: return (sizeof($this->getActiveCompanyEpicorCustIDs()) === 1);
|
|
111: }
|
|
112:
|
|
|
|
Line 116 [match: EPICOR]:
|
|
114: * @return string[]
|
|
115: */
|
|
>> 116: public function getActiveCompanyEpicorCustIDs()
|
|
117: {
|
|
118: $this->_init();
|
|
|
|
Line 120 [match: EPICOR]:
|
|
118: $this->_init();
|
|
119:
|
|
>> 120: return array_keys($this->questUserCompanyByEpicorCustID);
|
|
121: }
|
|
122:
|
|
|
|
Line 126 [match: EPICOR]:
|
|
124: * @return string[]
|
|
125: */
|
|
>> 126: public function getActiveCompanyEpicorCustIDsWithInvoicingAccess()
|
|
127: {
|
|
128: $this->_init();
|
|
|
|
Line 134 [match: EPICOR]:
|
|
132:
|
|
133: /**
|
|
>> 134: * @param string $EpicorCustID
|
|
135: * @return quest_Company|null
|
|
136: */
|
|
|
|
Line 137 [match: EPICOR]:
|
|
135: * @return quest_Company|null
|
|
136: */
|
|
>> 137: public function getActiveCompanyByEpicorCustID($EpicorCustID)
|
|
138: {
|
|
139: $this->_init();
|
|
|
|
Line 141 [match: EPICOR]:
|
|
139: $this->_init();
|
|
140:
|
|
>> 141: return (isset($this->questUserCompanyByEpicorCustID[$EpicorCustID]) ? $this->questUserCompanyByEpicorCustID[$EpicorCustID] : null);
|
|
142: }
|
|
143:
|
|
|
|
Line 147 [match: EPICOR]:
|
|
145: * @return quest_Company[]
|
|
146: */
|
|
>> 147: public function getAllActiveCompaniesByEpicorCustID()
|
|
148: {
|
|
149: $this->_init();
|
|
|
|
Line 151 [match: EPICOR]:
|
|
149: $this->_init();
|
|
150:
|
|
>> 151: return $this->questUserCompanyByEpicorCustID;
|
|
152: }
|
|
153: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\SelectedCompanyProvider.php
|
|
================================================================================
|
|
Line 9 [match: epicor]:
|
|
7: class SelectedCompanyProvider
|
|
8: {
|
|
>> 9: private $consoleCompanyEpicorCustID = null;
|
|
10:
|
|
11: public function getSelectedCompanyEpicorCustID()
|
|
|
|
Line 11 [match: epicor]:
|
|
9: private $consoleCompanyEpicorCustID = null;
|
|
10:
|
|
>> 11: public function getSelectedCompanyEpicorCustID()
|
|
12: {
|
|
13:
|
|
|
|
Line 28 [match: epicor]:
|
|
26: $allocen = $allocro->find($alloc);
|
|
27:
|
|
>> 28: $company = $allocen->getQuestCompany()->getEpicorCustID();
|
|
29:
|
|
30: }
|
|
|
|
Line 41 [match: epicor]:
|
|
39: $release = $shipReleaseRo->find($shipRelease);
|
|
40:
|
|
>> 41: $company = $release->getQuestCompany()->getEpicorCustID();
|
|
42: }
|
|
43:
|
|
|
|
Line 50 [match: epicor]:
|
|
48: if(app()->runningInConsole())
|
|
49: {
|
|
>> 50: $EpicorCustID = $this->consoleCompanyEpicorCustID;
|
|
51:
|
|
52: /** @var ActiveCompanyManager $ActiveCompanyManager */
|
|
|
|
Line 55 [match: epicor]:
|
|
53: $ActiveCompanyManager = app(ActiveCompanyManager::class);
|
|
54:
|
|
>> 55: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $ActiveCompanyManager->getAllActiveCompanyEpicorCustIDs()))
|
|
56: {
|
|
57: $EpicorCustID = null;
|
|
|
|
Line 57 [match: epicor]:
|
|
55: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $ActiveCompanyManager->getAllActiveCompanyEpicorCustIDs()))
|
|
56: {
|
|
>> 57: $EpicorCustID = null;
|
|
58: $this->consoleCompanyEpicorCustID = null;
|
|
59: }
|
|
|
|
Line 58 [match: epicor]:
|
|
56: {
|
|
57: $EpicorCustID = null;
|
|
>> 58: $this->consoleCompanyEpicorCustID = null;
|
|
59: }
|
|
60:
|
|
|
|
Line 61 [match: epicor]:
|
|
59: }
|
|
60:
|
|
>> 61: return $EpicorCustID;
|
|
62: }
|
|
63:
|
|
|
|
Line 67 [match: epicor]:
|
|
65: $QuestPageValues = app(QuestPageValues::class);
|
|
66: if($QuestPageValues->doesUserBelongToSingleActiveCompany())
|
|
>> 67: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getEpicorCustID();
|
|
68:
|
|
69: $EpicorCustID = null;
|
|
|
|
Line 69 [match: epicor]:
|
|
67: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getEpicorCustID();
|
|
68:
|
|
>> 69: $EpicorCustID = null;
|
|
70:
|
|
71: /** @var SessionStore $SessionManager */
|
|
|
|
Line 73 [match: epicor]:
|
|
71: /** @var SessionStore $SessionManager */
|
|
72: $Session = app('session');
|
|
>> 73: if($Session->has('__SELECTED_COMPANY_EPICOR_CUST_ID__'))
|
|
74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
|
|
Line 74 [match: epicor]:
|
|
72: $Session = app('session');
|
|
73: if($Session->has('__SELECTED_COMPANY_EPICOR_CUST_ID__'))
|
|
>> 74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
|
|
Line 76 [match: epicor]:
|
|
74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
>> 76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
77: {
|
|
78: $EpicorCustID = null;
|
|
|
|
Line 78 [match: epicor]:
|
|
76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
77: {
|
|
>> 78: $EpicorCustID = null;
|
|
79: $Session->forget('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
80: }
|
|
|
|
Line 79 [match: epicor]:
|
|
77: {
|
|
78: $EpicorCustID = null;
|
|
>> 79: $Session->forget('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
80: }
|
|
81:
|
|
|
|
Line 82 [match: epicor]:
|
|
80: }
|
|
81:
|
|
>> 82: if(is_null($EpicorCustID))
|
|
83: {
|
|
84: $EpicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 84 [match: epicor]:
|
|
82: if(is_null($EpicorCustID))
|
|
83: {
|
|
>> 84: $EpicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
85: }
|
|
86:
|
|
|
|
Line 87 [match: epicor]:
|
|
85: }
|
|
86:
|
|
>> 87: return $EpicorCustID;
|
|
88: }
|
|
89:
|
|
|
|
Line 109 [match: epicor]:
|
|
107: $allocen = $allocro->find($alloc);
|
|
108:
|
|
>> 109: $company = $allocen->getQuestCompany();//->getEpicorCustID();
|
|
110:
|
|
111:
|
|
|
|
Line 124 [match: epicor]:
|
|
122: $release = $shipReleaseRo->find($shipRelease);
|
|
123:
|
|
>> 124: $company = $release->getQuestCompany();//->getEpicorCustID();
|
|
125: }
|
|
126:
|
|
|
|
Line 137 [match: epicor]:
|
|
135: $QuestPageValues = app(QuestPageValues::class);
|
|
136: if($QuestPageValues->doesUserBelongToSingleActiveCompany())
|
|
>> 137: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0]);
|
|
138: }
|
|
139:
|
|
|
|
Line 143 [match: epicor]:
|
|
141: $ActiveCompanyManager = app(ActiveCompanyManager::class);
|
|
142:
|
|
>> 143: if(!is_null($SelectedCompanyEpicorCustID = $this->getSelectedCompanyEpicorCustID()))
|
|
144: return $ActiveCompanyManager->getActiveCompanyByEpicorCustID($SelectedCompanyEpicorCustID);
|
|
145:
|
|
|
|
Line 144 [match: epicor]:
|
|
142:
|
|
143: if(!is_null($SelectedCompanyEpicorCustID = $this->getSelectedCompanyEpicorCustID()))
|
|
>> 144: return $ActiveCompanyManager->getActiveCompanyByEpicorCustID($SelectedCompanyEpicorCustID);
|
|
145:
|
|
146: return null;
|
|
|
|
Line 149 [match: epicor]:
|
|
147: }
|
|
148:
|
|
>> 149: public function setSelectedCompanyEpicorCustID($EpicorCustID)
|
|
150: {
|
|
151: if(app()->runningInConsole())
|
|
|
|
Line 153 [match: epicor]:
|
|
151: if(app()->runningInConsole())
|
|
152: {
|
|
>> 153: $this->consoleCompanyEpicorCustID = $EpicorCustID;
|
|
154: return true;
|
|
155: }
|
|
|
|
Line 164 [match: epicor]:
|
|
162: /** @var SessionStore $SessionManager */
|
|
163: $Session = app('session');
|
|
>> 164: $Session->put('__SELECTED_COMPANY_EPICOR_CUST_ID__', $EpicorCustID);
|
|
165: return true;
|
|
166: }
|
|
|
|
Line 9 [match: Epicor]:
|
|
7: class SelectedCompanyProvider
|
|
8: {
|
|
>> 9: private $consoleCompanyEpicorCustID = null;
|
|
10:
|
|
11: public function getSelectedCompanyEpicorCustID()
|
|
|
|
Line 11 [match: Epicor]:
|
|
9: private $consoleCompanyEpicorCustID = null;
|
|
10:
|
|
>> 11: public function getSelectedCompanyEpicorCustID()
|
|
12: {
|
|
13:
|
|
|
|
Line 28 [match: Epicor]:
|
|
26: $allocen = $allocro->find($alloc);
|
|
27:
|
|
>> 28: $company = $allocen->getQuestCompany()->getEpicorCustID();
|
|
29:
|
|
30: }
|
|
|
|
Line 41 [match: Epicor]:
|
|
39: $release = $shipReleaseRo->find($shipRelease);
|
|
40:
|
|
>> 41: $company = $release->getQuestCompany()->getEpicorCustID();
|
|
42: }
|
|
43:
|
|
|
|
Line 50 [match: Epicor]:
|
|
48: if(app()->runningInConsole())
|
|
49: {
|
|
>> 50: $EpicorCustID = $this->consoleCompanyEpicorCustID;
|
|
51:
|
|
52: /** @var ActiveCompanyManager $ActiveCompanyManager */
|
|
|
|
Line 55 [match: Epicor]:
|
|
53: $ActiveCompanyManager = app(ActiveCompanyManager::class);
|
|
54:
|
|
>> 55: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $ActiveCompanyManager->getAllActiveCompanyEpicorCustIDs()))
|
|
56: {
|
|
57: $EpicorCustID = null;
|
|
|
|
Line 57 [match: Epicor]:
|
|
55: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $ActiveCompanyManager->getAllActiveCompanyEpicorCustIDs()))
|
|
56: {
|
|
>> 57: $EpicorCustID = null;
|
|
58: $this->consoleCompanyEpicorCustID = null;
|
|
59: }
|
|
|
|
Line 58 [match: Epicor]:
|
|
56: {
|
|
57: $EpicorCustID = null;
|
|
>> 58: $this->consoleCompanyEpicorCustID = null;
|
|
59: }
|
|
60:
|
|
|
|
Line 61 [match: Epicor]:
|
|
59: }
|
|
60:
|
|
>> 61: return $EpicorCustID;
|
|
62: }
|
|
63:
|
|
|
|
Line 67 [match: Epicor]:
|
|
65: $QuestPageValues = app(QuestPageValues::class);
|
|
66: if($QuestPageValues->doesUserBelongToSingleActiveCompany())
|
|
>> 67: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getEpicorCustID();
|
|
68:
|
|
69: $EpicorCustID = null;
|
|
|
|
Line 69 [match: Epicor]:
|
|
67: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getEpicorCustID();
|
|
68:
|
|
>> 69: $EpicorCustID = null;
|
|
70:
|
|
71: /** @var SessionStore $SessionManager */
|
|
|
|
Line 73 [match: Epicor]:
|
|
71: /** @var SessionStore $SessionManager */
|
|
72: $Session = app('session');
|
|
>> 73: if($Session->has('__SELECTED_COMPANY_EPICOR_CUST_ID__'))
|
|
74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
|
|
Line 74 [match: Epicor]:
|
|
72: $Session = app('session');
|
|
73: if($Session->has('__SELECTED_COMPANY_EPICOR_CUST_ID__'))
|
|
>> 74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
|
|
Line 76 [match: Epicor]:
|
|
74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
>> 76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
77: {
|
|
78: $EpicorCustID = null;
|
|
|
|
Line 78 [match: Epicor]:
|
|
76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
77: {
|
|
>> 78: $EpicorCustID = null;
|
|
79: $Session->forget('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
80: }
|
|
|
|
Line 79 [match: Epicor]:
|
|
77: {
|
|
78: $EpicorCustID = null;
|
|
>> 79: $Session->forget('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
80: }
|
|
81:
|
|
|
|
Line 82 [match: Epicor]:
|
|
80: }
|
|
81:
|
|
>> 82: if(is_null($EpicorCustID))
|
|
83: {
|
|
84: $EpicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 84 [match: Epicor]:
|
|
82: if(is_null($EpicorCustID))
|
|
83: {
|
|
>> 84: $EpicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
85: }
|
|
86:
|
|
|
|
Line 87 [match: Epicor]:
|
|
85: }
|
|
86:
|
|
>> 87: return $EpicorCustID;
|
|
88: }
|
|
89:
|
|
|
|
Line 109 [match: Epicor]:
|
|
107: $allocen = $allocro->find($alloc);
|
|
108:
|
|
>> 109: $company = $allocen->getQuestCompany();//->getEpicorCustID();
|
|
110:
|
|
111:
|
|
|
|
Line 124 [match: Epicor]:
|
|
122: $release = $shipReleaseRo->find($shipRelease);
|
|
123:
|
|
>> 124: $company = $release->getQuestCompany();//->getEpicorCustID();
|
|
125: }
|
|
126:
|
|
|
|
Line 137 [match: Epicor]:
|
|
135: $QuestPageValues = app(QuestPageValues::class);
|
|
136: if($QuestPageValues->doesUserBelongToSingleActiveCompany())
|
|
>> 137: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0]);
|
|
138: }
|
|
139:
|
|
|
|
Line 143 [match: Epicor]:
|
|
141: $ActiveCompanyManager = app(ActiveCompanyManager::class);
|
|
142:
|
|
>> 143: if(!is_null($SelectedCompanyEpicorCustID = $this->getSelectedCompanyEpicorCustID()))
|
|
144: return $ActiveCompanyManager->getActiveCompanyByEpicorCustID($SelectedCompanyEpicorCustID);
|
|
145:
|
|
|
|
Line 144 [match: Epicor]:
|
|
142:
|
|
143: if(!is_null($SelectedCompanyEpicorCustID = $this->getSelectedCompanyEpicorCustID()))
|
|
>> 144: return $ActiveCompanyManager->getActiveCompanyByEpicorCustID($SelectedCompanyEpicorCustID);
|
|
145:
|
|
146: return null;
|
|
|
|
Line 149 [match: Epicor]:
|
|
147: }
|
|
148:
|
|
>> 149: public function setSelectedCompanyEpicorCustID($EpicorCustID)
|
|
150: {
|
|
151: if(app()->runningInConsole())
|
|
|
|
Line 153 [match: Epicor]:
|
|
151: if(app()->runningInConsole())
|
|
152: {
|
|
>> 153: $this->consoleCompanyEpicorCustID = $EpicorCustID;
|
|
154: return true;
|
|
155: }
|
|
|
|
Line 164 [match: Epicor]:
|
|
162: /** @var SessionStore $SessionManager */
|
|
163: $Session = app('session');
|
|
>> 164: $Session->put('__SELECTED_COMPANY_EPICOR_CUST_ID__', $EpicorCustID);
|
|
165: return true;
|
|
166: }
|
|
|
|
Line 9 [match: EPICOR]:
|
|
7: class SelectedCompanyProvider
|
|
8: {
|
|
>> 9: private $consoleCompanyEpicorCustID = null;
|
|
10:
|
|
11: public function getSelectedCompanyEpicorCustID()
|
|
|
|
Line 11 [match: EPICOR]:
|
|
9: private $consoleCompanyEpicorCustID = null;
|
|
10:
|
|
>> 11: public function getSelectedCompanyEpicorCustID()
|
|
12: {
|
|
13:
|
|
|
|
Line 28 [match: EPICOR]:
|
|
26: $allocen = $allocro->find($alloc);
|
|
27:
|
|
>> 28: $company = $allocen->getQuestCompany()->getEpicorCustID();
|
|
29:
|
|
30: }
|
|
|
|
Line 41 [match: EPICOR]:
|
|
39: $release = $shipReleaseRo->find($shipRelease);
|
|
40:
|
|
>> 41: $company = $release->getQuestCompany()->getEpicorCustID();
|
|
42: }
|
|
43:
|
|
|
|
Line 50 [match: EPICOR]:
|
|
48: if(app()->runningInConsole())
|
|
49: {
|
|
>> 50: $EpicorCustID = $this->consoleCompanyEpicorCustID;
|
|
51:
|
|
52: /** @var ActiveCompanyManager $ActiveCompanyManager */
|
|
|
|
Line 55 [match: EPICOR]:
|
|
53: $ActiveCompanyManager = app(ActiveCompanyManager::class);
|
|
54:
|
|
>> 55: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $ActiveCompanyManager->getAllActiveCompanyEpicorCustIDs()))
|
|
56: {
|
|
57: $EpicorCustID = null;
|
|
|
|
Line 57 [match: EPICOR]:
|
|
55: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $ActiveCompanyManager->getAllActiveCompanyEpicorCustIDs()))
|
|
56: {
|
|
>> 57: $EpicorCustID = null;
|
|
58: $this->consoleCompanyEpicorCustID = null;
|
|
59: }
|
|
|
|
Line 58 [match: EPICOR]:
|
|
56: {
|
|
57: $EpicorCustID = null;
|
|
>> 58: $this->consoleCompanyEpicorCustID = null;
|
|
59: }
|
|
60:
|
|
|
|
Line 61 [match: EPICOR]:
|
|
59: }
|
|
60:
|
|
>> 61: return $EpicorCustID;
|
|
62: }
|
|
63:
|
|
|
|
Line 67 [match: EPICOR]:
|
|
65: $QuestPageValues = app(QuestPageValues::class);
|
|
66: if($QuestPageValues->doesUserBelongToSingleActiveCompany())
|
|
>> 67: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getEpicorCustID();
|
|
68:
|
|
69: $EpicorCustID = null;
|
|
|
|
Line 69 [match: EPICOR]:
|
|
67: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0])->getEpicorCustID();
|
|
68:
|
|
>> 69: $EpicorCustID = null;
|
|
70:
|
|
71: /** @var SessionStore $SessionManager */
|
|
|
|
Line 73 [match: EPICOR]:
|
|
71: /** @var SessionStore $SessionManager */
|
|
72: $Session = app('session');
|
|
>> 73: if($Session->has('__SELECTED_COMPANY_EPICOR_CUST_ID__'))
|
|
74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
|
|
Line 74 [match: EPICOR]:
|
|
72: $Session = app('session');
|
|
73: if($Session->has('__SELECTED_COMPANY_EPICOR_CUST_ID__'))
|
|
>> 74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
|
|
Line 76 [match: EPICOR]:
|
|
74: $EpicorCustID = $Session->get('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
75:
|
|
>> 76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
77: {
|
|
78: $EpicorCustID = null;
|
|
|
|
Line 78 [match: EPICOR]:
|
|
76: if(!is_null($EpicorCustID) && !in_array($EpicorCustID, $QuestPageValues->getActiveCompanyEpicorCustIDs()))
|
|
77: {
|
|
>> 78: $EpicorCustID = null;
|
|
79: $Session->forget('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
80: }
|
|
|
|
Line 79 [match: EPICOR]:
|
|
77: {
|
|
78: $EpicorCustID = null;
|
|
>> 79: $Session->forget('__SELECTED_COMPANY_EPICOR_CUST_ID__');
|
|
80: }
|
|
81:
|
|
|
|
Line 82 [match: EPICOR]:
|
|
80: }
|
|
81:
|
|
>> 82: if(is_null($EpicorCustID))
|
|
83: {
|
|
84: $EpicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
|
|
Line 84 [match: EPICOR]:
|
|
82: if(is_null($EpicorCustID))
|
|
83: {
|
|
>> 84: $EpicorCustID = request()->route()->parameter('epicor_cust_id');
|
|
85: }
|
|
86:
|
|
|
|
Line 87 [match: EPICOR]:
|
|
85: }
|
|
86:
|
|
>> 87: return $EpicorCustID;
|
|
88: }
|
|
89:
|
|
|
|
Line 109 [match: EPICOR]:
|
|
107: $allocen = $allocro->find($alloc);
|
|
108:
|
|
>> 109: $company = $allocen->getQuestCompany();//->getEpicorCustID();
|
|
110:
|
|
111:
|
|
|
|
Line 124 [match: EPICOR]:
|
|
122: $release = $shipReleaseRo->find($shipRelease);
|
|
123:
|
|
>> 124: $company = $release->getQuestCompany();//->getEpicorCustID();
|
|
125: }
|
|
126:
|
|
|
|
Line 137 [match: EPICOR]:
|
|
135: $QuestPageValues = app(QuestPageValues::class);
|
|
136: if($QuestPageValues->doesUserBelongToSingleActiveCompany())
|
|
>> 137: return $QuestPageValues->getActiveCompanyByEpicorCustID($QuestPageValues->getActiveCompanyEpicorCustIDs()[0]);
|
|
138: }
|
|
139:
|
|
|
|
Line 143 [match: EPICOR]:
|
|
141: $ActiveCompanyManager = app(ActiveCompanyManager::class);
|
|
142:
|
|
>> 143: if(!is_null($SelectedCompanyEpicorCustID = $this->getSelectedCompanyEpicorCustID()))
|
|
144: return $ActiveCompanyManager->getActiveCompanyByEpicorCustID($SelectedCompanyEpicorCustID);
|
|
145:
|
|
|
|
Line 144 [match: EPICOR]:
|
|
142:
|
|
143: if(!is_null($SelectedCompanyEpicorCustID = $this->getSelectedCompanyEpicorCustID()))
|
|
>> 144: return $ActiveCompanyManager->getActiveCompanyByEpicorCustID($SelectedCompanyEpicorCustID);
|
|
145:
|
|
146: return null;
|
|
|
|
Line 149 [match: EPICOR]:
|
|
147: }
|
|
148:
|
|
>> 149: public function setSelectedCompanyEpicorCustID($EpicorCustID)
|
|
150: {
|
|
151: if(app()->runningInConsole())
|
|
|
|
Line 153 [match: EPICOR]:
|
|
151: if(app()->runningInConsole())
|
|
152: {
|
|
>> 153: $this->consoleCompanyEpicorCustID = $EpicorCustID;
|
|
154: return true;
|
|
155: }
|
|
|
|
Line 164 [match: EPICOR]:
|
|
162: /** @var SessionStore $SessionManager */
|
|
163: $Session = app('session');
|
|
>> 164: $Session->put('__SELECTED_COMPANY_EPICOR_CUST_ID__', $EpicorCustID);
|
|
165: return true;
|
|
166: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\ShipmentCart.php
|
|
================================================================================
|
|
Line 75 [match: epicor]:
|
|
73: }
|
|
74: else {
|
|
>> 75: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
|
|
Line 76 [match: epicor]:
|
|
74: else {
|
|
75: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
>> 76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
78: $this->dbShipment = $ROShipRequestRepo->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
|
|
Line 78 [match: epicor]:
|
|
76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
>> 78: $this->dbShipment = $ROShipRequestRepo->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
79: }
|
|
80:
|
|
|
|
Line 75 [match: Epicor]:
|
|
73: }
|
|
74: else {
|
|
>> 75: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
|
|
Line 76 [match: Epicor]:
|
|
74: else {
|
|
75: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
>> 76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
78: $this->dbShipment = $ROShipRequestRepo->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
|
|
Line 78 [match: Epicor]:
|
|
76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
>> 78: $this->dbShipment = $ROShipRequestRepo->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
79: }
|
|
80:
|
|
|
|
Line 75 [match: EPICOR]:
|
|
73: }
|
|
74: else {
|
|
>> 75: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
|
|
Line 76 [match: EPICOR]:
|
|
74: else {
|
|
75: $EpicorCustID = $SelectedCompanyProvider->getSelectedCompanyEpicorCustID();
|
|
>> 76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
78: $this->dbShipment = $ROShipRequestRepo->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
|
|
Line 78 [match: EPICOR]:
|
|
76: if (is_null($EpicorCustID))
|
|
77: return;
|
|
>> 78: $this->dbShipment = $ROShipRequestRepo->getOpenShipmentWithAllDetailLinesForEpicorCustomerAndQuestUser($EpicorCustID, $QuestPageValues->getQuestUserID());
|
|
79: }
|
|
80:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\app\Services\ShipmentReleaseHelper.php
|
|
================================================================================
|
|
Line 82 [match: FROM ]:
|
|
80: $pdo = $em->getConnection()->getNativeConnection();
|
|
81:
|
|
>> 82: $sql = "SELECT SUM(OnHandQuantity) AS S FROM dbo.ship_RequestDetail WHERE ship_Request_ID = :SID";
|
|
83: $sth = $pdo->prepare($sql);
|
|
84: $sth->execute([':SID' => $data["ShipmentReleaseReference"]]);
|
|
|
|
Line 89 [match: FROM ]:
|
|
87: $data["TotalSelected"] = $results[0]['S'];
|
|
88:
|
|
>> 89: $dql = "select ship_RequestDetail from App\\Model\\Entities\\ship_RequestDetail ship_RequestDetail where
|
|
90: ship_RequestDetail.ship_Request = :SID ORDER BY ship_RequestDetail.Skid, ship_RequestDetail.LotNum";
|
|
91:
|
|
|
|
Line 82 [match: SELECT ]:
|
|
80: $pdo = $em->getConnection()->getNativeConnection();
|
|
81:
|
|
>> 82: $sql = "SELECT SUM(OnHandQuantity) AS S FROM dbo.ship_RequestDetail WHERE ship_Request_ID = :SID";
|
|
83: $sth = $pdo->prepare($sql);
|
|
84: $sth->execute([':SID' => $data["ShipmentReleaseReference"]]);
|
|
|
|
Line 89 [match: SELECT ]:
|
|
87: $data["TotalSelected"] = $results[0]['S'];
|
|
88:
|
|
>> 89: $dql = "select ship_RequestDetail from App\\Model\\Entities\\ship_RequestDetail ship_RequestDetail where
|
|
90: ship_RequestDetail.ship_Request = :SID ORDER BY ship_RequestDetail.Skid, ship_RequestDetail.LotNum";
|
|
91:
|
|
|
|
Line 419 [match: SELECT ]:
|
|
417: (new Button('Complete Release', true))
|
|
418: ->setType(ButtonInterface::TYPE_PRIMARY),
|
|
>> 419: (new Button('Select More Items', false))
|
|
420: ->setType(ButtonInterface::TYPE_DEFAULT)
|
|
421: ->setAttribute('onclick', 'questShipmentRequestRedirectToInventory()'),
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\routes\api.php
|
|
================================================================================
|
|
Line 63 [match: epicor]:
|
|
61: //https://portal-uat.vorteqcoil.com/api/ws/company/MWM/inventory-post/details
|
|
62:
|
|
>> 63: Route::group(['prefix' => 'company/{epicor_cust_id}', 'middleware' => 'web_services_company'], function(){
|
|
64:
|
|
65: Route::post('shipment-release-address', 'API\WebAppAPI@postShipToAddressInquiry');
|
|
|
|
Line 63 [match: Epicor]:
|
|
61: //https://portal-uat.vorteqcoil.com/api/ws/company/MWM/inventory-post/details
|
|
62:
|
|
>> 63: Route::group(['prefix' => 'company/{epicor_cust_id}', 'middleware' => 'web_services_company'], function(){
|
|
64:
|
|
65: Route::post('shipment-release-address', 'API\WebAppAPI@postShipToAddressInquiry');
|
|
|
|
Line 63 [match: EPICOR]:
|
|
61: //https://portal-uat.vorteqcoil.com/api/ws/company/MWM/inventory-post/details
|
|
62:
|
|
>> 63: Route::group(['prefix' => 'company/{epicor_cust_id}', 'middleware' => 'web_services_company'], function(){
|
|
64:
|
|
65: Route::post('shipment-release-address', 'API\WebAppAPI@postShipToAddressInquiry');
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\routes\web.php
|
|
================================================================================
|
|
Line 211 [match: wave]:
|
|
209:
|
|
210:
|
|
>> 211: Route::group(['prefix' => 'admin', 'middleware' => [ 'permissions.required.any:ADMIN_ACCESS,ADMIN_CUSTOMERS,ADMIN_USERS,ADMIN_ACCOUNT_REQUESTS,ADMIN_NOTIFICATIONS,ADMIN_SHIPMENT_RELEASES,ADMIN_PASSWORD_RESET_LINKS,ADMIN_EMAIL_LOGS,ADMIN_DOCUMENTATION,ADMIN_WAVE_EDI,MANAGE_AP_CHECK_PROCESSING,MANAGE_INVOICE_UPLOADS,MANAGE_COIL_ALLOCATION_REQUESTS']], function () {
|
|
212:
|
|
213: Route::get('paintbacks', 'Quest\Admin\PaintBackups@getIndex');
|
|
|
|
Line 327 [match: wave]:
|
|
325: Route::post('replace-entry','Quest\Admin\InvoiceUploadController@postReplaceSingleEntry');
|
|
326: });
|
|
>> 327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
|
|
Line 328 [match: wave]:
|
|
326: });
|
|
327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
>> 328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
|
|
Line 329 [match: wave]:
|
|
327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
>> 329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
331: });
|
|
|
|
Line 330 [match: wave]:
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
>> 330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
331: });
|
|
332: });
|
|
|
|
Line 211 [match: Wave]:
|
|
209:
|
|
210:
|
|
>> 211: Route::group(['prefix' => 'admin', 'middleware' => [ 'permissions.required.any:ADMIN_ACCESS,ADMIN_CUSTOMERS,ADMIN_USERS,ADMIN_ACCOUNT_REQUESTS,ADMIN_NOTIFICATIONS,ADMIN_SHIPMENT_RELEASES,ADMIN_PASSWORD_RESET_LINKS,ADMIN_EMAIL_LOGS,ADMIN_DOCUMENTATION,ADMIN_WAVE_EDI,MANAGE_AP_CHECK_PROCESSING,MANAGE_INVOICE_UPLOADS,MANAGE_COIL_ALLOCATION_REQUESTS']], function () {
|
|
212:
|
|
213: Route::get('paintbacks', 'Quest\Admin\PaintBackups@getIndex');
|
|
|
|
Line 327 [match: Wave]:
|
|
325: Route::post('replace-entry','Quest\Admin\InvoiceUploadController@postReplaceSingleEntry');
|
|
326: });
|
|
>> 327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
|
|
Line 328 [match: Wave]:
|
|
326: });
|
|
327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
>> 328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
|
|
Line 329 [match: Wave]:
|
|
327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
>> 329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
331: });
|
|
|
|
Line 330 [match: Wave]:
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
>> 330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
331: });
|
|
332: });
|
|
|
|
Line 211 [match: WAVE]:
|
|
209:
|
|
210:
|
|
>> 211: Route::group(['prefix' => 'admin', 'middleware' => [ 'permissions.required.any:ADMIN_ACCESS,ADMIN_CUSTOMERS,ADMIN_USERS,ADMIN_ACCOUNT_REQUESTS,ADMIN_NOTIFICATIONS,ADMIN_SHIPMENT_RELEASES,ADMIN_PASSWORD_RESET_LINKS,ADMIN_EMAIL_LOGS,ADMIN_DOCUMENTATION,ADMIN_WAVE_EDI,MANAGE_AP_CHECK_PROCESSING,MANAGE_INVOICE_UPLOADS,MANAGE_COIL_ALLOCATION_REQUESTS']], function () {
|
|
212:
|
|
213: Route::get('paintbacks', 'Quest\Admin\PaintBackups@getIndex');
|
|
|
|
Line 327 [match: WAVE]:
|
|
325: Route::post('replace-entry','Quest\Admin\InvoiceUploadController@postReplaceSingleEntry');
|
|
326: });
|
|
>> 327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
|
|
Line 328 [match: WAVE]:
|
|
326: });
|
|
327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
>> 328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
|
|
Line 329 [match: WAVE]:
|
|
327: Route::group(['prefix' => 'wave', 'middleware' => ['permissions.required.all:ADMIN_WAVE_EDI']], function () {
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
>> 329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
331: });
|
|
|
|
Line 330 [match: WAVE]:
|
|
328: \Savvior\LCrudBase\Controllers\CrudBase::makeRoutes('Quest\Admin\WaveProcessController');
|
|
329: Route::post('/reprocess', 'Quest\Admin\WaveProcessController@reprocessStep');
|
|
>> 330: Route::get('/download/{pk}', 'Quest\Admin\WaveProcessController@downloadResults');
|
|
331: });
|
|
332: });
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\database.php
|
|
================================================================================
|
|
Line 104 [match: epicor]:
|
|
102: ],
|
|
103:
|
|
>> 104: 'epicor_ro' => [
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
|
|
Line 105 [match: epicor]:
|
|
103:
|
|
104: 'epicor_ro' => [
|
|
>> 105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
|
|
Line 106 [match: epicor]:
|
|
104: 'epicor_ro' => [
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
>> 106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
|
|
Line 107 [match: epicor]:
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
>> 107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
|
|
Line 108 [match: epicor]:
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
>> 108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
|
|
Line 109 [match: epicor]:
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
>> 109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
111: 'charset' => 'utf8mb4',
|
|
|
|
Line 110 [match: epicor]:
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
>> 110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
111: 'charset' => 'utf8mb4',
|
|
112: 'collation' => 'utf8mb4_unicode_ci',
|
|
|
|
Line 259 [match: epicor]:
|
|
257: unset($conf['connections']['adm']);
|
|
258: }
|
|
>> 259: if(is_null(env('EPICOR_DB_HOST')))
|
|
260: {
|
|
261: unset($conf['connections']['epicor_ro']);
|
|
|
|
Line 261 [match: epicor]:
|
|
259: if(is_null(env('EPICOR_DB_HOST')))
|
|
260: {
|
|
>> 261: unset($conf['connections']['epicor_ro']);
|
|
262: }
|
|
263: if(is_null(env('WAVE_DB_HOST')))
|
|
|
|
Line 104 [match: Epicor]:
|
|
102: ],
|
|
103:
|
|
>> 104: 'epicor_ro' => [
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
|
|
Line 105 [match: Epicor]:
|
|
103:
|
|
104: 'epicor_ro' => [
|
|
>> 105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
|
|
Line 106 [match: Epicor]:
|
|
104: 'epicor_ro' => [
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
>> 106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
|
|
Line 107 [match: Epicor]:
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
>> 107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
|
|
Line 108 [match: Epicor]:
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
>> 108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
|
|
Line 109 [match: Epicor]:
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
>> 109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
111: 'charset' => 'utf8mb4',
|
|
|
|
Line 110 [match: Epicor]:
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
>> 110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
111: 'charset' => 'utf8mb4',
|
|
112: 'collation' => 'utf8mb4_unicode_ci',
|
|
|
|
Line 259 [match: Epicor]:
|
|
257: unset($conf['connections']['adm']);
|
|
258: }
|
|
>> 259: if(is_null(env('EPICOR_DB_HOST')))
|
|
260: {
|
|
261: unset($conf['connections']['epicor_ro']);
|
|
|
|
Line 261 [match: Epicor]:
|
|
259: if(is_null(env('EPICOR_DB_HOST')))
|
|
260: {
|
|
>> 261: unset($conf['connections']['epicor_ro']);
|
|
262: }
|
|
263: if(is_null(env('WAVE_DB_HOST')))
|
|
|
|
Line 104 [match: EPICOR]:
|
|
102: ],
|
|
103:
|
|
>> 104: 'epicor_ro' => [
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
|
|
Line 105 [match: EPICOR]:
|
|
103:
|
|
104: 'epicor_ro' => [
|
|
>> 105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
|
|
Line 106 [match: EPICOR]:
|
|
104: 'epicor_ro' => [
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
>> 106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
|
|
Line 107 [match: EPICOR]:
|
|
105: 'driver' => env('EPICOR_DB_DRIVER'),
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
>> 107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
|
|
Line 108 [match: EPICOR]:
|
|
106: 'host' => env('EPICOR_DB_HOST'),
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
>> 108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
|
|
Line 109 [match: EPICOR]:
|
|
107: 'port' => env('EPICOR_DB_PORT'),
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
>> 109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
111: 'charset' => 'utf8mb4',
|
|
|
|
Line 110 [match: EPICOR]:
|
|
108: 'database' => env('EPICOR_DB_DATABASE'),
|
|
109: 'username' => env('EPICOR_DB_USERNAME_RO'),
|
|
>> 110: 'password' => env('EPICOR_DB_PASSWORD_RO'),
|
|
111: 'charset' => 'utf8mb4',
|
|
112: 'collation' => 'utf8mb4_unicode_ci',
|
|
|
|
Line 259 [match: EPICOR]:
|
|
257: unset($conf['connections']['adm']);
|
|
258: }
|
|
>> 259: if(is_null(env('EPICOR_DB_HOST')))
|
|
260: {
|
|
261: unset($conf['connections']['epicor_ro']);
|
|
|
|
Line 261 [match: EPICOR]:
|
|
259: if(is_null(env('EPICOR_DB_HOST')))
|
|
260: {
|
|
>> 261: unset($conf['connections']['epicor_ro']);
|
|
262: }
|
|
263: if(is_null(env('WAVE_DB_HOST')))
|
|
|
|
Line 119 [match: wave]:
|
|
117: ],
|
|
118:
|
|
>> 119: 'wave_ro' => [
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
|
|
Line 120 [match: wave]:
|
|
118:
|
|
119: 'wave_ro' => [
|
|
>> 120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
|
|
Line 121 [match: wave]:
|
|
119: 'wave_ro' => [
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
>> 121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
|
|
Line 122 [match: wave]:
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
>> 122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
|
|
Line 123 [match: wave]:
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
>> 123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
|
|
Line 124 [match: wave]:
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
>> 124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
126: 'charset' => 'utf8mb4',
|
|
|
|
Line 125 [match: wave]:
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
>> 125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
126: 'charset' => 'utf8mb4',
|
|
127: 'collation' => 'utf8mb4_unicode_ci',
|
|
|
|
Line 263 [match: wave]:
|
|
261: unset($conf['connections']['epicor_ro']);
|
|
262: }
|
|
>> 263: if(is_null(env('WAVE_DB_HOST')))
|
|
264: {
|
|
265: unset($conf['connections']['wave_ro']);
|
|
|
|
Line 265 [match: wave]:
|
|
263: if(is_null(env('WAVE_DB_HOST')))
|
|
264: {
|
|
>> 265: unset($conf['connections']['wave_ro']);
|
|
266: }
|
|
267:
|
|
|
|
Line 119 [match: Wave]:
|
|
117: ],
|
|
118:
|
|
>> 119: 'wave_ro' => [
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
|
|
Line 120 [match: Wave]:
|
|
118:
|
|
119: 'wave_ro' => [
|
|
>> 120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
|
|
Line 121 [match: Wave]:
|
|
119: 'wave_ro' => [
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
>> 121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
|
|
Line 122 [match: Wave]:
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
>> 122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
|
|
Line 123 [match: Wave]:
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
>> 123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
|
|
Line 124 [match: Wave]:
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
>> 124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
126: 'charset' => 'utf8mb4',
|
|
|
|
Line 125 [match: Wave]:
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
>> 125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
126: 'charset' => 'utf8mb4',
|
|
127: 'collation' => 'utf8mb4_unicode_ci',
|
|
|
|
Line 263 [match: Wave]:
|
|
261: unset($conf['connections']['epicor_ro']);
|
|
262: }
|
|
>> 263: if(is_null(env('WAVE_DB_HOST')))
|
|
264: {
|
|
265: unset($conf['connections']['wave_ro']);
|
|
|
|
Line 265 [match: Wave]:
|
|
263: if(is_null(env('WAVE_DB_HOST')))
|
|
264: {
|
|
>> 265: unset($conf['connections']['wave_ro']);
|
|
266: }
|
|
267:
|
|
|
|
Line 119 [match: WAVE]:
|
|
117: ],
|
|
118:
|
|
>> 119: 'wave_ro' => [
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
|
|
Line 120 [match: WAVE]:
|
|
118:
|
|
119: 'wave_ro' => [
|
|
>> 120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
|
|
Line 121 [match: WAVE]:
|
|
119: 'wave_ro' => [
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
>> 121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
|
|
Line 122 [match: WAVE]:
|
|
120: 'driver' => env('WAVE_DB_DRIVER'),
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
>> 122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
|
|
Line 123 [match: WAVE]:
|
|
121: 'host' => env('WAVE_DB_HOST'),
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
>> 123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
|
|
Line 124 [match: WAVE]:
|
|
122: 'port' => env('WAVE_DB_PORT'),
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
>> 124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
126: 'charset' => 'utf8mb4',
|
|
|
|
Line 125 [match: WAVE]:
|
|
123: 'database' => env('WAVE_DB_DATABASE'),
|
|
124: 'username' => env('WAVE_DB_USERNAME_RO'),
|
|
>> 125: 'password' => env('WAVE_DB_PASSWORD_RO'),
|
|
126: 'charset' => 'utf8mb4',
|
|
127: 'collation' => 'utf8mb4_unicode_ci',
|
|
|
|
Line 263 [match: WAVE]:
|
|
261: unset($conf['connections']['epicor_ro']);
|
|
262: }
|
|
>> 263: if(is_null(env('WAVE_DB_HOST')))
|
|
264: {
|
|
265: unset($conf['connections']['wave_ro']);
|
|
|
|
Line 265 [match: WAVE]:
|
|
263: if(is_null(env('WAVE_DB_HOST')))
|
|
264: {
|
|
>> 265: unset($conf['connections']['wave_ro']);
|
|
266: }
|
|
267:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\debugbar.php
|
|
================================================================================
|
|
Line 109 [match: FROM ]:
|
|
107: 'memory' => true, // Memory usage
|
|
108: 'exceptions' => true, // Exception displayer
|
|
>> 109: 'log' => true, // Logs from Monolog (merged in messages if enabled)
|
|
110: 'db' => true, // Show database (PDO) queries and bindings
|
|
111: 'views' => true, // Views with their data
|
|
|
|
Line 187 [match: FROM ]:
|
|
185: |
|
|
186: | Sometimes you want to set route prefix to be used by DebugBar to load
|
|
>> 187: | its resources from. Usually the need comes from misconfigured web server or
|
|
188: | from trying to overcome bugs like this: http://trac.nginx.org/nginx/ticket/97
|
|
189: |
|
|
|
|
Line 188 [match: FROM ]:
|
|
186: | Sometimes you want to set route prefix to be used by DebugBar to load
|
|
187: | its resources from. Usually the need comes from misconfigured web server or
|
|
>> 188: | from trying to overcome bugs like this: http://trac.nginx.org/nginx/ticket/97
|
|
189: |
|
|
190: */
|
|
|
|
Line 198 [match: FROM ]:
|
|
196: |--------------------------------------------------------------------------
|
|
197: |
|
|
>> 198: | By default DebugBar route served from the same domain that request served.
|
|
199: | To override default domain, specify it as a non-empty value.
|
|
200: */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\doctrine.php
|
|
================================================================================
|
|
Line 7 [match: epicor]:
|
|
5: 'generateEM' => 'adm',
|
|
6: 'externalEntities' => [
|
|
>> 7: 'epi_InvcHead' => env('EPICOR_DB_DATABASE').'.Erp.InvcHead'
|
|
8: ]
|
|
9: ];
|
|
|
|
Line 7 [match: Epicor]:
|
|
5: 'generateEM' => 'adm',
|
|
6: 'externalEntities' => [
|
|
>> 7: 'epi_InvcHead' => env('EPICOR_DB_DATABASE').'.Erp.InvcHead'
|
|
8: ]
|
|
9: ];
|
|
|
|
Line 7 [match: EPICOR]:
|
|
5: 'generateEM' => 'adm',
|
|
6: 'externalEntities' => [
|
|
>> 7: 'epi_InvcHead' => env('EPICOR_DB_DATABASE').'.Erp.InvcHead'
|
|
8: ]
|
|
9: ];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\filesystems.php
|
|
================================================================================
|
|
Line 64 [match: wave]:
|
|
62: ],
|
|
63:
|
|
>> 64: 'wave' => [
|
|
65: 'driver' => 'local',
|
|
66: 'root' => 'X:\Wave\ian',
|
|
|
|
Line 66 [match: wave]:
|
|
64: 'wave' => [
|
|
65: 'driver' => 'local',
|
|
>> 66: 'root' => 'X:\Wave\ian',
|
|
67: 'throw' => false,
|
|
68: ]
|
|
|
|
Line 64 [match: Wave]:
|
|
62: ],
|
|
63:
|
|
>> 64: 'wave' => [
|
|
65: 'driver' => 'local',
|
|
66: 'root' => 'X:\Wave\ian',
|
|
|
|
Line 66 [match: Wave]:
|
|
64: 'wave' => [
|
|
65: 'driver' => 'local',
|
|
>> 66: 'root' => 'X:\Wave\ian',
|
|
67: 'throw' => false,
|
|
68: ]
|
|
|
|
Line 64 [match: WAVE]:
|
|
62: ],
|
|
63:
|
|
>> 64: 'wave' => [
|
|
65: 'driver' => 'local',
|
|
66: 'root' => 'X:\Wave\ian',
|
|
|
|
Line 66 [match: WAVE]:
|
|
64: 'wave' => [
|
|
65: 'driver' => 'local',
|
|
>> 66: 'root' => 'X:\Wave\ian',
|
|
67: 'throw' => false,
|
|
68: ]
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\ide-helper.php
|
|
================================================================================
|
|
Line 144 [match: FROM ]:
|
|
142: |
|
|
143: | The value of the array is an array of type mappings. Key is the name of the custom type,
|
|
>> 144: | (for example, "jsonb" from Postgres 9.4) and the value is the name of the corresponding Doctrine2 type (in
|
|
145: | our case it is 'json_array'. Doctrine types are listed here:
|
|
146: | http://doctrine-dbal.readthedocs.org/en/latest/reference/types.html
|
|
|
|
Line 200 [match: FROM ]:
|
|
198: /*
|
|
199: |--------------------------------------------------------------------------
|
|
>> 200: | Include DocBlocks from classes
|
|
201: |--------------------------------------------------------------------------
|
|
202: |
|
|
|
|
Line 203 [match: FROM ]:
|
|
201: |--------------------------------------------------------------------------
|
|
202: |
|
|
>> 203: | Include DocBlocks from classes to allow additional code inspection for
|
|
204: | magic methods and properties.
|
|
205: |
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\lauth.php
|
|
================================================================================
|
|
Line 48 [match: FROM ]:
|
|
46: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
47: ->getEm('ro')
|
|
>> 48: ->createQuery("SELECT u.ID FROM \\App\\Model\\Entities\\auth_User u INNER JOIN u.auth_UserType t WHERE u.HasBeenDeactivated=0 AND u.ID <> :impersonatorAuthUserID")
|
|
49: ->setParameter('impersonatorAuthUserID', $impersonatorAuthUserID)
|
|
50: ->getResult();
|
|
|
|
Line 67 [match: FROM ]:
|
|
65: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
66: ->getEm('ro')
|
|
>> 67: ->createQuery("SELECT u.ID, u.Email FROM \\App\\Model\\Entities\\auth_User u")
|
|
68: ->getResult();
|
|
69:
|
|
|
|
Line 86 [match: FROM ]:
|
|
84: 'enabled' => env('LAUTH_LDAP_ENABLED', false),
|
|
85:
|
|
>> 86: // the attribute from a user's ldap profile to utilize as their email address
|
|
87: 'email_attribute' => env('LAUTH_LDAP_EMAIL_ATTRIBUTE', 'emailAddress'),
|
|
88:
|
|
|
|
Line 124 [match: FROM ]:
|
|
122: 'auth_code_expiration_minutes' => 10,
|
|
123:
|
|
>> 124: // enables passport to accept SSO requests from other applications
|
|
125: 'idp_enabled' => false,
|
|
126:
|
|
|
|
Line 130 [match: FROM ]:
|
|
128: 'oidc_token_id_model' => \Savvior\LAuth\Services\OIDC\TokenIDModel::class,
|
|
129:
|
|
>> 130: // when passport accepts SSO requests, the class that will extract claims from the token_id_model for the response; does not need overridden unless you need to return values in the token_id response outside the oidc spec
|
|
131: 'oidc_claims_extractor' => \Savvior\LAuth\Services\OIDC\ClaimsExtractor::class,
|
|
132:
|
|
|
|
Line 48 [match: SELECT ]:
|
|
46: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
47: ->getEm('ro')
|
|
>> 48: ->createQuery("SELECT u.ID FROM \\App\\Model\\Entities\\auth_User u INNER JOIN u.auth_UserType t WHERE u.HasBeenDeactivated=0 AND u.ID <> :impersonatorAuthUserID")
|
|
49: ->setParameter('impersonatorAuthUserID', $impersonatorAuthUserID)
|
|
50: ->getResult();
|
|
|
|
Line 67 [match: SELECT ]:
|
|
65: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
66: ->getEm('ro')
|
|
>> 67: ->createQuery("SELECT u.ID, u.Email FROM \\App\\Model\\Entities\\auth_User u")
|
|
68: ->getResult();
|
|
69:
|
|
|
|
Line 48 [match: INNER JOIN]:
|
|
46: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
47: ->getEm('ro')
|
|
>> 48: ->createQuery("SELECT u.ID FROM \\App\\Model\\Entities\\auth_User u INNER JOIN u.auth_UserType t WHERE u.HasBeenDeactivated=0 AND u.ID <> :impersonatorAuthUserID")
|
|
49: ->setParameter('impersonatorAuthUserID', $impersonatorAuthUserID)
|
|
50: ->getResult();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\sanctum.php
|
|
================================================================================
|
|
Line 12 [match: FROM ]:
|
|
10: |--------------------------------------------------------------------------
|
|
11: |
|
|
>> 12: | Requests from the following domains / hosts will receive stateful API
|
|
13: | authentication cookies. Typically, these should include your local
|
|
14: | and production domains which access your API via a frontend SPA.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\session.php
|
|
================================================================================
|
|
Line 111 [match: FROM ]:
|
|
109: |
|
|
110: | Some session drivers must manually sweep their storage location to get
|
|
>> 111: | rid of old sessions from storage. Here are the chances that it will
|
|
112: | happen on a given request. By default, the odds are 2 out of 100.
|
|
113: |
|
|
|
|
Line 167 [match: FROM ]:
|
|
165: | By setting this option to true, session cookies will only be sent back
|
|
166: | to the server if the browser has a HTTPS connection. This will keep
|
|
>> 167: | the cookie from being sent to you when it can't be done securely.
|
|
168: |
|
|
169: */
|
|
|
|
Line 178 [match: FROM ]:
|
|
176: |--------------------------------------------------------------------------
|
|
177: |
|
|
>> 178: | Setting this value to true will prevent JavaScript from accessing the
|
|
179: | value of the cookie and the cookie will only be accessible through
|
|
180: | the HTTP protocol. You are free to modify this option if needed.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\config\view.php
|
|
================================================================================
|
|
Line 10 [match: FROM ]:
|
|
8: |--------------------------------------------------------------------------
|
|
9: |
|
|
>> 10: | Most templating systems load templates from disk. Here you may specify
|
|
11: | an array of paths that should be checked for your views. Of course
|
|
12: | the usual Laravel view path has already been registered for you.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\common\lib\Collection\AbstractCollection.php
|
|
================================================================================
|
|
Line 51 [match: FROM ]:
|
|
49: public function offsetSet($offset, $value)
|
|
50: {
|
|
>> 51: throw new \Exception('Collection cannot be modified at specific offset; please use addItem() and unset() to add or remove items from the collection');
|
|
52: }
|
|
53:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\common\lib\KendoHelper.php
|
|
================================================================================
|
|
Line 23 [match: FROM ]:
|
|
21: switch ($phpToken)
|
|
22: {
|
|
>> 23: case 'j': // The day of the month, from 1 through 31
|
|
24: return 'd';
|
|
25: case 'd': // The day of the month, from 01 through 31.
|
|
|
|
Line 25 [match: FROM ]:
|
|
23: case 'j': // The day of the month, from 1 through 31
|
|
24: return 'd';
|
|
>> 25: case 'd': // The day of the month, from 01 through 31.
|
|
26: return 'dd';
|
|
27: case 'D': // The abbreviated name of the day of the week.
|
|
|
|
Line 31 [match: FROM ]:
|
|
29: case 'l': // The full name of the day of the week.
|
|
30: return 'dddd';
|
|
>> 31: case 'n': // The month, from 1 through 12.
|
|
32: return 'M';
|
|
33: case 'm': // The month, from 01 through 12.
|
|
|
|
Line 33 [match: FROM ]:
|
|
31: case 'n': // The month, from 1 through 12.
|
|
32: return 'M';
|
|
>> 33: case 'm': // The month, from 01 through 12.
|
|
34: return 'MM';
|
|
35: case 'M': // The abbreviated name of the month.
|
|
|
|
Line 39 [match: FROM ]:
|
|
37: case 'F': // The full name of the month.
|
|
38: return 'MMMM';
|
|
>> 39: case 'g': // The hour, using a 12-hour clock from 1 to 12.
|
|
40: return 'h';
|
|
41: case 'h': // The hour, using a 12-hour clock from 01 to 12.
|
|
|
|
Line 41 [match: FROM ]:
|
|
39: case 'g': // The hour, using a 12-hour clock from 1 to 12.
|
|
40: return 'h';
|
|
>> 41: case 'h': // The hour, using a 12-hour clock from 01 to 12.
|
|
42: return 'hh';
|
|
43: case 'G': // The hour, using a 24-hour clock from 1 to 23.
|
|
|
|
Line 43 [match: FROM ]:
|
|
41: case 'h': // The hour, using a 12-hour clock from 01 to 12.
|
|
42: return 'hh';
|
|
>> 43: case 'G': // The hour, using a 24-hour clock from 1 to 23.
|
|
44: return 'H';
|
|
45: case 'H': // The hour, using a 24-hour clock from 01 to 23.
|
|
|
|
Line 45 [match: FROM ]:
|
|
43: case 'G': // The hour, using a 24-hour clock from 1 to 23.
|
|
44: return 'H';
|
|
>> 45: case 'H': // The hour, using a 24-hour clock from 01 to 23.
|
|
46: return 'HH';
|
|
47: case 'i': // The minute, from 00 through 59.
|
|
|
|
Line 47 [match: FROM ]:
|
|
45: case 'H': // The hour, using a 24-hour clock from 01 to 23.
|
|
46: return 'HH';
|
|
>> 47: case 'i': // The minute, from 00 through 59.
|
|
48: return 'mm';
|
|
49: case 's': // The second, from 00 through 59.
|
|
|
|
Line 49 [match: FROM ]:
|
|
47: case 'i': // The minute, from 00 through 59.
|
|
48: return 'mm';
|
|
>> 49: case 's': // The second, from 00 through 59.
|
|
50: return 'ss';
|
|
51: case 'a': // The AM/PM designator.
|
|
|
|
Line 54 [match: FROM ]:
|
|
52: case 'A':
|
|
53: return 'tt';
|
|
>> 54: case 'y': // The last two characters from year value.
|
|
55: return 'yy';
|
|
56: case 'Y': // The year full value.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\common\lib\LanguageHelper.php
|
|
================================================================================
|
|
Line 168 [match: FROM ]:
|
|
166: /**
|
|
167: * Returns the Windows locale equivalient(s) for a unix locale
|
|
>> 168: * Compiled from this resource: http://www.science.co.il/Language/Locale-codes.asp
|
|
169: *
|
|
170: * @param string $nixLocale
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\common\lib\MomentHelper.php
|
|
================================================================================
|
|
Line 46 [match: FROM ]:
|
|
44: 'U' => 'X',
|
|
45: 'u' => 'SSSSSS', // microseconds
|
|
>> 46: 'v' => 'SSS', // milliseconds (from PHP 7.0.0)
|
|
47: 'W' => 'W', // for the sake of escaping below
|
|
48: 'w' => 'e',
|
|
|
|
Line 56 [match: FROM ]:
|
|
54:
|
|
55: // Converts escaped characters.
|
|
>> 56: foreach ($replacements as $from => $to) {
|
|
57: $replacements['\\' . $from] = '[' . $from . ']';
|
|
58: }
|
|
|
|
Line 57 [match: FROM ]:
|
|
55: // Converts escaped characters.
|
|
56: foreach ($replacements as $from => $to) {
|
|
>> 57: $replacements['\\' . $from] = '[' . $from . ']';
|
|
58: }
|
|
59:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\data\lib\Driver\Factory\DoctrineDriver.php
|
|
================================================================================
|
|
Line 155 [match: ->select(]:
|
|
153: throw new DriverException('To filter multi-record results against a "ToMany" related data-point, your source entity cannot have a composite primary key');
|
|
154: $selectFiltersOnDBKey = time().'_filter_'.sha1(uniqid('',true));
|
|
>> 155: $filterQuery->select('distinct '.$this->_getSelectStringForSourcePKs(false).", '$selectFiltersOnDBKey'");
|
|
156:
|
|
157: $block = 1;
|
|
|
|
Line 162 [match: ->select(]:
|
|
160: else
|
|
161: {
|
|
>> 162: $filterQuery->select($this->_getSelectStringForSourcePKs());
|
|
163:
|
|
164: $block = 2;
|
|
|
|
Line 247 [match: ->select(]:
|
|
245: // get total recordset count
|
|
246: $countQuery = $this->_em()->createQueryBuilder();
|
|
>> 247: $countQuery->select('COUNT('.$this->querySourceAlias.'.'.$this->querySourceKeys[0].')');
|
|
248: $countQuery->from($this->entityNamespace.$this->querySource,$this->querySourceAlias);
|
|
249: if(sizeof($this->currentFilterGroups) && sizeof($this->currentFilterJoins) && !$hasToManyFilterJoins)
|
|
|
|
Line 272 [match: ->select(]:
|
|
270: // now get paged results
|
|
271: $orderQuery = $this->_em()->createQueryBuilder();
|
|
>> 272: $orderQuery->select("distinct ".$this->_getSelectStringForSourcePKs());
|
|
273: $orderQuery->from($this->entityNamespace.$this->querySource,$this->querySourceAlias);
|
|
274: $cantJoinForOrderBy = $this->_getJoinsThatAreToManyOrJoinedThroughToMany();
|
|
|
|
Line 388 [match: ->select(]:
|
|
386:
|
|
387:
|
|
>> 388: $selectQuery->select($this->_getSelectStringFromCurrentSelects(false));
|
|
389: $selectQuery->from($this->entityNamespace.$this->querySource,$this->querySourceAlias);
|
|
390: if(sizeof($this->currentFilterGroups) && sizeof($this->currentFilterJoins) && !$hasToManyFilterJoins)
|
|
|
|
Line 192 [match: FROM ]:
|
|
190:
|
|
191:
|
|
>> 192: $filterQuerySQL = 'INSERT INTO '.$this->memoryTable.' ('.$this->memoryTableID.', '.$this->memoryTableSearchID.') SELECT '.$this->querySourceKeys[array_keys($this->querySourceKeys)[0]].'_0, sclr_1 FROM ('.$filterQuerySQL.') a';
|
|
193: $filterQueryParams = [];
|
|
194: /* @var $Param \Doctrine\ORM\Query\Parameter */
|
|
|
|
Line 237 [match: FROM ]:
|
|
235: // if running a separate record filter query, and that entity has multiiple PK fields, will have to use ORs with ANDs on the keys instead of an "IN"
|
|
236: if(isset($selectFilters) && !sizeof($selectFilters))
|
|
>> 237: { // separate filter query was run, but no records were returned from it
|
|
238: $Recordset = [];
|
|
239: }
|
|
|
|
Line 518 [match: FROM ]:
|
|
516: if(sizeof($this->currentFilterGroups['root']->filters) > 1)
|
|
517: $whereExpr = $this->_applyCurrentFiltersPart($query, $this->currentFilterGroups['root'], $currentParameterPosition);
|
|
>> 518: else // the data factory always creates a root group; so if there's only a single item under the group, do not include the grouping logic from the root group
|
|
519: {
|
|
520: $SingleFilter = $this->currentFilterGroups['root']->filters[0];
|
|
|
|
Line 792 [match: FROM ]:
|
|
790: private function _deleteQuerySearchResultsOnDB($search_id)
|
|
791: {
|
|
>> 792: $this->_em()->getConnection()->executeQuery("DELETE FROM ".$this->memoryTable." WHERE ".$this->memoryTableSearchID." = ?", [$search_id]);
|
|
793: }
|
|
794:
|
|
|
|
Line 57 [match: SELECT ]:
|
|
55: {
|
|
56: if($type !== 'left')
|
|
>> 57: throw new DriverException('doctrine addSelectJoinToCurrentQuery currently only supports left joins in select due to use-case where joins can be merged for non-toMany filtering and no merging strategy coded to discern what type wins');
|
|
58:
|
|
59: $joinAlias = $entitySelectQueryAlias.'_'.$joinTo;
|
|
|
|
Line 192 [match: SELECT ]:
|
|
190:
|
|
191:
|
|
>> 192: $filterQuerySQL = 'INSERT INTO '.$this->memoryTable.' ('.$this->memoryTableID.', '.$this->memoryTableSearchID.') SELECT '.$this->querySourceKeys[array_keys($this->querySourceKeys)[0]].'_0, sclr_1 FROM ('.$filterQuerySQL.') a';
|
|
193: $filterQueryParams = [];
|
|
194: /* @var $Param \Doctrine\ORM\Query\Parameter */
|
|
|
|
Line 375 [match: SELECT ]:
|
|
373: else
|
|
374: {
|
|
>> 375: // final query to select requested fields
|
|
376: $selectQuery = $this->_em()->createQueryBuilder();
|
|
377:
|
|
|
|
Line 192 [match: INSERT INTO]:
|
|
190:
|
|
191:
|
|
>> 192: $filterQuerySQL = 'INSERT INTO '.$this->memoryTable.' ('.$this->memoryTableID.', '.$this->memoryTableSearchID.') SELECT '.$this->querySourceKeys[array_keys($this->querySourceKeys)[0]].'_0, sclr_1 FROM ('.$filterQuerySQL.') a';
|
|
193: $filterQueryParams = [];
|
|
194: /* @var $Param \Doctrine\ORM\Query\Parameter */
|
|
|
|
Line 792 [match: DELETE FROM]:
|
|
790: private function _deleteQuerySearchResultsOnDB($search_id)
|
|
791: {
|
|
>> 792: $this->_em()->getConnection()->executeQuery("DELETE FROM ".$this->memoryTable." WHERE ".$this->memoryTableSearchID." = ?", [$search_id]);
|
|
793: }
|
|
794:
|
|
|
|
Line 57 [match: LEFT JOIN]:
|
|
55: {
|
|
56: if($type !== 'left')
|
|
>> 57: throw new DriverException('doctrine addSelectJoinToCurrentQuery currently only supports left joins in select due to use-case where joins can be merged for non-toMany filtering and no merging strategy coded to discern what type wins');
|
|
58:
|
|
59: $joinAlias = $entitySelectQueryAlias.'_'.$joinTo;
|
|
|
|
Line 95 [match: LEFT JOIN]:
|
|
93: {
|
|
94: if($type !== 'left')
|
|
>> 95: throw new DriverException('doctrine addSelectJoinToCurrentQuery currently only supports left joins in filter due to use-case where joins can be merged for non-toMany filtering and no merging strategy coded to discern what type wins');
|
|
96:
|
|
97: $joinAlias = $entityFilterQueryAlias.'_'.$joinTo;
|
|
|
|
Line 177 [match: getQuery()]:
|
|
175:
|
|
176: try {
|
|
>> 177: $filterQuerySQL = $filterQuery->getQuery()->getSQL();
|
|
178: }
|
|
179: catch (\Throwable $e)
|
|
|
|
Line 231 [match: getQuery()]:
|
|
229: else
|
|
230: {
|
|
>> 231: $selectFilters = $filterQuery->getQuery()->getResult(Query::HYDRATE_ARRAY);
|
|
232: }
|
|
233: }
|
|
|
|
Line 268 [match: getQuery()]:
|
|
266: $this->_applyCurrentFilters($countQuery);
|
|
267: }
|
|
>> 268: $pagedTotalRecordsetCount = $countQuery->getQuery()->getSingleScalarResult();
|
|
269:
|
|
270: // now get paged results
|
|
|
|
Line 325 [match: getQuery()]:
|
|
323:
|
|
324:
|
|
>> 325: // dd($orderQuery->getQuery()->getSQL());
|
|
326:
|
|
327: if(!is_null($this->pagingCount))
|
|
|
|
Line 334 [match: getQuery()]:
|
|
332: try {
|
|
333:
|
|
>> 334: $selectFilters = $orderQuery->getQuery()->getResult(Query::HYDRATE_ARRAY);
|
|
335:
|
|
336: $keysByID = array_flip($this->querySourceKeys);
|
|
|
|
Line 359 [match: getQuery()]:
|
|
357: throw $e;
|
|
358:
|
|
>> 359: dd("QUERY 1",$this->querySourceKeys, $this->currentSelectOrderBys,$this->_getSelectStringForSourcePKs(), $this->querySourceAlias,$this->querySourceKeys, $orderQuery->getQuery()->getSQL(),$e);
|
|
360: }
|
|
361:
|
|
|
|
Line 437 [match: getQuery()]:
|
|
435: }
|
|
436: try {
|
|
>> 437: $Recordset = $selectQuery->getQuery()->getResult(Query::HYDRATE_ARRAY);
|
|
438: }
|
|
439: catch(\Throwable $e)
|
|
|
|
Line 444 [match: getQuery()]:
|
|
442: throw $e;
|
|
443:
|
|
>> 444: $query = $selectQuery->getQuery();
|
|
445:
|
|
446: //dd( $query->getParameters());
|
|
|
|
Line 467 [match: getQuery()]:
|
|
465:
|
|
466: dd("QUERY 2",$sql, $selectFilters,
|
|
>> 467: "STRING".strlen($selectQuery->getQuery()->getSQL()),$selectQuery->getQuery()->getSQL(),
|
|
468: $this->_getSelectStringFromCurrentSelects(),
|
|
469: $this->currentSelectByAlias,
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\data\lib\Driver\Factory\DriverInterface.php
|
|
================================================================================
|
|
Line 18 [match: SELECT ]:
|
|
16: * Sets the source of the query (aka "FROM"). The driver will return an alias for this source table that
|
|
17: * should be used in any other function call where you must reference this source instance. This alias
|
|
>> 18: * will be applicable to both select and filter operations.
|
|
19: *
|
|
20: * @param string $sourceName The "table" that the data retrieval will be sourced from
|
|
|
|
Line 28 [match: SELECT ]:
|
|
26:
|
|
27: /**
|
|
>> 28: * Adds a field to select to the current query. It is required that the driver can deal with
|
|
29: * duplicatated requests to this function without causing errors or duplicated fields in the results.
|
|
30: *
|
|
|
|
Line 31 [match: SELECT ]:
|
|
29: * duplicatated requests to this function without causing errors or duplicated fields in the results.
|
|
30: *
|
|
>> 31: * @param string $entitySelectQueryAlias The "table" alias this field belongs to for select operations
|
|
32: * @param string $fieldName The field to select
|
|
33: *
|
|
|
|
Line 39 [match: SELECT ]:
|
|
37:
|
|
38: /**
|
|
>> 39: * Adds a join "table" to the "table" alias provided for select operations
|
|
40: *
|
|
41: * @param string $entitySelectQueryAlias The alias of an existing "table" in the query for select operations that will be the source of the join
|
|
|
|
Line 41 [match: SELECT ]:
|
|
39: * Adds a join "table" to the "table" alias provided for select operations
|
|
40: *
|
|
>> 41: * @param string $entitySelectQueryAlias The alias of an existing "table" in the query for select operations that will be the source of the join
|
|
42: * @param string $joinTo The "table" to join to
|
|
43: * @param boolean $toMany The relationship that this join is for could result in multiple records or not
|
|
|
|
Line 46 [match: SELECT ]:
|
|
44: * @param string $type The type of join to perform; default is left
|
|
45: *
|
|
>> 46: * @return string The alias in the query to the $joinTo table provided for select operations
|
|
47: */
|
|
48: public function addSelectJoinToCurrentQuery($entitySelectQueryAlias, $joinTo, $toMany, $type = 'left');
|
|
|
|
Line 100 [match: SELECT ]:
|
|
98: /**
|
|
99: * Executes the driver's current query and puts the results into the array provided. Filters will be applied
|
|
>> 100: * first to retrieve the applicable source records and then these source records will be displayed per select criteria
|
|
101: *
|
|
102: * @param \Savvior\Data\RecordListResult $Recordset The recordlist object to set the data results on (->setData())
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\data\lib\Driver\Handler\DoctrineDriver.php
|
|
================================================================================
|
|
Line 306 [match: FROM ]:
|
|
304: if($associationInfo->reverseToMany) // many to many
|
|
305: {
|
|
>> 306: if($DoctrineReverseFetchMode === ClassMetadataInfo::FETCH_EXTRA_LAZY || $CurrentAssociatedEntities[$CurrentAssociatedEntitiesIndex]->{"get".ucfirst(StringHelper::stripNonAlpha($associationInfo->reverseAssociationName))}()->isInitialized()) // if it's not initialized, we don't want to cause all related items to be loaded from the DB since it's not the owning side
|
|
307: {
|
|
308: $CurrentAssociatedEntities[$CurrentAssociatedEntitiesIndex]->{"remove".ucfirst(StringHelper::stripNonAlpha($associationInfo->reverseAssociationName))}($Entity);
|
|
|
|
Line 312 [match: FROM ]:
|
|
310: elseif($ReverseAssocIsOwningSide)
|
|
311: {
|
|
>> 312: // since the reverse side is owning, we must do something to remove these (since removing them from the non-owning collection won't cause any db updates); and yet we don't want to load everything associated to the inverse association
|
|
313: $ManualDeleteQueryParams = [];
|
|
314: $ManualDeleteQueryWhereParts = [];
|
|
|
|
Line 339 [match: FROM ]:
|
|
337: if(!$ReverseSidePKFieldValNotNullCount)
|
|
338: continue; // should never happen, but still doing this check to never risk a rogue delete statement with too loose of a where condition
|
|
>> 339: $ManualDeleteQuery = "DELETE FROM ".$ReverseAssocClassMetadata['joinTable']['name']." WHERE ".implode(' AND ', $ManualDeleteQueryWhereParts);
|
|
340: $this->_em()->getConnection()->executeQuery($ManualDeleteQuery, $ManualDeleteQueryParams);
|
|
341: }
|
|
|
|
Line 361 [match: FROM ]:
|
|
359: }
|
|
360: }
|
|
>> 361: if($RemoveToManyEntitySide) // entity object will now be null since it has been removed entirely, so can't call this here; doctrine will clean this up automatically for successive ->get calls to this association from $Entity
|
|
362: $Entity->{"remove".ucfirst(StringHelper::stripNonAlpha($associationName))}($CurrentAssociatedEntities[$CurrentAssociatedEntitiesIndex]);
|
|
363: }
|
|
|
|
Line 408 [match: FROM ]:
|
|
406: {
|
|
407: $DoctrineAssocFetchMode = $this->_em()->getClassMetadata(get_class($Entity))->getAssociationMapping($associationName)['fetch'];
|
|
>> 408: if($DoctrineAssocFetchMode === ClassMetadataInfo::FETCH_EXTRA_LAZY || $ExistingOneToManyObj->{"get".ucfirst(StringHelper::stripNonAlpha($associationName))}()->isInitialized()) // if it's not initialized, we don't want to cause all related items to be loaded from the DB since it's not the owning side
|
|
409: $ExistingOneToManyObj->{"remove".ucfirst(StringHelper::stripNonAlpha($associationName))}($AddedToManyAssociationEntities[$i]);
|
|
410: }
|
|
|
|
Line 422 [match: FROM ]:
|
|
420: $DoChange = false;
|
|
421: if(is_object($CurrentAssociatedEntity) && !sizeof($associationEntityInfo->pks))
|
|
>> 422: $DoChange = true; // going from set to null
|
|
423: elseif(!is_object($CurrentAssociatedEntity) && sizeof($associationEntityInfo->pks))
|
|
424: $DoChange = true; // going from null to set existing record
|
|
|
|
Line 424 [match: FROM ]:
|
|
422: $DoChange = true; // going from set to null
|
|
423: elseif(!is_object($CurrentAssociatedEntity) && sizeof($associationEntityInfo->pks))
|
|
>> 424: $DoChange = true; // going from null to set existing record
|
|
425: elseif(!is_object($CurrentAssociatedEntity) && !sizeof($associationEntityInfo->pks) && (isset($this->_fieldChanges[$associationEntityInfo->ref]) || sizeof($associationEntityInfo->assoc)))
|
|
426: $DoChange = true; // going from null to set new record
|
|
|
|
Line 426 [match: FROM ]:
|
|
424: $DoChange = true; // going from null to set existing record
|
|
425: elseif(!is_object($CurrentAssociatedEntity) && !sizeof($associationEntityInfo->pks) && (isset($this->_fieldChanges[$associationEntityInfo->ref]) || sizeof($associationEntityInfo->assoc)))
|
|
>> 426: $DoChange = true; // going from null to set new record
|
|
427: elseif(is_object($CurrentAssociatedEntity) && !sizeof($associationEntityInfo->pks) && (isset($this->_fieldChanges[$associationEntityInfo->ref]) || sizeof($associationEntityInfo->assoc)))
|
|
428: $DoChange = true; // going from set to set new record
|
|
|
|
Line 428 [match: FROM ]:
|
|
426: $DoChange = true; // going from null to set new record
|
|
427: elseif(is_object($CurrentAssociatedEntity) && !sizeof($associationEntityInfo->pks) && (isset($this->_fieldChanges[$associationEntityInfo->ref]) || sizeof($associationEntityInfo->assoc)))
|
|
>> 428: $DoChange = true; // going from set to set new record
|
|
429: elseif(is_object($CurrentAssociatedEntity) && sizeof($associationEntityInfo->pks) && !$this->_doPKsMatchEntityPKs($associationEntityInfo->pks, $CurrentAssociatedEntity))
|
|
430: $DoChange = true; // going from set to set existing record (that does not have the same PKs as this record)
|
|
|
|
Line 430 [match: FROM ]:
|
|
428: $DoChange = true; // going from set to set new record
|
|
429: elseif(is_object($CurrentAssociatedEntity) && sizeof($associationEntityInfo->pks) && !$this->_doPKsMatchEntityPKs($associationEntityInfo->pks, $CurrentAssociatedEntity))
|
|
>> 430: $DoChange = true; // going from set to set existing record (that does not have the same PKs as this record)
|
|
431:
|
|
432: if($DoChange)
|
|
|
|
Line 434 [match: FROM ]:
|
|
432: if($DoChange)
|
|
433: {
|
|
>> 434: if(isset($NewAssociatedEntity)) // unsets any "reference" to entity from previous loop iteration where it may have been assigned (the !$DoChange case sets a reference using this same variable that will have carried over here when this code is called again in the same loop)
|
|
435: unset($NewAssociatedEntity);
|
|
436: $NewAssociatedEntity = null; // sets up new memory location to null (instead of setting existing entity to null)
|
|
|
|
Line 444 [match: FROM ]:
|
|
442: {
|
|
443: $DoctrineReverseFetchMode = $this->_em()->getClassMetadata($this->entityNamespace.$associationEntityInfo->name)->getAssociationMapping($associationInfo->reverseAssociationName)['fetch'];
|
|
>> 444: if($DoctrineReverseFetchMode === ClassMetadataInfo::FETCH_EXTRA_LAZY || $CurrentAssociatedEntity->{"get".ucfirst(StringHelper::stripNonAlpha($associationInfo->reverseAssociationName))}()->isInitialized()) // if it's not initialized, we don't want to cause all related items to be loaded from the DB since it's not the owning side
|
|
445: $CurrentAssociatedEntity->{"remove".ucfirst(StringHelper::stripNonAlpha($associationInfo->reverseAssociationName))}($Entity);
|
|
446: }
|
|
|
|
Line 97 [match: UPDATE ]:
|
|
95: {
|
|
96: if(!$this->_disableFlush && !EMHelper::isEmClear($this->_em()))
|
|
>> 97: throw new DriverException('The Entity Manager has un-flushed changes. Please flush them before making an insert/update call. They will still be included in this transaction.');
|
|
98:
|
|
99: list($query, $params) = $this->_buildSelectQuery(true);
|
|
|
|
Line 384 [match: UPDATE ]:
|
|
382: $AddedToManyAssociationEntities[] = $this->_em()->getRepository($this->entityNamespace.$associationInfo->entities[$AssociatedEntityInfoIndex]->name)->findOneBy($associationInfo->entities[$AssociatedEntityInfoIndex]->pks);
|
|
383: $ThisAddedEntity =& $AddedToManyAssociationEntities[sizeof($AddedToManyAssociationEntities)-1];
|
|
>> 384: if(is_object($ThisAddedEntity)) // found specified record; update it
|
|
385: {
|
|
386: $this->_saveEntity($ThisAddedEntity, $associationInfo->entities[$AssociatedEntityInfoIndex]);
|
|
|
|
Line 464 [match: UPDATE ]:
|
|
462: {
|
|
463: $NewAssociatedEntity = $this->_em()->getRepository($this->entityNamespace.$associationEntityInfo->name)->findOneBy($associationEntityInfo->pks);
|
|
>> 464: if(is_object($NewAssociatedEntity)) // found specified record; update it
|
|
465: {
|
|
466: $this->_saveEntity($NewAssociatedEntity, $associationEntityInfo);
|
|
|
|
Line 497 [match: UPDATE ]:
|
|
495: {
|
|
496: $NewAssociatedEntity =& $CurrentAssociatedEntity;
|
|
>> 497: // nothing changed; if it's a set entity, just update any related data
|
|
498: if(is_object($NewAssociatedEntity))
|
|
499: $this->_saveEntity($NewAssociatedEntity, $associationEntityInfo);
|
|
|
|
Line 339 [match: DELETE FROM]:
|
|
337: if(!$ReverseSidePKFieldValNotNullCount)
|
|
338: continue; // should never happen, but still doing this check to never risk a rogue delete statement with too loose of a where condition
|
|
>> 339: $ManualDeleteQuery = "DELETE FROM ".$ReverseAssocClassMetadata['joinTable']['name']." WHERE ".implode(' AND ', $ManualDeleteQueryWhereParts);
|
|
340: $this->_em()->getConnection()->executeQuery($ManualDeleteQuery, $ManualDeleteQueryParams);
|
|
341: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\data\lib\Driver\Handler\DriverInterface.php
|
|
================================================================================
|
|
Line 35 [match: FROM ]:
|
|
33: * @param mixed $driverEntityRef An internal identifier passed back through "setSourceEntity" or "setAssociatedEntity" that references the entity to add the association to
|
|
34: * @param string $associationName The name of the association to add to the entity
|
|
>> 35: * @param string $reverseAssociationName The name of the association from the entity you are adding back to the entity it is being added to
|
|
36: * @param boolean $IsToMany Whether or not the association from the specified entity maps to multiple entities or not
|
|
37: * @param boolean $ReverseToMany Whether or not any given entity this association maps to maps to multiple entities through the reverse association or not
|
|
|
|
Line 36 [match: FROM ]:
|
|
34: * @param string $associationName The name of the association to add to the entity
|
|
35: * @param string $reverseAssociationName The name of the association from the entity you are adding back to the entity it is being added to
|
|
>> 36: * @param boolean $IsToMany Whether or not the association from the specified entity maps to multiple entities or not
|
|
37: * @param boolean $ReverseToMany Whether or not any given entity this association maps to maps to multiple entities through the reverse association or not
|
|
38: * @param boolean $IsRequired Whether or not this association is required (must have at least one entity mapped to it)
|
|
|
|
Line 39 [match: FROM ]:
|
|
37: * @param boolean $ReverseToMany Whether or not any given entity this association maps to maps to multiple entities through the reverse association or not
|
|
38: * @param boolean $IsRequired Whether or not this association is required (must have at least one entity mapped to it)
|
|
>> 39: * @param boolean $CascadeDelete Whether or not entities mapped through this association are intended to be deleted should the entity the association is from be deleted
|
|
40: *
|
|
41: * @return void
|
|
|
|
Line 51 [match: UPDATE ]:
|
|
49: * @param mixed $driverEntityRef An internal identifier passed back through "setSourceEntity" or "setAssociatedEntity" that references the entity that the association we are adding the entity exists on
|
|
50: * @param string $associationName The name of the association that has already been added to the entity
|
|
>> 51: * @param string $entityName The name of the entity to include in this update off of this association
|
|
52: * @param array $PKVals An array of identifier(s) that uniquely represent the associated entity; this should be empty to indicate a new entity will be created
|
|
53: *
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\data\lib\DataFactory.php
|
|
================================================================================
|
|
Line 463 [match: FROM ]:
|
|
461: else
|
|
462: throw new DataFactoryException('The field metadata received was not recognized');
|
|
>> 463: } // otherwise skip this field from being selected as it's not supported by the current data driver
|
|
464: }
|
|
465: }
|
|
|
|
Line 495 [match: SELECT ]:
|
|
493: {
|
|
494: if(!isset($associationFields[$displayField]))
|
|
>> 495: throw new DataFactoryException('Field '.$displayField.' is either specified in the display mask or set as a field to select for association '.$associationMetadata->getName().' on '.$entityMetadata->getName().' but is not a field in '.$associationEntity->getName());
|
|
496: $thisAssociatedField = $associationFields[$displayField];
|
|
497: if($this->_validateFieldDriverCompatibility($associationEntity->getField($displayField)->getDriverLoadedBy(), $dataDriver))
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\data\lib\DataHandler.php
|
|
================================================================================
|
|
Line 390 [match: FROM ]:
|
|
388: if($fieldMetadata->isTypeDateTime() && $hasTimeComponent)
|
|
389: $fieldValue .= " ".$timeComponentValue;
|
|
>> 390: if($fieldValue) // to prevent blank values from being set to today/now
|
|
391: $fieldValue = new \DateTime($fieldValue);
|
|
392: else
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\doctrine\lib\Util\DBUpdater.php
|
|
================================================================================
|
|
Line 66 [match: UPDATE ]:
|
|
64: {
|
|
65: if($this->updateDB($SQLChanges))
|
|
>> 66: echo chr(10).chr(10)."Database update complete.".chr(10).chr(10);
|
|
67: else
|
|
68: echo chr(10).chr(10)."An error was encountered while updating the database.".chr(10).chr(10);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\doctrine\lib\Util\Generator.php
|
|
================================================================================
|
|
Line 152 [match: FROM ]:
|
|
150: closedir($InDir);
|
|
151:
|
|
>> 152: // generate entities from yml
|
|
153: $DCMetadataFactory = new DisconnectedClassMetadataFactory();
|
|
154: $DCMetadataFactory->setEntityManager($this->EM);
|
|
|
|
Line 179 [match: FROM ]:
|
|
177: endif;
|
|
178:
|
|
>> 179: // generate proxies from yml and entities
|
|
180: $this->EM->getProxyFactory()->generateProxyClasses($this->EM->getMetadataFactory()->getAllMetadata(), $proxiesSubDir);
|
|
181:
|
|
|
|
Line 454 [match: FROM ]:
|
|
452: if(!file_exists($Dest.DIRECTORY_SEPARATOR.$SF) || $Overwrite):
|
|
453: if(file_exists($Dest.DIRECTORY_SEPARATOR.$SF)):
|
|
>> 454: echo 'OVERWRITING '.$DestSubFolder.DIRECTORY_SEPARATOR.$SF.' from source.'.chr(10);
|
|
455: else:
|
|
456: echo 'ADDING '.$DestSubFolder.DIRECTORY_SEPARATOR.$SF.' from srouce.'.chr(10);
|
|
|
|
Line 456 [match: FROM ]:
|
|
454: echo 'OVERWRITING '.$DestSubFolder.DIRECTORY_SEPARATOR.$SF.' from source.'.chr(10);
|
|
455: else:
|
|
>> 456: echo 'ADDING '.$DestSubFolder.DIRECTORY_SEPARATOR.$SF.' from srouce.'.chr(10);
|
|
457: endif;
|
|
458: copy($SFPath, $Dest.DIRECTORY_SEPARATOR.$SF);
|
|
|
|
Line 182 [match: UPDATE ]:
|
|
180: $this->EM->getProxyFactory()->generateProxyClasses($this->EM->getMetadataFactory()->getAllMetadata(), $proxiesSubDir);
|
|
181:
|
|
>> 182: // update db
|
|
183: if($this->updateProjectDBPrompt):
|
|
184: echo chr(10).chr(10);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\bin\array.php
|
|
================================================================================
|
|
Line 79 [match: SELECT ]:
|
|
77: //new \Savvior\FormBuilder\InputValidator\MaxValue(new DateTime('01/01/1999 20:30:00'), 'm/d/Y H:i:s')
|
|
78: ]))->setValue(new DateTime('2016-05-21 13:00:00')),
|
|
>> 79: (new \Savvior\FormBuilder\Element\Input\ItemSelect('owned_cars_multi', 'Multi-Select - Which cars have you owned?', [
|
|
80: new \Savvior\FormBuilder\InputValidator\MaxResponses(5),
|
|
81: new \Savvior\FormBuilder\InputValidator\MinResponses(2),
|
|
|
|
Line 201 [match: SELECT ]:
|
|
199: new \Savvior\FormBuilder\InputValidator\MaxValue(new DateTime('01/01/1999 20:30:00'), 'm/d/Y H:i:s')
|
|
200: ]))->setValue(new DateTime('2016-05-21 13:00:00')),
|
|
>> 201: (new \Savvior\FormBuilder\Element\Input\ItemSelect('owned_cars_multi_clone', 'Multi-Select - Which cars have you owned?', [
|
|
202: new \Savvior\FormBuilder\InputValidator\MaxResponses(3),
|
|
203: new \Savvior\FormBuilder\InputValidator\MinResponses(2),
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\bin\bootstrap3.php
|
|
================================================================================
|
|
Line 82 [match: SELECT ]:
|
|
80: //new \Savvior\FormBuilder\InputValidator\MaxValue(new DateTime('01/01/1999 20:30:00'), 'm/d/Y H:i:s')
|
|
81: ]))->setValue(new DateTime('2016-05-21 13:00:00')),
|
|
>> 82: (new \Savvior\FormBuilder\Element\Input\ItemSelect('owned_cars_multi', 'Multi-Select - Which cars have you owned?', [
|
|
83: new \Savvior\FormBuilder\InputValidator\MaxResponses(5),
|
|
84: new \Savvior\FormBuilder\InputValidator\MinResponses(2),
|
|
|
|
Line 204 [match: SELECT ]:
|
|
202: new \Savvior\FormBuilder\InputValidator\MaxValue(new DateTime('01/01/1999 20:30:00'), 'm/d/Y H:i:s')
|
|
203: ]))->setValue(new DateTime('2016-05-21 13:00:00')),
|
|
>> 204: (new \Savvior\FormBuilder\Element\Input\ItemSelect('owned_cars_multi_clone', 'Multi-Select - Which cars have you owned?', [
|
|
205: new \Savvior\FormBuilder\InputValidator\MaxResponses(3),
|
|
206: new \Savvior\FormBuilder\InputValidator\MinResponses(2),
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\bin\bootstrap3_display.php
|
|
================================================================================
|
|
Line 28 [match: SELECT ]:
|
|
26: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('datetime', 'Datetime Picker'),
|
|
27: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('time', 'Time Picker'),
|
|
>> 28: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('owned_cars_multi', 'Multi-Select - Which cars have you owned?'),
|
|
29: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('int', 'Int'),
|
|
30: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('unsigned_int', 'Unsigned Int'),
|
|
|
|
Line 63 [match: SELECT ]:
|
|
61: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('datetime_clone', 'Datetime Picker'),
|
|
62: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('time_clone', 'Time Picker'),
|
|
>> 63: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('owned_cars_multi_clone', 'Multi-Select - Which cars have you owned?'),
|
|
64: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('int_clone', 'Int'),
|
|
65: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('unsigned_int_clone', 'Unsigned Int'),
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\bin\bootstrap4.php
|
|
================================================================================
|
|
Line 82 [match: SELECT ]:
|
|
80: //new \Savvior\FormBuilder\InputValidator\MaxValue(new DateTime('01/01/1999 20:30:00'), 'm/d/Y H:i:s')
|
|
81: ]))->setValue(new DateTime('2016-05-21 13:00:00')),
|
|
>> 82: (new \Savvior\FormBuilder\Element\Input\ItemSelect('owned_cars_multi', 'Multi-Select - Which cars have you owned?', [
|
|
83: new \Savvior\FormBuilder\InputValidator\MaxResponses(5),
|
|
84: new \Savvior\FormBuilder\InputValidator\MinResponses(2),
|
|
|
|
Line 204 [match: SELECT ]:
|
|
202: new \Savvior\FormBuilder\InputValidator\MaxValue(new DateTime('01/01/1999 20:30:00'), 'm/d/Y H:i:s')
|
|
203: ]))->setValue(new DateTime('2016-05-21 13:00:00')),
|
|
>> 204: (new \Savvior\FormBuilder\Element\Input\ItemSelect('owned_cars_multi_clone', 'Multi-Select - Which cars have you owned?', [
|
|
205: new \Savvior\FormBuilder\InputValidator\MaxResponses(3),
|
|
206: new \Savvior\FormBuilder\InputValidator\MinResponses(2),
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\bin\bootstrap4_display.php
|
|
================================================================================
|
|
Line 28 [match: SELECT ]:
|
|
26: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('datetime', 'Datetime Picker'),
|
|
27: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('time', 'Time Picker'),
|
|
>> 28: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('owned_cars_multi', 'Multi-Select - Which cars have you owned?'),
|
|
29: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('int', 'Int'),
|
|
30: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('unsigned_int', 'Unsigned Int'),
|
|
|
|
Line 63 [match: SELECT ]:
|
|
61: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('datetime_clone', 'Datetime Picker'),
|
|
62: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('time_clone', 'Time Picker'),
|
|
>> 63: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('owned_cars_multi_clone', 'Multi-Select - Which cars have you owned?'),
|
|
64: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('int_clone', 'Int'),
|
|
65: new \Savvior\FormBuilder\Element\Input\Display\DisplayInput('unsigned_int_clone', 'Unsigned Int'),
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\lib\Element\Input\InputInterface.php
|
|
================================================================================
|
|
Line 12 [match: SELECT ]:
|
|
10: const HTML_TYPE_INPUT_RADIO = 101;
|
|
11: const HTML_TYPE_INPUT_CHECKBOX = 102;
|
|
>> 12: const HTML_TYPE_SELECT = 103;
|
|
13: const HTML_TYPE_TEXT_AREA = 104;
|
|
14: const HTML_TYPE_INPUT_FILE = 105;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\lib\Element\Input\ItemSelect.php
|
|
================================================================================
|
|
Line 5 [match: SELECT ]:
|
|
3: use Savvior\FormBuilder\InputValidator\Required;
|
|
4:
|
|
>> 5: class ItemSelect extends BasicInput
|
|
6: {
|
|
7: protected $primaryType = InputInterface::HTML_TYPE_SELECT;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\form-builder\lib\Element\Input\SingleFile.php
|
|
================================================================================
|
|
Line 36 [match: SELECT ]:
|
|
34: if(is_null($this->selectFileButton))
|
|
35: {
|
|
>> 36: $this->selectFileButton = (new Button(LaravelTranslationHelper::translate('Select File')))
|
|
37: ->setType(Button::TYPE_SUCCESS)
|
|
38: ->setSize(Button::SIZE_SMALL)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSource.php
|
|
================================================================================
|
|
Line 99 [match: FROM ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * The page of data which the data source will return when the view method is invoked or request from the remote service.
|
|
100: * @param float $value
|
|
101: * @return \Kendo\Data\DataSource
|
|
|
|
Line 180 [match: FROM ]:
|
|
178:
|
|
179: /**
|
|
>> 180: * The configuration used to load and save the data items. A data source is remote or local based on the way it retrieves data items.Remote data sources load and save data items from and to a remote end-point (also known as remote service or server). The transport option describes the remote service configuration - URL, HTTP verb, HTTP headers, and others. The transport option can also be used to implement custom data loading and saving.Local data sources are bound to a JavaScript array via the data option.
|
|
181: * @param \Kendo\Data\DataSourceTransport|array $value
|
|
182: * @return \Kendo\Data\DataSource
|
|
|
|
Line 199 [match: FROM ]:
|
|
197: /**
|
|
198: * Sets the change event of the DataSource.
|
|
>> 199: * Fired when the data source is populated from a JavaScript array or a remote service, a data item is inserted, updated or removed, the data items are paged, sorted, filtered, or grouped.The event handler function context (available via the this keyword) will be set to the data source instance.
|
|
200: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
201: * @return \Kendo\Data\DataSource
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSourceSchema.php
|
|
================================================================================
|
|
Line 13 [match: FROM ]:
|
|
11:
|
|
12: /**
|
|
>> 13: * The field from the response which contains the aggregate results. Can be set to a function which is called to return the aggregate results from the response.The result of the function should be a JavaScript object which contains the aggregate results for every field in the following format:For example, if the data source is configured like this:The aggregate results should have the following format:
|
|
14: * @param \Kendo\JavaScriptFunction|string $value
|
|
15: * @return \Kendo\Data\DataSourceSchema
|
|
|
|
Line 22 [match: FROM ]:
|
|
20:
|
|
21: /**
|
|
>> 22: * The field from the server response which contains the data items. Can be set to a function which is called to return the data items for the response.
|
|
23: * @param \Kendo\JavaScriptFunction|string $value
|
|
24: * @return \Kendo\Data\DataSourceSchema
|
|
|
|
Line 31 [match: FROM ]:
|
|
29:
|
|
30: /**
|
|
>> 31: * The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response. If there are any errors, the error event will be fired.
|
|
32: * @param \Kendo\JavaScriptFunction|string $value
|
|
33: * @return \Kendo\Data\DataSourceSchema
|
|
|
|
Line 40 [match: FROM ]:
|
|
38:
|
|
39: /**
|
|
>> 40: * The field from the server response which contains the groups. Can be set to a function which is called to return the groups from the response.The result should have the following format:
|
|
41: * @param \Kendo\JavaScriptFunction|string $value
|
|
42: * @return \Kendo\Data\DataSourceSchema
|
|
|
|
Line 63 [match: FROM ]:
|
|
61:
|
|
62: /**
|
|
>> 63: * The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response.
|
|
64: * @param \Kendo\JavaScriptFunction|string $value
|
|
65: * @return \Kendo\Data\DataSourceSchema
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSourceTransport.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * Specifies if the transport caches the result from read requests. The query parameters are used as a cache key and if the key is present in the cache, a new request to the server is not executed. The cache is kept in memory and, thus, cleared on page refresh.
|
|
19: * @param boolean $value
|
|
20: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The configuration used when the data source destroys data items. Those are items removed from the data source via the remove method.If the value of transport.destroy is a function, the data source invokes that function instead of jQuery.ajax.If the value of transport.destroy is a string, the data source uses this string as the URL of the remote service.
|
|
37: * @param string|\Kendo\JavaScriptFunction|\Kendo\Data\DataSourceTransportDestroy|array $value
|
|
38: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
Line 46 [match: FROM ]:
|
|
44: /**
|
|
45: * Sets the parameterMap option of the DataSourceTransport.
|
|
>> 46: * The function which converts the request parameters to a format suitable for the remote service. By default, the data source sends the parameters using jQuery conventions.If a transport.read.data function is used together with parameterMap, remember to preserve the result from the data function that will be received in the parameterMap arguments. An example is provided below. Generally, the parameterMap function is designed to transform the request payload, not to add new parameters to it.
|
|
47: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
48: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
Line 60 [match: FROM ]:
|
|
58: /**
|
|
59: * Sets the push option of the DataSourceTransport.
|
|
>> 60: * The function invoked during transport initialization which sets up push notifications. The data source will call this function only once and provide callbacks which will handle push notifications (data pushed from the server).
|
|
61: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
62: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
Line 73 [match: FROM ]:
|
|
71:
|
|
72: /**
|
|
>> 73: * The configuration used when the data source loads data items from a remote service.If the value of transport.read is a function, the data source invokes that function instead of jQuery.ajax.If the value of transport.read is a string, the data source uses this string as the URL of the remote service.
|
|
74: * @param string|\Kendo\JavaScriptFunction|\Kendo\Data\DataSourceTransportRead|array $value
|
|
75: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
Line 83 [match: UPDATE ]:
|
|
81: /**
|
|
82: * Sets the submit option of the DataSourceTransport.
|
|
>> 83: * A function that will handle create, update and delete operations in a single batch when custom transport is used, that is, the transport.read is defined as a function.The transport.create, transport.update, and transport.delete operations will not be executed in this case.
|
|
84: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
85: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
Line 96 [match: UPDATE ]:
|
|
94:
|
|
95: /**
|
|
>> 96: * The configuration used when the data source saves updated data items. Those are data items whose fields have been updated.If the value of transport.update is a function, the data source invokes that function instead of jQuery.ajax.If the value of transport.update is a string, the data source uses this string as the URL of the remote service.
|
|
97: * @param string|\Kendo\JavaScriptFunction|\Kendo\Data\DataSourceTransportUpdate|array $value
|
|
98: * @return \Kendo\Data\DataSourceTransport
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSourceTransportCreate.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The type of result expected from the server. Commonly used values are "json" and "jsonp".Refer to the jQuery.ajax documentation for further information.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Data\DataSourceTransportCreate
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSourceTransportDestroy.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The type of result expected from the server. Commonly used values are "json" and "jsonp".Refer to the jQuery.ajax documentation for further information.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Data\DataSourceTransportDestroy
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSourceTransportRead.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The type of result expected from the server. Commonly used values are "json" and "jsonp".Refer to the jQuery.ajax documentation for further information.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Data\DataSourceTransportRead
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\DataSourceTransportUpdate.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The type of result expected from the server. Commonly used values are "json" and "jsonp".Refer to the jQuery.ajax documentation for further information.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Data\DataSourceTransportUpdate
|
|
|
|
Line 5 [match: UPDATE ]:
|
|
3: namespace Kendo\Data;
|
|
4:
|
|
>> 5: class DataSourceTransportUpdate extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Data\PivotDataSourceSchema.php
|
|
================================================================================
|
|
Line 12 [match: FROM ]:
|
|
10:
|
|
11: /**
|
|
>> 12: * The field from the server response which contains the columns and rows axes data. Can be set to a function which is called to
|
|
13: return the columns and rows axes data for the response.
|
|
14: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 22 [match: FROM ]:
|
|
20:
|
|
21: /**
|
|
>> 22: * The field from the server response which contains the list of catalogs available on the server. Can be set to a function which is called to
|
|
23: return the catalogs schema information for the response. It is executed during the schema discover.
|
|
24: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 32 [match: FROM ]:
|
|
30:
|
|
31: /**
|
|
>> 32: * The field from the server response which contains the list of cubes available in the catalog. Can be set to a function which is called to
|
|
33: return the cubes schema information for the response. It is executed during the schema discover.
|
|
34: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 42 [match: FROM ]:
|
|
40:
|
|
41: /**
|
|
>> 42: * The field from the server response which contains the cells data. Can be set to a function which is called to
|
|
43: return the cells data for the response.
|
|
44: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 52 [match: FROM ]:
|
|
50:
|
|
51: /**
|
|
>> 52: * The field from the server response which contains the dimensions schema information. Can be set to a function which is called to
|
|
53: return the dimensions schema information for the response. It is executed during the schema discover.
|
|
54: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 62 [match: FROM ]:
|
|
60:
|
|
61: /**
|
|
>> 62: * The field from the server response which contains the hierarchies schema information. Can be set to a function which is called to
|
|
63: return the hierarchies schema information for the response. It is executed during the schema discover requests.
|
|
64: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * The field from the server response which contains the levels schema information. Can be set to a function which is called to
|
|
73: return the levels schema information for the response. It is executed during the schema discover.
|
|
74: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
Line 82 [match: FROM ]:
|
|
80:
|
|
81: /**
|
|
>> 82: * The field from the server response which contains the measures schema information. Can be set to a function which is called to
|
|
83: return the measures schema information for the response. It is executed during the schema discover.
|
|
84: * @param \Kendo\JavaScriptFunction|string $value
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ArcGauge.php
|
|
================================================================================
|
|
Line 79 [match: FROM ]:
|
|
77:
|
|
78: /**
|
|
>> 79: * The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
|
|
80: * @param string $value
|
|
81: * @return \Kendo\Dataviz\UI\ArcGauge
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ArcGaugeScale.php
|
|
================================================================================
|
|
Line 108 [match: FROM ]:
|
|
106:
|
|
107: /**
|
|
>> 108: * The distance from the range indicators to the ticks.
|
|
109: * @param float $value
|
|
110: * @return \Kendo\Dataviz\UI\ArcGaugeScale
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\Chart.php
|
|
================================================================================
|
|
Line 138 [match: FROM ]:
|
|
136:
|
|
137: /**
|
|
>> 138: * The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
|
|
139: * @param array $value
|
|
140: * @return \Kendo\Dataviz\UI\Chart
|
|
|
|
Line 156 [match: FROM ]:
|
|
154:
|
|
155: /**
|
|
>> 156: * The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes. More information on the built-in themes could be found in the Less-based themes article.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "fiori"; "flat"; "highcontrast"; "material"; "materialblack"; "metro"; "metroblack"; "moonlight"; "nova"; "office365"; "silver" or "uniform".
|
|
157: * @param string $value
|
|
158: * @return \Kendo\Dataviz\UI\Chart
|
|
|
|
Line 243 [match: FROM ]:
|
|
241: /**
|
|
242: * Sets the dataBound event of the Chart.
|
|
>> 243: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
244: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
245: * @return \Kendo\Dataviz\UI\Chart
|
|
|
|
Line 452 [match: SELECT ]:
|
|
450:
|
|
451: /**
|
|
>> 452: * Sets the select event of the Chart.
|
|
453: * Fired when the user modifies the selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
454: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartCategoryAxisItem.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The discrete categoryAxis.baseUnitStep values when either categoryAxis.baseUnit is set to "fit" orcategoryAxis.baseUnitStep is set to "auto".The axis will try to divide the active period into successively larger intervals. It will start from x-second intervals, where x is picked from the autoBaseUnitSteps.seconds array. Then it will move to minutes, seconds and so on. This will continue until the number of intervals is less thanmaxDateGroups.
|
|
10: * @param \Kendo\Dataviz\UI\ChartCategoryAxisItemAutoBaseUnitSteps|array $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartCategoryAxisItem
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The base time interval for the date axis. The default base unit is determined automatically from the minimum difference between subsequent categories.The supported values are: "fit"; "milliseconds"; "seconds"; "minutes"; "hours"; "days"; "weeks"; "months" or "years". Setting baseUnit to "fit" will set such base unit and categoryAxis.baseUnitStep that the total number of categories does not exceed categoryAxis.maxDateGroups.Series data is aggregated for the specified base unit using the series.aggregate function.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartCategoryAxisItem
|
|
|
|
Line 225 [match: FROM ]:
|
|
223:
|
|
224: /**
|
|
>> 225: * If set to true the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
|
|
226: * @param boolean $value
|
|
227: * @return \Kendo\Dataviz\UI\ChartCategoryAxisItem
|
|
|
|
Line 243 [match: FROM ]:
|
|
241:
|
|
242: /**
|
|
>> 243: * The selected axis range. If set, axis selection will be enabled.The range is index based, starting from 0. Categories with indexes in the range [select.from, select.to) will be selected. That is, the last category in the range will not be included in the selection.If the categories are dates, the range must also be specified with date values.
|
|
244: * @param \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect|array $value
|
|
245: * @return \Kendo\Dataviz\UI\ChartCategoryAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartCategoryAxisItemSelect.php
|
|
================================================================================
|
|
Line 5 [match: SELECT ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class ChartCategoryAxisItemSelect extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartLegend.php
|
|
================================================================================
|
|
Line 90 [match: FROM ]:
|
|
88:
|
|
89: /**
|
|
>> 90: * The Y offset of the chart legend. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from its initial position. A negative value will move the legend upwards from its current position.
|
|
91: * @param float $value
|
|
92: * @return \Kendo\Dataviz\UI\ChartLegend
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartPdf.php
|
|
================================================================================
|
|
Line 63 [match: FROM ]:
|
|
61:
|
|
62: /**
|
|
>> 63: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
64: * @param float $value
|
|
65: * @return \Kendo\Dataviz\UI\ChartPdf
|
|
|
|
Line 126 [match: FROM ]:
|
|
124:
|
|
125: /**
|
|
>> 126: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
127: * @param string $value
|
|
128: * @return \Kendo\Dataviz\UI\ChartPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesDefaultsLabels.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * The position of the labels. "above" - the label is positioned at the top of the marker. Applicable for series that render points, incl. bubble.; "below" - the label is positioned at the bottom of the marker. Applicable for series that render points, incl. bubble.; "center" - the label is positioned at the point center. Applicable for bar, column, donut, pie, funnel, radarColumn and waterfall series.; "insideBase" - the label is positioned inside, near the base of the bar. Applicable for bar, column and waterfall series.; "insideEnd" - the label is positioned inside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series.; "left" - the label is positioned to the left of the marker. Applicable for series that render points, incl. bubble.; "outsideEnd" - the label is positioned outside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.; "right" - the label is positioned to the right of the marker. Applicable for series that render points, incl. bubble.; "top" - the label is positioned at the top of the segment. Applicable for funnel series.; "bottom" - the label is positioned at the bottom of the segment. Applicable for funnel series. or "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. Applicable for rangeArea and verticalRangeArea series..
|
|
73: * @param string|\Kendo\JavaScriptFunction $value
|
|
74: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabels
|
|
|
|
Line 122 [match: FROM ]:
|
|
120: /**
|
|
121: * Sets the visual option of the ChartSeriesDefaultsLabels.
|
|
>> 122: * A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
|
|
123: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
124: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabels
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * The chart series from label configuration.
|
|
136: * @param \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom|array $value
|
|
137: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabels
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesDefaultsLabelsFrom.php
|
|
================================================================================
|
|
Line 5 [match: FROM ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class ChartSeriesDefaultsLabelsFrom extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the from labels. Accepts a valid CSS color string, including hex and rgb.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The border of the from labels.
|
|
19: * @param \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromBorder|array $value
|
|
20: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The text color of the from labels. Accepts a valid CSS color string, including hex and rgb.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The font style of the from labels.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 45 [match: FROM ]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The format of the from labels. Uses kendo.format.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 54 [match: FROM ]:
|
|
52:
|
|
53: /**
|
|
>> 54: * The margin of the from labels. A numeric value will set all margins.
|
|
55: * @param float|\Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromMargin|array $value
|
|
56: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 63 [match: FROM ]:
|
|
61:
|
|
62: /**
|
|
>> 63: * The padding of the from labels. A numeric value will set all paddings.
|
|
64: * @param float|\Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromPadding|array $value
|
|
65: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 73 [match: FROM ]:
|
|
71: /**
|
|
72: * Sets the template option of the ChartSeriesDefaultsLabelsFrom.
|
|
>> 73: * The template which renders the chart series from label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available for donut, funnel and pie series.; series - the data series; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
|
|
74: * @param string $value The id of the element which represents the kendo template.
|
|
75: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 85 [match: FROM ]:
|
|
83: /**
|
|
84: * Sets the template option of the ChartSeriesDefaultsLabelsFrom.
|
|
>> 85: * The template which renders the chart series from label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available for donut, funnel and pie series.; series - the data series; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
|
|
86: * @param string $value The template content.
|
|
87: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
Line 94 [match: FROM ]:
|
|
92:
|
|
93: /**
|
|
>> 94: * If set to true the chart will display the series from labels. By default chart series from labels are not displayed.
|
|
95: * @param boolean $value
|
|
96: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFrom
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesDefaultsLabelsFromMargin.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The bottom margin of the from labels.
|
|
10: * @param float $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromMargin
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The left margin of the from labels.
|
|
19: * @param float $value
|
|
20: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromMargin
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The right margin of the from labels.
|
|
28: * @param float $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromMargin
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The top margin of the from labels.
|
|
37: * @param float $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromMargin
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesDefaultsLabelsFromPadding.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The bottom padding of the from labels.
|
|
10: * @param float $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromPadding
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The left padding of the from labels.
|
|
19: * @param float $value
|
|
20: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromPadding
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The right padding of the from labels.
|
|
28: * @param float $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromPadding
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The top padding of the from labels.
|
|
37: * @param float $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsLabelsFromPadding
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesDefaultsTooltip.php
|
|
================================================================================
|
|
Line 45 [match: FROM ]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The format of the labels. Uses kendo.format.Format placeholders: Area, bar, column, funnel, line and pie{0} - value; Bubble{0} - x value{1} - y value{2} - size value{3} - category name; Scatter and scatterLine{0} - x value{1} - y value; Candlestick and OHLC{0} - open value{1} - high value{2} - low value{3} - close value{4} - category name or RangeArea, rangeBar, rangeColumn{0} - from value{1} - to value.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\Dataviz\UI\ChartSeriesDefaultsTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItem.php
|
|
================================================================================
|
|
Line 117 [match: FROM ]:
|
|
115:
|
|
116: /**
|
|
>> 117: * The array of data items which represent the series data.Can be set to : Array of objects. Each point is bound to the field specified via the series.field option.; Array of numbers. Supported when the series.type option is set to "area", "bar", "column", "donut", "pie", "line" or "waterfall". or Array of arrays of numbers. Supported when the series.type option is set to "bubble", "scatter", "scatterLine", "ohlc", "rangeBar", "rangeArea" or polar series.Bubble series need arrays of three values - X value, Y value and Size value e.g. [1, 1, 10]Scatter and scatter line series need arrays of two values - X value and Y valueOHLC and candlestick series need arrays of four values - open, high, low and closeRangeBar and RangeArea series need arrays of two values - the from and to value..
|
|
118: * @param array $value
|
|
119: * @return \Kendo\Dataviz\UI\ChartSeriesItem
|
|
|
|
Line 270 [match: FROM ]:
|
|
268:
|
|
269: /**
|
|
>> 270: * The data item field which contains the series from value.
|
|
271: * @param string $value
|
|
272: * @return \Kendo\Dataviz\UI\ChartSeriesItem
|
|
|
|
Line 495 [match: FROM ]:
|
|
493:
|
|
494: /**
|
|
>> 495: * The behavior for handling missing values. The supported values are: "gap" - the plot stops before the missing point and continues after it.; "interpolate" - the value is interpolated from neighboring points. or "zero" - the value is assumed to be zero..
|
|
496: * @param string $value
|
|
497: * @return \Kendo\Dataviz\UI\ChartSeriesItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemErrorBars.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The error bars value.The following value types are supported: "stderr" - the standard error of the series values will be used to calculate the point low and high value; "stddev(n)" - the standard deviation of the series values will be used to calculate the point low and high value. A number can be specified between the parentheses, that will be multiplied by the calculated standard deviation.; "percentage(n)" - a percentage of the point value; A number that will be subtracted/added to the point value; An array that holds the low and high difference from the point value or A function that returns the errorBars point value.
|
|
10: * @param string|float|array|\Kendo\JavaScriptFunction $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesItemErrorBars
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemHighlight.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The border of the highlighted chart series. The color is computed automatically from the base point color.
|
|
10: * @param \Kendo\Dataviz\UI\ChartSeriesItemHighlightBorder|array $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesItemHighlight
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The line of the highlighted chart series. The color is computed automatically from the base point color.
|
|
37: * @param \Kendo\Dataviz\UI\ChartSeriesItemHighlightLine|array $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesItemHighlight
|
|
|
|
Line 78 [match: FROM ]:
|
|
76: /**
|
|
77: * Sets the visual option of the ChartSeriesItemHighlight.
|
|
>> 78: * A function that can be used to set custom visual for the point highlight.The available argument fields are: createVisual - a function that can be used to get the default highlight visual.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; visual - the visual element that should be highlighted.; options - the point options.; category - the point category.; dataItem - the point dataItem.; value - the point value.; sender - the chart instance.; series - the point series.; stackValue - the cumulative point value on the stack. Available only for stackable series.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series.; total - the sum of all previous series values. Available for waterfall series.; from - the "from" point highlight visual options. Available for "rangeArea" and "verticalRangeArea" series. or to - the "to" point highlight visual options. Available for "rangeArea" and "verticalRangeArea" series..
|
|
79: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
80: * @return \Kendo\Dataviz\UI\ChartSeriesItemHighlight
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemLabels.php
|
|
================================================================================
|
|
Line 90 [match: FROM ]:
|
|
88:
|
|
89: /**
|
|
>> 90: * The position of the labels. "above" - the label is positioned at the top of the marker. Applicable for series that render points, incl. bubble.; "below" - the label is positioned at the bottom of the marker. Applicable for series that render points, incl. bubble.; "center" - the label is positioned at the point center. Applicable for bar, column, donut, pie, funnel, radarColumn and waterfall series.; "insideBase" - the label is positioned inside, near the base of the bar. Applicable for bar, column and waterfall series.; "insideEnd" - the label is positioned inside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series.; "left" - the label is positioned to the left of the marker. Applicable for series that render points, incl. bubble.; "outsideEnd" - the label is positioned outside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.; "right" - the label is positioned to the right of the marker. Applicable for series that render points, incl. bubble.; "top" - the label is positioned at the top of the segment. Applicable for funnel series.; "bottom" - the label is positioned at the bottom of the segment. Applicable for funnel series. or "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. Applicable for rangeArea and verticalRangeArea series..
|
|
91: * @param string|\Kendo\JavaScriptFunction $value
|
|
92: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabels
|
|
|
|
Line 140 [match: FROM ]:
|
|
138: /**
|
|
139: * Sets the visual option of the ChartSeriesItemLabels.
|
|
>> 140: * A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
|
|
141: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
142: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabels
|
|
|
|
Line 153 [match: FROM ]:
|
|
151:
|
|
152: /**
|
|
>> 153: * The chart series from label configuration.
|
|
154: * @param \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom|array $value
|
|
155: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabels
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemLabelsFrom.php
|
|
================================================================================
|
|
Line 5 [match: FROM ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class ChartSeriesItemLabelsFrom extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the from labels. Accepts a valid CSS color string, including hex and rgb.
|
|
10: * @param string|\Kendo\JavaScriptFunction $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The border of the from labels.
|
|
19: * @param \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromBorder|array $value
|
|
20: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The text color of the from labels. Accepts a valid CSS color string, including hex and rgb.
|
|
28: * @param string|\Kendo\JavaScriptFunction $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The font style of the from labels.
|
|
37: * @param string|\Kendo\JavaScriptFunction $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 45 [match: FROM ]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The format of the from labels. Uses kendo.format.
|
|
46: * @param string|\Kendo\JavaScriptFunction $value
|
|
47: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 54 [match: FROM ]:
|
|
52:
|
|
53: /**
|
|
>> 54: * The margin of the from labels. A numeric value will set all margins.
|
|
55: * @param float|\Kendo\Dataviz\UI\ChartSeriesItemLabelsFromMargin|array $value
|
|
56: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 63 [match: FROM ]:
|
|
61:
|
|
62: /**
|
|
>> 63: * The padding of the from labels. A numeric value will set all paddings.
|
|
64: * @param float|\Kendo\Dataviz\UI\ChartSeriesItemLabelsFromPadding|array $value
|
|
65: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * The position of the from labels. "center" - the label is positioned at the point center.; "insideBase" - the label is positioned inside, near the base of the bar.; "insideEnd" - the label is positioned inside, near the end of the point.; "outsideEnd" - the label is positioned outside, near the end of the point.; "above" - the label is positioned at the top of the marker. Applicable for "rangeArea" and "verticalRangeArea" series.; "below" - the label is positioned at the bottom of the marker. Applicable for "rangeArea" and "verticalRangeArea" series.; "left" - the label is positioned to the left of the marker. Applicable for "rangeArea" and "verticalRangeArea" series. or "right" - the label is positioned to the right of the marker. Applicable for "rangeArea" and "verticalRangeArea" series..
|
|
73: * @param string|\Kendo\JavaScriptFunction $value
|
|
74: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 82 [match: FROM ]:
|
|
80: /**
|
|
81: * Sets the template option of the ChartSeriesItemLabelsFrom.
|
|
>> 82: * The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
|
|
83: * @param string $value The id of the element which represents the kendo template.
|
|
84: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 94 [match: FROM ]:
|
|
92: /**
|
|
93: * Sets the template option of the ChartSeriesItemLabelsFrom.
|
|
>> 94: * The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
|
|
95: * @param string $value The template content.
|
|
96: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
Line 103 [match: FROM ]:
|
|
101:
|
|
102: /**
|
|
>> 103: * If set to true the chart will display the series from labels. By default chart series from labels are not displayed.
|
|
104: * @param boolean|\Kendo\JavaScriptFunction $value
|
|
105: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFrom
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemLabelsFromMargin.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The bottom margin of the from labels.
|
|
10: * @param float $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromMargin
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The left margin of the from labels.
|
|
19: * @param float $value
|
|
20: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromMargin
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The right margin of the from labels.
|
|
28: * @param float $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromMargin
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The top margin of the from labels.
|
|
37: * @param float $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromMargin
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemLabelsFromPadding.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The bottom padding of the from labels.
|
|
10: * @param float $value
|
|
11: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromPadding
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The left padding of the from labels.
|
|
19: * @param float $value
|
|
20: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromPadding
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The right padding of the from labels.
|
|
28: * @param float $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromPadding
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The top padding of the from labels.
|
|
37: * @param float $value
|
|
38: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsFromPadding
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemLabelsTo.php
|
|
================================================================================
|
|
Line 82 [match: FROM ]:
|
|
80: /**
|
|
81: * Sets the template option of the ChartSeriesItemLabelsTo.
|
|
>> 82: * The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
|
|
83: * @param string $value The id of the element which represents the kendo template.
|
|
84: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsTo
|
|
|
|
Line 94 [match: FROM ]:
|
|
92: /**
|
|
93: * Sets the template option of the ChartSeriesItemLabelsTo.
|
|
>> 94: * The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
|
|
95: * @param string $value The template content.
|
|
96: * @return \Kendo\Dataviz\UI\ChartSeriesItemLabelsTo
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemMarkersFrom.php
|
|
================================================================================
|
|
Line 5 [match: FROM ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class ChartSeriesItemMarkersFrom extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartSeriesItemTooltip.php
|
|
================================================================================
|
|
Line 45 [match: FROM ]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The format of the labels. Uses kendo.format.Format placeholders: Area, bar, column, line, pie, radarArea, radarColumn and radarLine{0} - value; Bubble{0} - x value{1} - y value{2} - size value{3} - category name; Scatter, scatterLine{0} - x value{1} - y value; PolarArea, polarLine and polarScatter{0} - x value (degrees){1} - y value; Candlestick and OHLC{0} - open value{1} - high value{2} - low value{3} - close value{4} - category name or RangeArea, rangeBar, rangeColumn{0} - from value{1} - to value.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\Dataviz\UI\ChartSeriesItemTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartTooltip.php
|
|
================================================================================
|
|
Line 54 [match: FROM ]:
|
|
52:
|
|
53: /**
|
|
>> 54: * The format of the labels. Uses kendo.format.Format placeholders: Area, bar, column, funnel, line and pie{0} - value; Bubble{0} - x value{1} - y value{2} - size value{3} - category name; Scatter and scatterLine{0} - x value{1} - y value; Candlestick and OHLC{0} - open value{1} - high value{2} - low value{3} - close value{4} - category name or RangeArea, rangeBar, rangeColumn{0} - from value{1} - to value.
|
|
55: * @param string $value
|
|
56: * @return \Kendo\Dataviz\UI\ChartTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartValueAxisItem.php
|
|
================================================================================
|
|
Line 144 [match: FROM ]:
|
|
142:
|
|
143: /**
|
|
>> 144: * If set to true the Chart will narrow the value axis range in order to display data points in better detail. Setting it to false will force the automatic axis range to start from 0 or the explicitly specified valueAxis.min value.
|
|
145: * @param boolean $value
|
|
146: * @return \Kendo\Dataviz\UI\ChartValueAxisItem
|
|
|
|
Line 171 [match: FROM ]:
|
|
169:
|
|
170: /**
|
|
>> 171: * If set to true the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
|
|
172: * @param boolean $value
|
|
173: * @return \Kendo\Dataviz\UI\ChartValueAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartXAxisItem.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options: milliseconds; seconds; minutes; hours; days; weeks; months or years.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartXAxisItem
|
|
|
|
Line 162 [match: FROM ]:
|
|
160:
|
|
161: /**
|
|
>> 162: * If set to true the chart will prevent the automatic axis range from snapping to 0. Setting it to false will force the automatic axis range to snap to 0.
|
|
163: * @param boolean $value
|
|
164: * @return \Kendo\Dataviz\UI\ChartXAxisItem
|
|
|
|
Line 189 [match: FROM ]:
|
|
187:
|
|
188: /**
|
|
>> 189: * If set to true the value axis direction will be reversed. By default values increase from left to right and from bottom to top.
|
|
190: * @param boolean $value
|
|
191: * @return \Kendo\Dataviz\UI\ChartXAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\ChartYAxisItem.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options: milliseconds; seconds; minutes; hours; days; weeks; months or years.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\Dataviz\UI\ChartYAxisItem
|
|
|
|
Line 162 [match: FROM ]:
|
|
160:
|
|
161: /**
|
|
>> 162: * If set to true the chart will prevent the automatic axis range from snapping to 0. Setting it to false will force the automatic axis range to snap to 0.
|
|
163: * @param boolean $value
|
|
164: * @return \Kendo\Dataviz\UI\ChartYAxisItem
|
|
|
|
Line 189 [match: FROM ]:
|
|
187:
|
|
188: /**
|
|
>> 189: * If set to true the value axis direction will be reversed. By default values increase from left to right and from bottom to top.
|
|
190: * @param boolean $value
|
|
191: * @return \Kendo\Dataviz\UI\ChartYAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\CircularGauge.php
|
|
================================================================================
|
|
Line 88 [match: FROM ]:
|
|
86:
|
|
87: /**
|
|
>> 88: * The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
|
|
89: * @param string $value
|
|
90: * @return \Kendo\Dataviz\UI\CircularGauge
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\CircularGaugeScale.php
|
|
================================================================================
|
|
Line 90 [match: FROM ]:
|
|
88:
|
|
89: /**
|
|
>> 90: * The distance from the range indicators to the ticks.
|
|
91: * @param float $value
|
|
92: * @return \Kendo\Dataviz\UI\CircularGaugeScale
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\Diagram.php
|
|
================================================================================
|
|
Line 142 [match: FROM ]:
|
|
140:
|
|
141: /**
|
|
>> 142: * The diagram theme. This can be either a built-in theme or "sass". When set to "sass" the diagram will read the variables from a Sass-based theme.The supported values are: * "sass" - works only when a custom Sass theme is loaded in the page * "black" * "blueopal" * "bootstrap" * "bootstrap-v4" - works only with the Bootstrap-v4 Sass theme loaded in the page * "default" * "default-v2" - works only with the Default-v2 Sass theme loaded in the page * "fiori" * "flat" * "highcontrast" * "material" * "materialBlack" * "metro" * "metroblack" * "moonlight" * "nova" * "office365" * "silver" * "uniform"
|
|
143: * @param string $value
|
|
144: * @return \Kendo\Dataviz\UI\Diagram
|
|
|
|
Line 216 [match: FROM ]:
|
|
214: /**
|
|
215: * Sets the change event of the Diagram.
|
|
>> 216: * Fired when an item is added or removed to/from the diagram.
|
|
217: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
218: * @return \Kendo\Dataviz\UI\Diagram
|
|
|
|
Line 244 [match: FROM ]:
|
|
242: /**
|
|
243: * Sets the dataBound event of the Diagram.
|
|
>> 244: * Fired when the widget is bound to data from dataDource and connectionsDataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
245: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
246: * @return \Kendo\Dataviz\UI\Diagram
|
|
|
|
Line 93 [match: SELECT ]:
|
|
91:
|
|
92: /**
|
|
>> 93: * Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether.
|
|
94: * @param boolean|\Kendo\Dataviz\UI\DiagramSelectable|array $value
|
|
95: * @return \Kendo\Dataviz\UI\Diagram
|
|
|
|
Line 411 [match: SELECT ]:
|
|
409:
|
|
410: /**
|
|
>> 411: * Sets the select event of the Diagram.
|
|
412: * Fired when the user selects one or more items.
|
|
413: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramConnectionFrom.php
|
|
================================================================================
|
|
Line 5 [match: FROM ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class DiagramConnectionFrom extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramEditable.php
|
|
================================================================================
|
|
Line 10 [match: FROM ]:
|
|
8: /**
|
|
9: * Sets the connectionTemplate option of the DiagramEditable.
|
|
>> 10: * Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them.
|
|
11: * @param string $value The id of the element which represents the kendo template.
|
|
12: * @return \Kendo\Dataviz\UI\DiagramEditable
|
|
|
|
Line 22 [match: FROM ]:
|
|
20: /**
|
|
21: * Sets the connectionTemplate option of the DiagramEditable.
|
|
>> 22: * Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them.
|
|
23: * @param string $value The template content.
|
|
24: * @return \Kendo\Dataviz\UI\DiagramEditable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramEditableSelect.php
|
|
================================================================================
|
|
Line 5 [match: SELECT ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class DiagramEditableSelect extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
Line 18 [match: SELECT ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * Specifies the select stroke styles.
|
|
19: * @param \Kendo\Dataviz\UI\DiagramEditableSelectStroke|array $value
|
|
20: * @return \Kendo\Dataviz\UI\DiagramEditableSelect
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramEditableSelectStroke.php
|
|
================================================================================
|
|
Line 9 [match: SELECT ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * Specifies the select stroke color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\DiagramEditableSelectStroke
|
|
|
|
Line 18 [match: SELECT ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * Specifies the select stroke width.
|
|
19: * @param float $value
|
|
20: * @return \Kendo\Dataviz\UI\DiagramEditableSelectStroke
|
|
|
|
Line 27 [match: SELECT ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * Specifies the select stroke dash type.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\Dataviz\UI\DiagramEditableSelectStroke
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramLayout.php
|
|
================================================================================
|
|
Line 99 [match: FROM ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Defines the horizontal offset from a child with respect to its parent. This setting is specific to the tipOver tree layout.
|
|
100: * @param float $value
|
|
101: * @return \Kendo\Dataviz\UI\DiagramLayout
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramPdf.php
|
|
================================================================================
|
|
Line 99 [match: FROM ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or an iframe, the proxy method has to set the Content-Disposition header of the response to inline; filename="<fileName.pdf>".
|
|
100: * @param string $value
|
|
101: * @return \Kendo\Dataviz\UI\DiagramPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramShape.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * The unique identifier for a Shape. The id value is used to identify shapes in connection configurations. The connection to and from properties usually point to shape id values.
|
|
73: * @param string $value
|
|
74: * @return \Kendo\Dataviz\UI\DiagramShape
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramShapeDefaultsFillGradientStop.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
|
|
10: * @param float $value
|
|
11: * @return \Kendo\Dataviz\UI\DiagramShapeDefaultsFillGradientStop
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The fill opacity. Ranges from 0 (completely transparent) to 1 (opaque).
|
|
28: * @param float $value
|
|
29: * @return \Kendo\Dataviz\UI\DiagramShapeDefaultsFillGradientStop
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramShapeEditable.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * Specifies whether the connectors should appear on hover. If set to false, the user will not be able to create new connections from this shape to other shapes. Also, it will not be possible to change the connector of an existing connection between this and another shape.
|
|
10: * @param boolean $value
|
|
11: * @return \Kendo\Dataviz\UI\DiagramShapeEditable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\DiagramShapeFillGradientStop.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
|
|
10: * @param float $value
|
|
11: * @return \Kendo\Dataviz\UI\DiagramShapeFillGradientStop
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
|
|
28: * @param float $value
|
|
29: * @return \Kendo\Dataviz\UI\DiagramShapeFillGradientStop
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\LinearGauge.php
|
|
================================================================================
|
|
Line 48 [match: FROM ]:
|
|
46:
|
|
47: /**
|
|
>> 48: * The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
|
|
49: * @param string $value
|
|
50: * @return \Kendo\Dataviz\UI\LinearGauge
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\LinearGaugeScale.php
|
|
================================================================================
|
|
Line 117 [match: FROM ]:
|
|
115:
|
|
116: /**
|
|
>> 117: * Reverses the axis direction - values increase from right to left and from top to bottom.
|
|
118: * @param boolean $value
|
|
119: * @return \Kendo\Dataviz\UI\LinearGaugeScale
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\Map.php
|
|
================================================================================
|
|
Line 66 [match: FROM ]:
|
|
64:
|
|
65: /**
|
|
>> 66: * The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
67: * @param float $value
|
|
68: * @return \Kendo\Dataviz\UI\Map
|
|
|
|
Line 75 [match: FROM ]:
|
|
73:
|
|
74: /**
|
|
>> 75: * The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
76: * @param float $value
|
|
77: * @return \Kendo\Dataviz\UI\Map
|
|
|
|
Line 111 [match: FROM ]:
|
|
109:
|
|
110: /**
|
|
>> 111: * The initial zoom level.Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).The map size is derived from the zoom level and minScale options: size = (2 ^ zoom) * minSize
|
|
112: * @param float $value
|
|
113: * @return \Kendo\Dataviz\UI\Map
|
|
|
|
Line 172 [match: FROM ]:
|
|
170: /**
|
|
171: * Sets the markerCreated event of the Map.
|
|
>> 172: * Fired when a marker has been created and is about to be displayed. Cancelling the event will prevent the marker from being shown.Use markerActivate if you need to access the marker DOM element.
|
|
173: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
174: * @return \Kendo\Dataviz\UI\Map
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\QRCode.php
|
|
================================================================================
|
|
Line 40 [match: FROM ]:
|
|
38:
|
|
39: /**
|
|
>> 40: * The encoding mode used to encode the value.The possible values are: "ISO_8859_1" - supports all characters from the ISO/IEC 8859-1 character set. or "UTF_8" - supports all Unicode characters..
|
|
41: * @param string $value
|
|
42: * @return \Kendo\Dataviz\UI\QRCode
|
|
|
|
Line 58 [match: FROM ]:
|
|
56:
|
|
57: /**
|
|
>> 58: * The overlay configuration which alows you to choose from predefined layouts or insert a custom image.
|
|
59: * @param \Kendo\Dataviz\UI\QRCodeOverlay|array $value
|
|
60: * @return \Kendo\Dataviz\UI\QRCode
|
|
|
|
Line 85 [match: FROM ]:
|
|
83:
|
|
84: /**
|
|
>> 85: * Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.
|
|
86: * @param float|string $value
|
|
87: * @return \Kendo\Dataviz\UI\QRCode
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\RadialGauge.php
|
|
================================================================================
|
|
Line 48 [match: FROM ]:
|
|
46:
|
|
47: /**
|
|
>> 48: * The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
|
|
49: * @param string $value
|
|
50: * @return \Kendo\Dataviz\UI\RadialGauge
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\RadialGaugePointerCap.php
|
|
================================================================================
|
|
Line 19 [match: FROM ]:
|
|
17:
|
|
18: /**
|
|
>> 19: * The size of the cap in percents. (from 0 to 1)
|
|
20: * @param float $value
|
|
21: * @return \Kendo\Dataviz\UI\RadialGaugePointerCap
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\RadialGaugePointerItemCap.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The size of the cap in percents. (from 0 to 1)
|
|
19: * @param float $value
|
|
20: * @return \Kendo\Dataviz\UI\RadialGaugePointerItemCap
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\RadialGaugeScale.php
|
|
================================================================================
|
|
Line 108 [match: FROM ]:
|
|
106:
|
|
107: /**
|
|
>> 108: * The distance from the range indicators to the ticks.
|
|
109: * @param float $value
|
|
110: * @return \Kendo\Dataviz\UI\RadialGaugeScale
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\Sparkline.php
|
|
================================================================================
|
|
Line 112 [match: FROM ]:
|
|
110:
|
|
111: /**
|
|
>> 112: * The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
|
|
113: * @param array $value
|
|
114: * @return \Kendo\Dataviz\UI\Sparkline
|
|
|
|
Line 130 [match: FROM ]:
|
|
128:
|
|
129: /**
|
|
>> 130: * The sparkline theme. This can be either a built-in theme or "sass". When set to "sass" the sparkline will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
|
|
131: * @param string $value
|
|
132: * @return \Kendo\Dataviz\UI\Sparkline
|
|
|
|
Line 190 [match: FROM ]:
|
|
188: /**
|
|
189: * Sets the dataBound event of the Sparkline.
|
|
>> 190: * Fires when the sparkline has received data from the data source and is about to render it.
|
|
191: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
192: * @return \Kendo\Dataviz\UI\Sparkline
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineCategoryAxisItem.php
|
|
================================================================================
|
|
Line 126 [match: FROM ]:
|
|
124:
|
|
125: /**
|
|
>> 126: * Reverses the axis direction - categories are listed from right to left and from top to bottom.
|
|
127: * @param boolean $value
|
|
128: * @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
|
|
|
Line 162 [match: FROM ]:
|
|
160:
|
|
161: /**
|
|
>> 162: * The base time interval for the axis. The default baseUnit is determined automatically from the minimum difference between subsequent categories. Available options: minutes; hours; days; weeks; months or years*fit. SettingbaseUnitto "fit" will set such base unit andbaseUnitStep that the total number of categories does not exceedmaxDateGroups.Series data is aggregated for the specified base unit by using theseries.aggregatefunction.
|
|
163: * @param string $value
|
|
164: * @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineSeriesDefaultsTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineSeriesItem.php
|
|
================================================================================
|
|
Line 189 [match: FROM ]:
|
|
187:
|
|
188: /**
|
|
>> 189: * The behavior for handling missing values. The supported values are: "gap" - the plot stops before the missing point and continues after it.; "interpolate" - the value is interpolated from neighboring points. or "zero" - the value is assumed to be zero..
|
|
190: * @param string $value
|
|
191: * @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineSeriesItemHighlight.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The border of highlighted points. The color is computed automatically from the base point color.Applicable to pie series.
|
|
10: * @param \Kendo\Dataviz\UI\SparklineSeriesItemHighlightBorder|array $value
|
|
11: * @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlight
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineSeriesItemTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\SparklineTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\SparklineValueAxisItem.php
|
|
================================================================================
|
|
Line 126 [match: FROM ]:
|
|
124:
|
|
125: /**
|
|
>> 126: * Prevents the automatic axis range from snapping to 0.
|
|
127: * @param boolean $value
|
|
128: * @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
|
|
|
Line 144 [match: FROM ]:
|
|
142:
|
|
143: /**
|
|
>> 144: * Reverses the axis direction - values increase from right to left and from top to bottom.
|
|
145: * @param boolean $value
|
|
146: * @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChart.php
|
|
================================================================================
|
|
Line 138 [match: FROM ]:
|
|
136:
|
|
137: /**
|
|
>> 138: * The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
|
|
139: * @param array $value
|
|
140: * @return \Kendo\Dataviz\UI\StockChart
|
|
|
|
Line 156 [match: FROM ]:
|
|
154:
|
|
155: /**
|
|
>> 156: * The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
|
|
157: * @param string $value
|
|
158: * @return \Kendo\Dataviz\UI\StockChart
|
|
|
|
Line 216 [match: FROM ]:
|
|
214: /**
|
|
215: * Sets the dataBound event of the StockChart.
|
|
>> 216: * Fires when the chart has received data from the data source and is about to render it.
|
|
217: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
218: * @return \Kendo\Dataviz\UI\StockChart
|
|
|
|
Line 425 [match: SELECT ]:
|
|
423:
|
|
424: /**
|
|
>> 425: * Sets the select event of the StockChart.
|
|
426: * Fired when the user modifies the selection.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
427: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartCategoryAxisItem.php
|
|
================================================================================
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * Reverses the axis direction - categories are listed from right to left and from top to bottom.
|
|
136: * @param boolean $value
|
|
137: * @return \Kendo\Dataviz\UI\StockChartCategoryAxisItem
|
|
|
|
Line 189 [match: FROM ]:
|
|
187:
|
|
188: /**
|
|
>> 189: * The base time interval for the date axis. The default base unit is determined automatically from the minimum difference between subsequent categories.The supported values are: "days"; "fit"; "hours"; "minutes"; "months"; "weeks" or "years". Setting baseUnit to "fit" will set such base unit and categoryAxis.baseUnitStep that the total number of categories does not exceed categoryAxis.maxDateGroups.Series data is aggregated for the specified base unit using the series.aggregate function.
|
|
190: * @param string $value
|
|
191: * @return \Kendo\Dataviz\UI\StockChartCategoryAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartCategoryAxisItemSelect.php
|
|
================================================================================
|
|
Line 5 [match: SELECT ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class StockChartCategoryAxisItemSelect extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
Line 18 [match: SELECT ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The upper boundary of the selected range.Note: The category with the specified date is not included in the selected range unless the axis is justified. In order to select all categories specify a value larger than the last category date.
|
|
19: * @param string|date $value
|
|
20: * @return \Kendo\Dataviz\UI\StockChartCategoryAxisItemSelect
|
|
|
|
Line 36 [match: SELECT ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The maximum value that is selectable by the user.Note: The category with the specified index (date) is not included in the selected range unless the axis is justified. In order to select all categories specify a value larger than the last category index (date).
|
|
37: * @param $value
|
|
38: * @return \Kendo\Dataviz\UI\StockChartCategoryAxisItemSelect
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartLegend.php
|
|
================================================================================
|
|
Line 54 [match: FROM ]:
|
|
52:
|
|
53: /**
|
|
>> 54: * The X offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels to the right of it's initial position. A negative value will move the legend to the left of the current position.
|
|
55: * @param float $value
|
|
56: * @return \Kendo\Dataviz\UI\StockChartLegend
|
|
|
|
Line 63 [match: FROM ]:
|
|
61:
|
|
62: /**
|
|
>> 63: * The Y offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from it's initial position. A negative value will move the legend upwards from the current position.
|
|
64: * @param float $value
|
|
65: * @return \Kendo\Dataviz\UI\StockChartLegend
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartNavigatorCategoryAxis.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The base time interval for the date axis. The default base unit is determined automatically from the minimum difference between subsequent categories.The supported values are: "fit"; "seconds"; "minutes"; "hours"; "days"; "weeks"; "months" or "years". Setting baseUnit to "fit" will set such base unit and categoryAxis.baseUnitStep that the total number of categories does not exceed categoryAxis.maxDateGroups.Series data is aggregated for the specified base unit using the series.aggregate function.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxis
|
|
|
|
Line 198 [match: FROM ]:
|
|
196:
|
|
197: /**
|
|
>> 198: * If set to true the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
|
|
199: * @param boolean $value
|
|
200: * @return \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxis
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartNavigatorHint.php
|
|
================================================================================
|
|
Line 19 [match: FROM ]:
|
|
17: /**
|
|
18: * Sets the template option of the StockChartNavigatorHint.
|
|
>> 19: * The hint template. Template variables: from - The lower boundary of the selected range or to - Theupper boundary of the selected range.
|
|
20: * @param string $value The id of the element which represents the kendo template.
|
|
21: * @return \Kendo\Dataviz\UI\StockChartNavigatorHint
|
|
|
|
Line 31 [match: FROM ]:
|
|
29: /**
|
|
30: * Sets the template option of the StockChartNavigatorHint.
|
|
>> 31: * The hint template. Template variables: from - The lower boundary of the selected range or to - Theupper boundary of the selected range.
|
|
32: * @param string $value The template content.
|
|
33: * @return \Kendo\Dataviz\UI\StockChartNavigatorHint
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartNavigatorSelect.php
|
|
================================================================================
|
|
Line 5 [match: SELECT ]:
|
|
3: namespace Kendo\Dataviz\UI;
|
|
4:
|
|
>> 5: class StockChartNavigatorSelect extends \Kendo\SerializableObject {
|
|
6: //>> Properties
|
|
7:
|
|
|
|
Line 18 [match: UPDATE ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The mousewheel configuration of the selection.If set to false the mousewheel will not update the selection.
|
|
19: * @param boolean|\Kendo\Dataviz\UI\StockChartNavigatorSelectMousewheel|array $value
|
|
20: * @return \Kendo\Dataviz\UI\StockChartNavigatorSelect
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartNavigatorSeriesItem.php
|
|
================================================================================
|
|
Line 198 [match: FROM ]:
|
|
196:
|
|
197: /**
|
|
>> 198: * The behavior for handling missing values. The supported values are: "gap" - the plot stops before the missing point and continues after it.; "interpolate" - the value is interpolated from neighboring points. or "zero" - the value is assumed to be zero..
|
|
199: * @param string $value
|
|
200: * @return \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartNavigatorSeriesItemHighlight.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The border of highlighted points. The color is computed automatically from the base point color.
|
|
10: * @param \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlightBorder|array $value
|
|
11: * @return \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * Line options for highlighted points. The color is computed automatically from the base point color.** Available only for candlestick series **
|
|
28: * @param \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlightLine|array $value
|
|
29: * @return \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartNavigatorSeriesItemTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartPdf.php
|
|
================================================================================
|
|
Line 99 [match: FROM ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
100: * @param string $value
|
|
101: * @return \Kendo\Dataviz\UI\StockChartPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartSeriesDefaultsTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\StockChartSeriesDefaultsTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartSeriesItem.php
|
|
================================================================================
|
|
Line 216 [match: FROM ]:
|
|
214:
|
|
215: /**
|
|
>> 216: * The behavior for handling missing values. The supported values are: "gap" - the plot stops before the missing point and continues after it.; "interpolate" - the value is interpolated from neighboring points. or "zero" - the value is assumed to be zero..
|
|
217: * @param string $value
|
|
218: * @return \Kendo\Dataviz\UI\StockChartSeriesItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartSeriesItemHighlight.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The border of highlighted points. The color is computed automatically from the base point color.** Applicable to bubble, pie, candlestick and ohlc series. **
|
|
19: * @param \Kendo\Dataviz\UI\StockChartSeriesItemHighlightBorder|array $value
|
|
20: * @return \Kendo\Dataviz\UI\StockChartSeriesItemHighlight
|
|
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * Line options for highlighted points. The color is computed automatically from the base point color.** Available only for candlestick series **
|
|
37: * @param \Kendo\Dataviz\UI\StockChartSeriesItemHighlightLine|array $value
|
|
38: * @return \Kendo\Dataviz\UI\StockChartSeriesItemHighlight
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartSeriesItemTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\StockChartSeriesItemTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartTooltip.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The background color of the tooltip. The default is determined from the series color.
|
|
10: * @param string $value
|
|
11: * @return \Kendo\Dataviz\UI\StockChartTooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\StockChartValueAxisItem.php
|
|
================================================================================
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * Prevents the automatic axis range from snapping to 0.
|
|
136: * @param boolean $value
|
|
137: * @return \Kendo\Dataviz\UI\StockChartValueAxisItem
|
|
|
|
Line 162 [match: FROM ]:
|
|
160:
|
|
161: /**
|
|
>> 162: * Reverses the axis direction - values increase from right to left and from top to bottom.
|
|
163: * @param boolean $value
|
|
164: * @return \Kendo\Dataviz\UI\StockChartValueAxisItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\Dataviz\UI\TreeMap.php
|
|
================================================================================
|
|
Line 121 [match: FROM ]:
|
|
119: /**
|
|
120: * Sets the dataBound event of the TreeMap.
|
|
>> 121: * Fired when the widget is bound to data from its dataSource.
|
|
122: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
123: * @return \Kendo\Dataviz\UI\TreeMap
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\AutoComplete.php
|
|
================================================================================
|
|
Line 393 [match: FROM ]:
|
|
391: /**
|
|
392: * Sets the dataBound event of the AutoComplete.
|
|
>> 393: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
394: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
395: * @return \Kendo\UI\AutoComplete
|
|
|
|
Line 435 [match: FROM ]:
|
|
433: /**
|
|
434: * Sets the select event of the AutoComplete.
|
|
>> 435: * Fired when an item from the suggestion popup is selected by the user.
|
|
436: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
437: * @return \Kendo\UI\AutoComplete
|
|
|
|
Line 434 [match: SELECT ]:
|
|
432:
|
|
433: /**
|
|
>> 434: * Sets the select event of the AutoComplete.
|
|
435: * Fired when an item from the suggestion popup is selected by the user.
|
|
436: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\BottomNavigation.php
|
|
================================================================================
|
|
Line 101 [match: SELECT ]:
|
|
99:
|
|
100: /**
|
|
>> 101: * Sets the select event of the BottomNavigation.
|
|
102: * Fires when the user selects an item in BottomNavigation.
|
|
103: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Button.php
|
|
================================================================================
|
|
Line 105 [match: FROM ]:
|
|
103:
|
|
104: /**
|
|
>> 105: * Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the Button. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.
|
|
106: * @param string $value
|
|
107: * @return \Kendo\UI\Button
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ButtonGroup.php
|
|
================================================================================
|
|
Line 56 [match: SELECT ]:
|
|
54:
|
|
55: /**
|
|
>> 56: * Sets the select event of the ButtonGroup.
|
|
57: * Fires when a Button is selected.
|
|
58: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Calendar.php
|
|
================================================================================
|
|
Line 51 [match: FROM ]:
|
|
49:
|
|
50: /**
|
|
>> 51: * Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
52: * @param string $value
|
|
53: * @return \Kendo\UI\Calendar
|
|
|
|
Line 141 [match: FROM ]:
|
|
139:
|
|
140: /**
|
|
>> 141: * Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
142: * @param string $value
|
|
143: * @return \Kendo\UI\Calendar
|
|
|
|
Line 114 [match: SELECT ]:
|
|
112:
|
|
113: /**
|
|
>> 114: * By default user is able to select a single date. The property can also be set to "multiple" in order the multiple date selection to be enabled. More information about multiple selection can be found in the Selection article.
|
|
115: * @param string $value
|
|
116: * @return \Kendo\UI\Calendar
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Chat.php
|
|
================================================================================
|
|
Line 110 [match: FROM ]:
|
|
108: /**
|
|
109: * Sets the toolClick event of the Chat.
|
|
>> 110: * Fires when a button from the toolbar is clicked.
|
|
111: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
112: * @return \Kendo\UI\Chat
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\CheckboxGroup.php
|
|
================================================================================
|
|
Line 94 [match: SELECT ]:
|
|
92:
|
|
93: /**
|
|
>> 94: * Sets the select event of the CheckBoxGroup.
|
|
95: * Fires when a checkbox input is clicked to be selected through user interaction. If prevented, the clicked input will not be checked/unchecked.
|
|
96: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ColorPicker.php
|
|
================================================================================
|
|
Line 143 [match: FROM ]:
|
|
141:
|
|
142: /**
|
|
>> 143: * The initially selected color. Note that when initializing the widget from an <input> element, the initial color will be decided by the field instead.
|
|
144: * @param string| $value
|
|
145: * @return \Kendo\UI\ColorPicker
|
|
|
|
Line 211 [match: SELECT ]:
|
|
209:
|
|
210: /**
|
|
>> 211: * Sets the select event of the ColorPicker.
|
|
212: * Fires as a new color is displayed in the drop-down picker. This is not necessarily the "final" value; for example this event triggers when the sliders in the HSV selector are dragged, but then pressing ESC would cancel the selection and the color will revert to the original value.
|
|
213: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 116 [match: UPDATE ]:
|
|
114:
|
|
115: /**
|
|
>> 116: * Displays the color preview element and the previously selected color for comparison. With buttons set to false, both elements will update at the same time.
|
|
117: * @param boolean $value
|
|
118: * @return \Kendo\UI\ColorPicker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ComboBox.php
|
|
================================================================================
|
|
Line 62 [match: FROM ]:
|
|
60:
|
|
61: /**
|
|
>> 62: * Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
|
|
63: * @param string $value
|
|
64: * @return \Kendo\UI\ComboBox
|
|
|
|
Line 457 [match: FROM ]:
|
|
455: /**
|
|
456: * Sets the dataBound event of the ComboBox.
|
|
>> 457: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
458: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
459: * @return \Kendo\UI\ComboBox
|
|
|
|
Line 499 [match: FROM ]:
|
|
497: /**
|
|
498: * Sets the select event of the ComboBox.
|
|
>> 499: * Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
500: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
501: * @return \Kendo\UI\ComboBox
|
|
|
|
Line 498 [match: SELECT ]:
|
|
496:
|
|
497: /**
|
|
>> 498: * Sets the select event of the ComboBox.
|
|
499: * Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
500: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ComboBoxVirtual.php
|
|
================================================================================
|
|
Line 28 [match: FROM ]:
|
|
26: /**
|
|
27: * Sets the valueMapper option of the ComboBoxVirtual.
|
|
>> 28: * The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.
|
|
29: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
30: * @return \Kendo\UI\ComboBoxVirtual
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ContextMenu.php
|
|
================================================================================
|
|
Line 64 [match: FROM ]:
|
|
62:
|
|
63: /**
|
|
>> 64: * Copies and uses the styles from the anchor.
|
|
65: * @param boolean $value
|
|
66: * @return \Kendo\UI\ContextMenu
|
|
|
|
Line 278 [match: SELECT ]:
|
|
276:
|
|
277: /**
|
|
>> 278: * Sets the select event of the ContextMenu.
|
|
279: * Fires when a menu item gets selected.
|
|
280: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DatePicker.php
|
|
================================================================================
|
|
Line 95 [match: FROM ]:
|
|
93:
|
|
94: /**
|
|
>> 95: * Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
96: * @param string $value
|
|
97: * @return \Kendo\UI\DatePicker
|
|
|
|
Line 203 [match: FROM ]:
|
|
201:
|
|
202: /**
|
|
>> 203: * Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
204: * @param string $value
|
|
205: * @return \Kendo\UI\DatePicker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DateRangePicker.php
|
|
================================================================================
|
|
Line 52 [match: FROM ]:
|
|
50:
|
|
51: /**
|
|
>> 52: * Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month. (default value); "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
53: * @param string $value
|
|
54: * @return \Kendo\UI\DateRangePicker
|
|
|
|
Line 160 [match: FROM ]:
|
|
158:
|
|
159: /**
|
|
>> 160: * Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
161: * @param string $value
|
|
162: * @return \Kendo\UI\DateRangePicker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DateTimePicker.php
|
|
================================================================================
|
|
Line 94 [match: FROM ]:
|
|
92:
|
|
93: /**
|
|
>> 94: * Specifies the navigation depth of the calendar. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
95: * @param string $value
|
|
96: * @return \Kendo\UI\DateTimePicker
|
|
|
|
Line 211 [match: FROM ]:
|
|
209:
|
|
210: /**
|
|
>> 211: * Specifies the start view of the calendar. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
212: * @param string $value
|
|
213: * @return \Kendo\UI\DateTimePicker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Drawer.php
|
|
================================================================================
|
|
Line 110 [match: FROM ]:
|
|
108:
|
|
109: /**
|
|
>> 110: * If set to false, swiping the associated content will not activate the drawer. In this case, the drawer will only be open by calling the show method. should be disabled for browsers, which use side swiping gestures for back/forward navigation, such as iOS Safari. Otherwise, users should swipe from an inner part of the view, and not from the view edge.
|
|
111: * @param boolean $value
|
|
112: * @return \Kendo\UI\Drawer
|
|
|
|
Line 157 [match: FROM ]:
|
|
155: /**
|
|
156: * Sets the itemClick event of the Drawer.
|
|
>> 157: * Fires when user clicks on item from the Kendo UI Drawer.
|
|
158: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
159: * @return \Kendo\UI\Drawer
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DropDownButton.php
|
|
================================================================================
|
|
Line 130 [match: FROM ]:
|
|
128:
|
|
129: /**
|
|
>> 130: * Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the DropDownButton. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.
|
|
131: * @param string $value
|
|
132: * @return \Kendo\UI\DropDownButton
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DropDownList.php
|
|
================================================================================
|
|
Line 61 [match: FROM ]:
|
|
59:
|
|
60: /**
|
|
>> 61: * Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
|
|
62: * @param string $value
|
|
63: * @return \Kendo\UI\DropDownList
|
|
|
|
Line 473 [match: FROM ]:
|
|
471: /**
|
|
472: * Sets the dataBound event of the DropDownList.
|
|
>> 473: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
474: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
475: * @return \Kendo\UI\DropDownList
|
|
|
|
Line 515 [match: FROM ]:
|
|
513: /**
|
|
514: * Sets the select event of the DropDownList.
|
|
>> 515: * Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
516: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
517: * @return \Kendo\UI\DropDownList
|
|
|
|
Line 514 [match: SELECT ]:
|
|
512:
|
|
513: /**
|
|
>> 514: * Sets the select event of the DropDownList.
|
|
515: * Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
516: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DropDownListVirtual.php
|
|
================================================================================
|
|
Line 28 [match: FROM ]:
|
|
26: /**
|
|
27: * Sets the valueMapper option of the DropDownListVirtual.
|
|
>> 28: * The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices. > Important > > As of the Kendo UI R3 2016 release, the implementation of the valueMapper function is optional. It is required only if the widget contains an initial value or if the value method is used.
|
|
29: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
30: * @return \Kendo\UI\DropDownListVirtual
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\DropDownTree.php
|
|
================================================================================
|
|
Line 462 [match: FROM ]:
|
|
460: /**
|
|
461: * Sets the dataBound event of the DropDownTree.
|
|
>> 462: * Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
463: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
464: * @return \Kendo\UI\DropDownTree
|
|
|
|
Line 503 [match: SELECT ]:
|
|
501:
|
|
502: /**
|
|
>> 503: * Sets the select event of the DropDownTree.
|
|
504: * Triggered when a node is being selected by the user. Cancellable. When checkboxes are enabled, it is also triggered when a node is being deselected.
|
|
505: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Editor.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * Fine-tune deserialization in the Editor widget. Deserialization is the process of parsing the HTML string input from the value() method or from the viewHtml dialog into editable content.
|
|
37: * @param \Kendo\UI\EditorDeserialization|array $value
|
|
38: * @return \Kendo\UI\Editor
|
|
|
|
Line 126 [match: FROM ]:
|
|
124:
|
|
125: /**
|
|
>> 126: * Allows custom stylesheets to be included within the editing area. This setting is applicable only when the Editor is initialized from a textarea and a contenteditable iframe is generated.
|
|
127: * @param array $value
|
|
128: * @return \Kendo\UI\Editor
|
|
|
|
Line 255 [match: SELECT ]:
|
|
253:
|
|
254: /**
|
|
>> 255: * Sets the select event of the Editor.
|
|
256: * Fires when the Editor selection has changed.
|
|
257: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorFileBrowserTransportCreate.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\EditorFileBrowserTransportCreate
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorFileBrowserTransportDestroy.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\EditorFileBrowserTransportDestroy
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorFileBrowserTransportRead.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\EditorFileBrowserTransportRead
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorImageBrowserTransportCreate.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\EditorImageBrowserTransportCreate
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorImageBrowserTransportDestroy.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\EditorImageBrowserTransportDestroy
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorImageBrowserTransportRead.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\EditorImageBrowserTransportRead
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorMessages.php
|
|
================================================================================
|
|
Line 477 [match: FROM ]:
|
|
475:
|
|
476: /**
|
|
>> 477: * The text that is shown when the text font will be inherited from the surrounding page.
|
|
478: * @param string $value
|
|
479: * @return \Kendo\UI\EditorMessages
|
|
|
|
Line 495 [match: FROM ]:
|
|
493:
|
|
494: /**
|
|
>> 495: * The text that is shown when the text size will be inherited from the surrounding page.
|
|
496: * @param string $value
|
|
497: * @return \Kendo\UI\EditorMessages
|
|
|
|
Line 774 [match: SELECT ]:
|
|
772:
|
|
773: /**
|
|
>> 774: * The title of the Select All Cells tool.
|
|
775: * @param string $value
|
|
776: * @return \Kendo\UI\EditorMessages
|
|
|
|
Line 432 [match: UPDATE ]:
|
|
430:
|
|
431: /**
|
|
>> 432: * The label of the update button in all editor dialogs.
|
|
433: * @param string $value
|
|
434: * @return \Kendo\UI\EditorMessages
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorPasteCleanup.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * Remove style and class attributes from the pasting content.
|
|
19: * @param boolean $value
|
|
20: * @return \Kendo\UI\EditorPasteCleanup
|
|
|
|
Line 50 [match: FROM ]:
|
|
48:
|
|
49: /**
|
|
>> 50: * Remove all special formatting from MS Word content like font-name, font-size and MS Word specific tags.
|
|
51: * @param boolean $value
|
|
52: * @return \Kendo\UI\EditorPasteCleanup
|
|
|
|
Line 86 [match: FROM ]:
|
|
84:
|
|
85: /**
|
|
>> 86: * Remove all span elements from the content, ensuring much of the inline formatting is removed.
|
|
87: * @param boolean $value
|
|
88: * @return \Kendo\UI\EditorPasteCleanup
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorPdf.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
73: * @param float $value
|
|
74: * @return \Kendo\UI\EditorPdf
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
136: * @param string $value
|
|
137: * @return \Kendo\UI\EditorPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\EditorTool.php
|
|
================================================================================
|
|
Line 27 [match: exec ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * Sets the exec option of the EditorTool.
|
|
28: * The JavaScript function which will be executed when the end-user clicks the tool button.
|
|
29: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 27 [match: EXEC ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * Sets the exec option of the EditorTool.
|
|
28: * The JavaScript function which will be executed when the end-user clicks the tool button.
|
|
29: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\FileManager.php
|
|
================================================================================
|
|
Line 232 [match: FROM ]:
|
|
230: /**
|
|
231: * Sets the dataBound event of the FileManager.
|
|
>> 232: * Fired when the widget is bound to data from its data source.
|
|
233: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
234: * @return \Kendo\UI\FileManager
|
|
|
|
Line 161 [match: SELECT ]:
|
|
159:
|
|
160: /**
|
|
>> 161: * Sets the select event of the FileManager.
|
|
162: * Fired when selection changes.
|
|
163: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\FileManagerContextMenu.php
|
|
================================================================================
|
|
Line 74 [match: SELECT ]:
|
|
72:
|
|
73: /**
|
|
>> 74: * Sets the select option of the FileManagerContextMenu.
|
|
75: * Fires when a menu item gets selected. ContextMenu Events.
|
|
76: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\FileManagerUpload.php
|
|
================================================================================
|
|
Line 121 [match: SELECT ]:
|
|
119:
|
|
120: /**
|
|
>> 121: * Sets the select option of the FileManagerUpload.
|
|
122: * Fires when a file is selected. Upload Events.
|
|
123: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 190 [match: SELECT ]:
|
|
188:
|
|
189: /**
|
|
>> 190: * Enables (if set to `true`) or disables (if set to `false`) the selection of multiple files. If set to `false`, the user can select only one file at a time.
|
|
191: * @param boolean $value
|
|
192: * @return \Kendo\UI\FileManagerUpload
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\FilterField.php
|
|
================================================================================
|
|
Line 58 [match: FROM ]:
|
|
56:
|
|
57: /**
|
|
>> 58: * A value matching a field name from the datasource model.
|
|
59: * @param string $value
|
|
60: * @return \Kendo\UI\FilterField
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\FlatColorPicker.php
|
|
================================================================================
|
|
Line 48 [match: UPDATE ]:
|
|
46:
|
|
47: /**
|
|
>> 48: * Specifies whether the UI should be updated while the user is typing in the input field, whenever a valid color can be parsed. If you passfalse for this, the widget will update only when ENTER is pressed.
|
|
49: * @param boolean $value
|
|
50: * @return \Kendo\UI\FlatColorPicker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Form.php
|
|
================================================================================
|
|
Line 23 [match: FROM ]:
|
|
21: /**
|
|
22: * Sets the buttonsTemplate option of the Form.
|
|
>> 23: * Specifies the template which is used for rendering the From buttons.
|
|
24: * @param string $value The id of the element which represents the kendo template.
|
|
25: * @return \Kendo\UI\Form
|
|
|
|
Line 35 [match: FROM ]:
|
|
33: /**
|
|
34: * Sets the buttonsTemplate option of the Form.
|
|
>> 35: * Specifies the template which is used for rendering the From buttons.
|
|
36: * @param string $value The template content.
|
|
37: * @return \Kendo\UI\Form
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Gantt.php
|
|
================================================================================
|
|
Line 75 [match: FROM ]:
|
|
73:
|
|
74: /**
|
|
>> 75: * If set to some date and it is between the range start and range end of the selected view, the timeline of the currently selected view is scrolled to start from this date.
|
|
76: * @param date $value
|
|
77: * @return \Kendo\UI\Gantt
|
|
|
|
Line 355 [match: FROM ]:
|
|
353: /**
|
|
354: * Sets the dataBound event of the Gantt.
|
|
>> 355: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
356: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
357: * @return \Kendo\UI\Gantt
|
|
|
|
Line 237 [match: SELECT ]:
|
|
235:
|
|
236: /**
|
|
>> 237: * If set to false the user won't be able to select tasks in the Gantt. By default selection is enabled and triggers the change event.
|
|
238: * @param boolean $value
|
|
239: * @return \Kendo\UI\Gantt
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GanttCurrentTimeMarker.php
|
|
================================================================================
|
|
Line 9 [match: UPDATE ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The update interval of the "current time" marker, in milliseconds.
|
|
10: * @param float $value
|
|
11: * @return \Kendo\UI\GanttCurrentTimeMarker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GanttEditable.php
|
|
================================================================================
|
|
Line 121 [match: UPDATE ]:
|
|
119:
|
|
120: /**
|
|
>> 121: * If set to false the user won't be able to update tasks.
|
|
122: * @param boolean $value
|
|
123: * @return \Kendo\UI\GanttEditable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GanttPdf.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
73: * @param float $value
|
|
74: * @return \Kendo\UI\GanttPdf
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
136: * @param string $value
|
|
137: * @return \Kendo\UI\GanttPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GanttRange.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * If set to some date the timeline of all views will start from this date.
|
|
10: * @param date $value
|
|
11: * @return \Kendo\UI\GanttRange
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GanttView.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * If set to some date and it is between the range start and range end of the selected view, the timeline of the currently selected view is scrolled to start from this date.Overrides the date option of the gantt.
|
|
10: * @param date $value
|
|
11: * @return \Kendo\UI\GanttView
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GanttViewRange.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * If set to some date the timeline of the view will start from this date.Overrides the range.start option of the gantt.
|
|
10: * @param date $value
|
|
11: * @return \Kendo\UI\GanttViewRange
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Grid.php
|
|
================================================================================
|
|
Line 541 [match: FROM ]:
|
|
539: /**
|
|
540: * Sets the dataBound event of the Grid.
|
|
>> 541: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
542: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
543: * @return \Kendo\UI\Grid
|
|
|
|
Line 228 [match: SELECT ]:
|
|
226:
|
|
227: /**
|
|
>> 228: * If set to true the user would be able to select grid rows. By default selection is disabled.Can also be set to the following string values: "row" - the user can select a single row.; "cell" - the user can select a single cell.; "multiple, row" - the user can select multiple rows. or "multiple, cell" - the user can select multiple cells..
|
|
229: * @param boolean|string|\Kendo\UI\GridSelectable|array $value
|
|
230: * @return \Kendo\UI\Grid
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridColumn.php
|
|
================================================================================
|
|
Line 100 [match: FROM ]:
|
|
98:
|
|
99: /**
|
|
>> 100: * If set to false the column will be excluded from the exported Excel/PDF files.Can be set to a JavaScript object which specifies whether the column should be exported per format.
|
|
101: * @param boolean|\Kendo\UI\GridColumnExportable|array $value
|
|
102: * @return \Kendo\UI\GridColumn
|
|
|
|
Line 354 [match: FROM ]:
|
|
352:
|
|
353: /**
|
|
>> 354: * If set to true the user will be able to stick or unstick the column from the column menu.
|
|
355: * @param boolean $value
|
|
356: * @return \Kendo\UI\GridColumn
|
|
|
|
Line 327 [match: SELECT ]:
|
|
325:
|
|
326: /**
|
|
>> 327: * If set to true the grid will render a select column with checkboxes in each cell, thus enabling multi-row selection. The header checkbox allows users to select/deselect all the rows on the current page.
|
|
328: * @param boolean $value
|
|
329: * @return \Kendo\UI\GridColumn
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridColumnCommandItemIconClass.php
|
|
================================================================================
|
|
Line 27 [match: UPDATE ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The class for the web font icon of the update command button.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\GridColumnCommandItemIconClass
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridColumnExportable.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * If set to false the column will be excluded from the exported Excel file.
|
|
10: * @param boolean $value
|
|
11: * @return \Kendo\UI\GridColumnExportable
|
|
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * If set to false the column will be excluded from the exported PDF file.
|
|
19: * @param boolean $value
|
|
20: * @return \Kendo\UI\GridColumnExportable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridColumnMenu.php
|
|
================================================================================
|
|
Line 9 [match: SELECT ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * If set to true the column menu would allow the user to select (show and hide) grid columns. By default the column menu allows column selection.
|
|
10: * @param boolean|\Kendo\UI\GridColumnMenuColumns|array $value
|
|
11: * @return \Kendo\UI\GridColumnMenu
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridColumnSortable.php
|
|
================================================================================
|
|
Line 32 [match: FROM ]:
|
|
30:
|
|
31: /**
|
|
>> 32: * Determines the inital (from un-sorted to sorted state) sort direction. The supported values are asc and desc.
|
|
33: * @param string $value
|
|
34: * @return \Kendo\UI\GridColumnSortable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridEditable.php
|
|
================================================================================
|
|
Line 45 [match: FROM ]:
|
|
43:
|
|
44: /**
|
|
>> 45: * If set to true the user can delete data items from the grid by clicking the "destroy" command button. Deleting is enabled by default.
|
|
46: * @param boolean $value
|
|
47: * @return \Kendo\UI\GridEditable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridPdf.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * Exports all grid pages, starting from the first one.
|
|
10: * @param boolean $value
|
|
11: * @return \Kendo\UI\GridPdf
|
|
|
|
Line 81 [match: FROM ]:
|
|
79:
|
|
80: /**
|
|
>> 81: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
82: * @param float $value
|
|
83: * @return \Kendo\UI\GridPdf
|
|
|
|
Line 184 [match: FROM ]:
|
|
182:
|
|
183: /**
|
|
>> 184: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
185: * @param string $value
|
|
186: * @return \Kendo\UI\GridPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridSelectable.php
|
|
================================================================================
|
|
Line 9 [match: SELECT ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * Can be set to the following string values: "row" - the user can select a single row.; "cell" - the user can select a single cell.; "multiple, row" - the user can select multiple rows. or "multiple, cell" - the user can select multiple cells..
|
|
10: * @param string $value
|
|
11: * @return \Kendo\UI\GridSelectable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\GridSortable.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * Determines the inital (from un-sorted to sorted state) sort direction. The supported values are asc and desc.
|
|
28: * @param string $value
|
|
29: * @return \Kendo\UI\GridSortable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ImageEditorSaveAs.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * A name or keyword indicating where to display the document returned from the proxy.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\UI\ImageEditorSaveAs
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ListBox.php
|
|
================================================================================
|
|
Line 25 [match: FROM ]:
|
|
23:
|
|
24: /**
|
|
>> 25: * The id of the target ListBox to which items from the source ListBox will be transferred and vice versa. If you have to transfer items from the target ListBox over its toolbar, then you also need to set its connectWith option.
|
|
26: * @param string $value
|
|
27: * @return \Kendo\UI\ListBox
|
|
|
|
Line 166 [match: FROM ]:
|
|
164: /**
|
|
165: * Sets the dataBound event of the ListBox.
|
|
>> 166: * Fires when the ListBox has received data from the data source and is already rendered.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
|
|
167: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
168: * @return \Kendo\UI\ListBox
|
|
|
|
Line 236 [match: FROM ]:
|
|
234: /**
|
|
235: * Sets the remove event of the ListBox.
|
|
>> 236: * Fires before an item is removed from the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
|
|
237: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
238: * @return \Kendo\UI\ListBox
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ListBoxMessagesTools.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * Defines the text of the Transfer All From button that is located in the toolbar of the ListBox.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\UI\ListBoxMessagesTools
|
|
|
|
Line 54 [match: FROM ]:
|
|
52:
|
|
53: /**
|
|
>> 54: * Defines the text of the Transfer From button that is located in the toolbar of the ListBox.
|
|
55: * @param string $value
|
|
56: * @return \Kendo\UI\ListBoxMessagesTools
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ListBoxToolbar.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * A collection of tools that are used to interact with the ListBox.The built-in tools are: - "moveUp" - Moves up the selected ListBox items. - "moveDown" - Moves down the selected ListBox items. - "remove" - Removes the selected ListBox items. - "transferTo" - Moves the selected items from the current ListBox to the target that is defined in the connectWith option. - "transferFrom" - Moves the selected items from the ListBox that is defined in the connectWith option to the current ListBox. - "transferAllTo" - Moves all items from the current ListBox to the target that is defined in the connectWith option. - "transferAllFrom" - Moves all items from the ListBox that is defined in the connectWith option to the current ListBox.
|
|
19: * @param array $value
|
|
20: * @return \Kendo\UI\ListBoxToolbar
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ListView.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34: $properties = parent::properties();
|
|
35:
|
|
>> 36: //remove tagName from init script
|
|
37: unset($properties['tagName']);
|
|
38:
|
|
|
|
Line 279 [match: FROM ]:
|
|
277: /**
|
|
278: * Sets the dataBound event of the ListView.
|
|
>> 279: * Fires when the ListView has received data from the DataSource and it is already rendered.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
280: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
281: * @return \Kendo\UI\ListView
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ListViewFlex.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * By default, flex items will all try to fit onto one line. Customizing the property defines how items wrap or not within flex continer. Valid values are: wrap: This is equivalent to flex-wrap: wrap. It allows flex items to wrap as needed onto multiple lines, from top to bottom.; nowrap: This is equivalent to flex-wrap: nowrap. All flex items will be on one line. or wrap-reverse:This is equivalent to flex-wrap: wrap-reverse. It allows flex items to wrap as needed onto multiple lines, from bottom to top..
|
|
19: * @param string $value
|
|
20: * @return \Kendo\UI\ListViewFlex
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ListViewPageableMessages.php
|
|
================================================================================
|
|
Line 45 [match: SELECT ]:
|
|
43:
|
|
44: /**
|
|
>> 45: * Defines the text displayed after the select element of the pageSizes mode.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\UI\ListViewPageableMessages
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MaskedTextBox.php
|
|
================================================================================
|
|
Line 52 [match: FROM ]:
|
|
50:
|
|
51: /**
|
|
>> 52: * Specifies the input mask. The following mask rules are supported: 0 - Digit. Accepts any digit between 0 and 9.; 9 - Digit or space. Accepts any digit between 0 and 9, plus space.; # - Digit or space. Like 9 rule, but allows also (+) and (-) signs.; L - Letter. Restricts input to letters a-z and A-Z. This rule is equivalent to [a-zA-Z] in regular expressions.; ? - Letter or space. Restricts input to letters a-z and A-Z. This rule is equivalent to [a-zA-Z] in regular expressions.; & - Character. Accepts any character. The rule is equivalent to \S in regular expressions.; C - Character or space. Accepts any character. The rule is equivalent to . in regular expressions.; A - Alphanumeric. Accepts letters and digits only.; a - Alphanumeric or space. Accepts letters, digits and space only.; . - Decimal placeholder. The decimal separator will be gotten from the current culture used by Kendo.; , - Thousands placeholder. The display character will be gotten from the current culture used by Kendo. or $ - Currency symbol. The display character will be gotten from the current culture used by Kendo..
|
|
53: * @param string $value
|
|
54: * @return \Kendo\UI\MaskedTextBox
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MediaPlayer.php
|
|
================================================================================
|
|
Line 30 [match: FROM ]:
|
|
28:
|
|
29: /**
|
|
>> 30: * If set to false, the user will be prevented from seeking the video forward.
|
|
31: * @param boolean $value
|
|
32: * @return \Kendo\UI\MediaPlayer
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Menu.php
|
|
================================================================================
|
|
Line 235 [match: SELECT ]:
|
|
233:
|
|
234: /**
|
|
>> 235: * Sets the select event of the Menu.
|
|
236: * Fires when a menu item gets selected.
|
|
237: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MenuItem.php
|
|
================================================================================
|
|
Line 32 [match: SELECT ]:
|
|
30: }
|
|
31:
|
|
>> 32: $select = $this->getProperty('select');
|
|
33: if ($select) {
|
|
34: $element->attr('onclick', $select);
|
|
|
|
Line 112 [match: SELECT ]:
|
|
110:
|
|
111: /**
|
|
>> 112: * Specifies the select event handler of an item.
|
|
113: * @param string $value
|
|
114: * @return \Kendo\UI\MenuItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MultiColumnComboBox.php
|
|
================================================================================
|
|
Line 52 [match: FROM ]:
|
|
50:
|
|
51: /**
|
|
>> 52: * Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
|
|
53: * @param string $value
|
|
54: * @return \Kendo\UI\MultiColumnComboBox
|
|
|
|
Line 452 [match: FROM ]:
|
|
450: /**
|
|
451: * Sets the dataBound event of the MultiColumnComboBox.
|
|
>> 452: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
453: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
454: * @return \Kendo\UI\MultiColumnComboBox
|
|
|
|
Line 494 [match: FROM ]:
|
|
492: /**
|
|
493: * Sets the select event of the MultiColumnComboBox.
|
|
>> 494: * Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
495: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
496: * @return \Kendo\UI\MultiColumnComboBox
|
|
|
|
Line 493 [match: SELECT ]:
|
|
491:
|
|
492: /**
|
|
>> 493: * Sets the select event of the MultiColumnComboBox.
|
|
494: * Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
495: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MultiColumnComboBoxVirtual.php
|
|
================================================================================
|
|
Line 28 [match: FROM ]:
|
|
26: /**
|
|
27: * Sets the valueMapper option of the MultiColumnComboBoxVirtual.
|
|
>> 28: * The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.
|
|
29: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
30: * @return \Kendo\UI\MultiColumnComboBoxVirtual
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MultiSelect.php
|
|
================================================================================
|
|
Line 442 [match: FROM ]:
|
|
440: /**
|
|
441: * Sets the dataBound event of the MultiSelect.
|
|
>> 442: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
443: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
444: * @return \Kendo\UI\MultiSelect
|
|
|
|
Line 484 [match: FROM ]:
|
|
482: /**
|
|
483: * Sets the select event of the MultiSelect.
|
|
>> 484: * Fired when an item from the popup is selected by the user.
|
|
485: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
486: * @return \Kendo\UI\MultiSelect
|
|
|
|
Line 5 [match: SELECT ]:
|
|
3: namespace Kendo\UI;
|
|
4:
|
|
>> 5: class MultiSelect extends \Kendo\UI\Widget {
|
|
6: public function name() {
|
|
7: return 'MultiSelect';
|
|
|
|
Line 88 [match: SELECT ]:
|
|
86:
|
|
87: /**
|
|
>> 88: * Specifies the delay in milliseconds after which the MultiSelect will start filtering dataSource.
|
|
89: * @param float $value
|
|
90: * @return \Kendo\UI\MultiSelect
|
|
|
|
Line 483 [match: SELECT ]:
|
|
481:
|
|
482: /**
|
|
>> 483: * Sets the select event of the MultiSelect.
|
|
484: * Fired when an item from the popup is selected by the user.
|
|
485: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 497 [match: SELECT ]:
|
|
495:
|
|
496: /**
|
|
>> 497: * Sets the deselect event of the MultiSelect.
|
|
498: * Fired when an item is deselected or tag is removed.
|
|
499: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MultiSelectVirtual.php
|
|
================================================================================
|
|
Line 28 [match: FROM ]:
|
|
26: /**
|
|
27: * Sets the valueMapper option of the MultiSelectVirtual.
|
|
>> 28: * The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices. > Important > > As of the Kendo UI R3 2016 release, the implementation of the valueMapper function is optional. It is required only if the widget contains an initial value or if the value method is used.
|
|
29: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
30: * @return \Kendo\UI\MultiSelectVirtual
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\MultiViewCalendar.php
|
|
================================================================================
|
|
Line 30 [match: FROM ]:
|
|
28:
|
|
29: /**
|
|
>> 30: * Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
31: * @param string $value
|
|
32: * @return \Kendo\UI\MultiViewCalendar
|
|
|
|
Line 147 [match: FROM ]:
|
|
145:
|
|
146: /**
|
|
>> 147: * Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
|
|
148: * @param string $value
|
|
149: * @return \Kendo\UI\MultiViewCalendar
|
|
|
|
Line 111 [match: SELECT ]:
|
|
109:
|
|
110: /**
|
|
>> 111: * By default user is able to select a single date. The property can also be set to "multiple" or "range". More information about multiple selection can be found in the Selection article.
|
|
112: * @param string $value
|
|
113: * @return \Kendo\UI\MultiViewCalendar
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\NumericTextBox.php
|
|
================================================================================
|
|
Line 202 [match: FROM ]:
|
|
200: /**
|
|
201: * Sets the spin event of the NumericTextBox.
|
|
>> 202: * Fires when the value is changed from the spin buttons
|
|
203: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
204: * @return \Kendo\UI\NumericTextBox
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\OrgChart.php
|
|
================================================================================
|
|
Line 12 [match: FROM ]:
|
|
10:
|
|
11: /**
|
|
>> 12: * An array of strings defining the cards top-border color for each level starting from the top level. If not set, the colors from the Kendo Chart series will be used.
|
|
13: * @param array $value
|
|
14: * @return \Kendo\UI\OrgChart
|
|
|
|
Line 241 [match: SELECT ]:
|
|
239:
|
|
240: /**
|
|
>> 241: * Sets the select event of the OrgChart.
|
|
242: * Triggered when the user attempts to select a new node or group of nodes (in grouped scenario). Preventable.
|
|
243: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 242 [match: SELECT ]:
|
|
240: /**
|
|
241: * Sets the select event of the OrgChart.
|
|
>> 242: * Triggered when the user attempts to select a new node or group of nodes (in grouped scenario). Preventable.
|
|
243: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
244: * @return \Kendo\UI\OrgChart
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PanelBar.php
|
|
================================================================================
|
|
Line 59 [match: FROM ]:
|
|
57:
|
|
58: /**
|
|
>> 59: * Sets an array with the URLs from which the PanelBar items content to be loaded from. If only specific items should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.
|
|
60: * @param array $value
|
|
61: * @return \Kendo\UI\PanelBar
|
|
|
|
Line 200 [match: FROM ]:
|
|
198: /**
|
|
199: * Sets the contentLoad event of the PanelBar.
|
|
>> 200: * Fires when content is fetched from an AJAX request.
|
|
201: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
202: * @return \Kendo\UI\PanelBar
|
|
|
|
Line 255 [match: SELECT ]:
|
|
253:
|
|
254: /**
|
|
>> 255: * Sets the select event of the PanelBar.
|
|
256: * Triggered when an item of a PanelBar is selected by the user.
|
|
257: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PanelBarItem.php
|
|
================================================================================
|
|
Line 143 [match: FROM ]:
|
|
141:
|
|
142: /**
|
|
>> 143: * Specifies the url from which the item content will be loaded
|
|
144: * @param string $value
|
|
145: * @return \Kendo\UI\PanelBarItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PDFViewerDplProcessing.read.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The type of result expected from the server. Used values are "json" and "jsonp". The PDFViewer expects a json to render the geometries.
|
|
28: * @param $value
|
|
29: * @return \Kendo\UI\PDFViewerDplProcessing.read
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PDFViewerDplProcessingRead.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * The type of result expected from the server. Used values are "json" and "jsonp". The PDFViewer expects a json to render the geometries.
|
|
37: * @param string $value
|
|
38: * @return \Kendo\UI\PDFViewerDplProcessingRead
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PdfViewerToolbarItem.php
|
|
================================================================================
|
|
Line 36 [match: FROM ]:
|
|
34:
|
|
35: /**
|
|
>> 36: * Specifies the tool's name. Tool definition will be taken from the default collection - kendo.pdfviewer.DefaultTools
|
|
37: * @param string $value
|
|
38: * @return \Kendo\UI\PDFViewerToolbarItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PivotGrid.php
|
|
================================================================================
|
|
Line 227 [match: FROM ]:
|
|
225: /**
|
|
226: * Sets the dataBound event of the PivotGrid.
|
|
>> 227: * Fired after the widget is bound to the data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
228: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
229: * @return \Kendo\UI\PivotGrid
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PivotGridPdf.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
73: * @param float $value
|
|
74: * @return \Kendo\UI\PivotGridPdf
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
136: * @param string $value
|
|
137: * @return \Kendo\UI\PivotGridPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PivotGridV2.php
|
|
================================================================================
|
|
Line 138 [match: FROM ]:
|
|
136: /**
|
|
137: * Sets the dataBound event of the PivotGridV2.
|
|
>> 138: * Fired after the widget is bound to the data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
139: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
140: * @return \Kendo\UI\PivotGridV2
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\PivotGridV2Pdf.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
73: * @param float $value
|
|
74: * @return \Kendo\UI\PivotGridV2Pdf
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
136: * @param string $value
|
|
137: * @return \Kendo\UI\PivotGridV2Pdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Popover.php
|
|
================================================================================
|
|
Line 138 [match: FROM ]:
|
|
136:
|
|
137: /**
|
|
>> 138: * Specifies the offset (in pixels) between the Popover and the anchor. Тhe offset is rendered from the callout arrow.
|
|
139: * @param float $value
|
|
140: * @return \Kendo\UI\Popover
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\RadioGroup.php
|
|
================================================================================
|
|
Line 103 [match: SELECT ]:
|
|
101:
|
|
102: /**
|
|
>> 103: * Sets the select event of the RadioGroup.
|
|
104: * Fires when a radio input is clicked to be selected through user interaction. If prevented, the clicked input will not be selected.
|
|
105: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Rating.php
|
|
================================================================================
|
|
Line 16 [match: FROM ]:
|
|
14:
|
|
15: /**
|
|
>> 16: * The value from which the Rating items will be rendered.
|
|
17: * @param float $value
|
|
18: * @return \Kendo\UI\Rating
|
|
|
|
Line 34 [match: FROM ]:
|
|
32:
|
|
33: /**
|
|
>> 34: * Specifies the selection behavior. The available options are:*continuous - all items, starting from the first one, are marked as selected. *single - a single item is marked as selected.
|
|
35: * @param string $value
|
|
36: * @return \Kendo\UI\Rating
|
|
|
|
Line 145 [match: FROM ]:
|
|
143:
|
|
144: /**
|
|
>> 145: * If set to false, the Rating will be: disabled and will not allow the user to change its state.; excluded from the tab order and not receiving focus. or will not submit its value if part of a form..
|
|
146: * @param boolean $value
|
|
147: * @return \Kendo\UI\Rating
|
|
|
|
Line 70 [match: SELECT ]:
|
|
68:
|
|
69: /**
|
|
>> 70: * If the option is set, the widget will automatically select the specified item when the Rating receives focus and no previous value has been set.
|
|
71: * @param float $value
|
|
72: * @return \Kendo\UI\Rating
|
|
|
|
Line 186 [match: SELECT ]:
|
|
184:
|
|
185: /**
|
|
>> 186: * Sets the select event of the Rating.
|
|
187: * Fires when an item is selected through user interaction.
|
|
188: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\ResponsivePanel.php
|
|
================================================================================
|
|
Line 20 [match: FROM ]:
|
|
18: $element->html($content);
|
|
19: } else {
|
|
>> 20: // serialize content by removing it from the ignore list
|
|
21: $this->ignore = array_diff(array('content'), $this->ignore);
|
|
22: }
|
|
|
|
Line 48 [match: FROM ]:
|
|
46:
|
|
47: /**
|
|
>> 48: * Specifies the direction from which the hidden element will open up, once the toggle button has been activated. Valid values are "left", "right", and "top".
|
|
49: * @param string $value
|
|
50: * @return \Kendo\UI\ResponsivePanel
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Scheduler.php
|
|
================================================================================
|
|
Line 466 [match: FROM ]:
|
|
464: /**
|
|
465: * Sets the dataBound event of the Scheduler.
|
|
>> 466: * Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
|
|
467: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
468: * @return \Kendo\UI\Scheduler
|
|
|
|
Line 306 [match: SELECT ]:
|
|
304:
|
|
305: /**
|
|
>> 306: * If set to true the user would be able to select scheduler cells and events. By default selection is disabled.
|
|
307: * @param boolean $value
|
|
308: * @return \Kendo\UI\Scheduler
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerCurrentTimeMarker.php
|
|
================================================================================
|
|
Line 9 [match: UPDATE ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * The update interval of the "current time" marker, in milliseconds.
|
|
10: * @param float $value
|
|
11: * @return \Kendo\UI\SchedulerCurrentTimeMarker
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerEditable.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * If set to true the user can delete events from the view by clicking the "destroy" button. Deleting is enabled by default.
|
|
28: * @param boolean $value
|
|
29: * @return \Kendo\UI\SchedulerEditable
|
|
|
|
Line 85 [match: UPDATE ]:
|
|
83:
|
|
84: /**
|
|
>> 85: * If set to true the user can update events. Updating is enabled by default.
|
|
86: * @param boolean $value
|
|
87: * @return \Kendo\UI\SchedulerEditable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerFooter.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * Sets the command which will be displayed in the scheduler footer. Currently only "workDay" option is supported. If the option is set to false, the "workDay" button will be removed from the footer.
|
|
10: * @param string|boolean $value
|
|
11: * @return \Kendo\UI\SchedulerFooter
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerMessagesRecurrenceEditor.php
|
|
================================================================================
|
|
Line 99 [match: UPDATE ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Applicable in Scheduler Adaptive rendering scenario. The text for the update button on the scheduler recurrence editor header.
|
|
100: * @param string $value
|
|
101: * @return \Kendo\UI\SchedulerMessagesRecurrenceEditor
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerPdf.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
73: * @param float $value
|
|
74: * @return \Kendo\UI\SchedulerPdf
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: /**
|
|
>> 135: * A name or keyword indicating where to display the document returned from the proxy.If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
|
|
136: * @param string $value
|
|
137: * @return \Kendo\UI\SchedulerPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerView.php
|
|
================================================================================
|
|
Line 360 [match: FROM ]:
|
|
358:
|
|
359: /**
|
|
>> 360: * Configures the start date of the year view. The Scheduler will display 12 months starting from the startDate.
|
|
361: * @param date $value
|
|
362: * @return \Kendo\UI\SchedulerView
|
|
|
|
Line 388 [match: FROM ]:
|
|
386: /**
|
|
387: * Sets the tooltipTemplate option of the SchedulerView.
|
|
>> 388: * Configures the template used to render the Tooltip in the Scheduler year view.The fields which can be used in the template are: date Date - the selected date from the calendar; events Array - list of the events and their respective resource for the selected date or messages Object - the configuration of the Scheduler messages used for localization..
|
|
389: * @param string $value The id of the element which represents the kendo template.
|
|
390: * @return \Kendo\UI\SchedulerView
|
|
|
|
Line 400 [match: FROM ]:
|
|
398: /**
|
|
399: * Sets the tooltipTemplate option of the SchedulerView.
|
|
>> 400: * Configures the template used to render the Tooltip in the Scheduler year view.The fields which can be used in the template are: date Date - the selected date from the calendar; events Array - list of the events and their respective resource for the selected date or messages Object - the configuration of the Scheduler messages used for localization..
|
|
401: * @param string $value The template content.
|
|
402: * @return \Kendo\UI\SchedulerView
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SchedulerViewEditable.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * If set to true the user can delete events from the view by clicking the "destroy" button. Deleting is enabled by default.
|
|
19: * @param boolean $value
|
|
20: * @return \Kendo\UI\SchedulerViewEditable
|
|
|
|
Line 27 [match: UPDATE ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * If set to true the user can update events. Updating is enabled by default.
|
|
28: * @param boolean $value
|
|
29: * @return \Kendo\UI\SchedulerViewEditable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Sortable.php
|
|
================================================================================
|
|
Line 67 [match: FROM ]:
|
|
65:
|
|
66: /**
|
|
>> 67: * Selector which determines if items from the current Sortable widget can be accepted from another Sortable container(s). The connectWith option describes one way relationship, if the developer wants a two way connection then the connectWith option should be set on both widgets.
|
|
68: * @param string $value
|
|
69: * @return \Kendo\UI\Sortable
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SplitButton.php
|
|
================================================================================
|
|
Line 139 [match: FROM ]:
|
|
137:
|
|
138: /**
|
|
>> 139: * Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the SplitButton. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.
|
|
140: * @param string $value
|
|
141: * @return \Kendo\UI\SplitButton
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SplitterPane.php
|
|
================================================================================
|
|
Line 72 [match: FROM ]:
|
|
70:
|
|
71: /**
|
|
>> 72: * Specifies the URL from which to load the content of a pane.
|
|
73: * @param string $value
|
|
74: * @return \Kendo\UI\SplitterPane
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Spreadsheet.php
|
|
================================================================================
|
|
Line 331 [match: FROM ]:
|
|
329: /**
|
|
330: * Sets the changeFormat event of the Spreadsheet.
|
|
>> 331: * Triggered when the range format is changed from the UI. Introduced in the 2017 Q1 release.
|
|
332: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
333: * @return \Kendo\UI\Spreadsheet
|
|
|
|
Line 471 [match: FROM ]:
|
|
469: /**
|
|
470: * Sets the dataBinding event of the Spreadsheet.
|
|
>> 471: * Fired when the data retrieved from a DataSource is about to be bound to a sheet. Available only if DataSource has been defined for at least one sheet.
|
|
472: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
473: * @return \Kendo\UI\Spreadsheet
|
|
|
|
Line 485 [match: FROM ]:
|
|
483: /**
|
|
484: * Sets the dataBound event of the Spreadsheet.
|
|
>> 485: * Fired when the data from a DataSource is already populated in a sheet. Available only if DataSource has been defined for at least one sheet.
|
|
486: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
487: * @return \Kendo\UI\Spreadsheet
|
|
|
|
Line 316 [match: SELECT ]:
|
|
314:
|
|
315: /**
|
|
>> 316: * Sets the select event of the Spreadsheet.
|
|
317: * Triggered when the Spreadsheet selection is changed. Introduced in the 2017 Q1 release.
|
|
318: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SpreadsheetPdf.php
|
|
================================================================================
|
|
Line 99 [match: FROM ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
100: * @param float $value
|
|
101: * @return \Kendo\UI\SpreadsheetPdf
|
|
|
|
Line 162 [match: FROM ]:
|
|
160:
|
|
161: /**
|
|
>> 162: * A name or keyword which indicates where to display the document that is returned from the proxy. To display the document in a new window or iframe, set the proxy Content-Disposition header to inline; filename="<fileName.pdf>".
|
|
163: * @param string $value
|
|
164: * @return \Kendo\UI\SpreadsheetPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SpreadsheetSheetDrawing.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16:
|
|
17: /**
|
|
>> 18: * The horizontal offset from the anchor cell's top-left corner, in pixels.
|
|
19: * @param float $value
|
|
20: * @return \Kendo\UI\SpreadsheetSheetDrawing
|
|
|
|
Line 27 [match: FROM ]:
|
|
25:
|
|
26: /**
|
|
>> 27: * The vertical offset from the anchor cell's top-left corner, in pixels.
|
|
28: * @param float $value
|
|
29: * @return \Kendo\UI\SpreadsheetSheetDrawing
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\SpreadsheetSheetFilterColumn.php
|
|
================================================================================
|
|
Line 45 [match: wave]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The filter sub-type, if any.The applicable types according to the main filter are: toptopNumbertopPercentbottomNumberbottomPercent or dynamicaboveAveragebelowAveragetomorrowtodayyesterdaynextWeekthisWeeklastWeeknextMonththisMonthlastMonthnextQuarterthisQuarterlastQuarternextYearthisYearlastYearyearToDate.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\UI\SpreadsheetSheetFilterColumn
|
|
|
|
Line 45 [match: Wave]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The filter sub-type, if any.The applicable types according to the main filter are: toptopNumbertopPercentbottomNumberbottomPercent or dynamicaboveAveragebelowAveragetomorrowtodayyesterdaynextWeekthisWeeklastWeeknextMonththisMonthlastMonthnextQuarterthisQuarterlastQuarternextYearthisYearlastYearyearToDate.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\UI\SpreadsheetSheetFilterColumn
|
|
|
|
Line 45 [match: WAVE]:
|
|
43:
|
|
44: /**
|
|
>> 45: * The filter sub-type, if any.The applicable types according to the main filter are: toptopNumbertopPercentbottomNumberbottomPercent or dynamicaboveAveragebelowAveragetomorrowtodayyesterdaynextWeekthisWeeklastWeeknextMonththisMonthlastMonthnextQuarterthisQuarterlastQuarternextYearthisYearlastYearyearToDate.
|
|
46: * @param string $value
|
|
47: * @return \Kendo\UI\SpreadsheetSheetFilterColumn
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Stepper.php
|
|
================================================================================
|
|
Line 30 [match: SELECT ]:
|
|
28:
|
|
29: /**
|
|
>> 30: * Indicates whether the Stepper will force the user to follow the Steps sequence or not. If set to "false" it will allow the user to select any step. If in its default state ("true") the user will be able to select the step immediately after the currently selected step or any previous step.
|
|
31: * @param boolean $value
|
|
32: * @return \Kendo\UI\Stepper
|
|
|
|
Line 39 [match: SELECT ]:
|
|
37:
|
|
38: /**
|
|
>> 39: * Applicable for scenarios when keyboard is used for navigation. Indicates whether the selection will change upon focus change or it will require additional action (Enter or Spacebar key press) in order to select the focused step.
|
|
40: * @param boolean $value
|
|
41: * @return \Kendo\UI\Stepper
|
|
|
|
Line 80 [match: SELECT ]:
|
|
78:
|
|
79: /**
|
|
>> 80: * Sets the select event of the Stepper.
|
|
81: * Fires when the user clicks on a Step to select it.
|
|
82: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 81 [match: SELECT ]:
|
|
79: /**
|
|
80: * Sets the select event of the Stepper.
|
|
>> 81: * Fires when the user clicks on a Step to select it.
|
|
82: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
83: * @return \Kendo\UI\Stepper
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TabStrip.php
|
|
================================================================================
|
|
Line 81 [match: FROM ]:
|
|
79:
|
|
80: /**
|
|
>> 81: * Sets an array with the URLs from which the tabs content to be loaded from. If only specific tabs should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.
|
|
82: * @param array $value
|
|
83: * @return \Kendo\UI\TabStrip
|
|
|
|
Line 213 [match: FROM ]:
|
|
211: /**
|
|
212: * Sets the contentLoad event of the TabStrip.
|
|
>> 213: * Triggered when content is fetched from an AJAX request.
|
|
214: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
215: * @return \Kendo\UI\TabStrip
|
|
|
|
Line 240 [match: SELECT ]:
|
|
238:
|
|
239: /**
|
|
>> 240: * Sets the select event of the TabStrip.
|
|
241: * Triggered before a tab is selected.
|
|
242: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TabStripItem.php
|
|
================================================================================
|
|
Line 96 [match: FROM ]:
|
|
94:
|
|
95: /**
|
|
>> 96: * Specifies the url from which the item content will be loaded
|
|
97: * @param string $value
|
|
98: * @return \Kendo\UI\TabStripItem
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TaskBoard.php
|
|
================================================================================
|
|
Line 262 [match: FROM ]:
|
|
260: /**
|
|
261: * Sets the dataBound event of the TaskBoard.
|
|
>> 262: * Fired when the TaskBoard is bound to data from its data source.
|
|
263: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
264: * @return \Kendo\UI\TaskBoard
|
|
|
|
Line 233 [match: SELECT ]:
|
|
231:
|
|
232: /**
|
|
>> 233: * Sets the select event of the TaskBoard.
|
|
234: * Fired when the user selects a card in the TaskBoard.
|
|
235: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Tooltip.php
|
|
================================================================================
|
|
Line 139 [match: FROM ]:
|
|
137:
|
|
138: /**
|
|
>> 139: * Specifies the offset (in pixels) between the Tooltip and the anchor. If the callout property is set to true, the offset is rendered from the callout arrow. If the callout property is set to false, the offset is rendered from the content of the Tooltip.
|
|
140: * @param float $value
|
|
141: * @return \Kendo\UI\Tooltip
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TreeList.php
|
|
================================================================================
|
|
Line 312 [match: FROM ]:
|
|
310: /**
|
|
311: * Sets the dataBound event of the TreeList.
|
|
>> 312: * Fires when the widget is bound to data from its data source. The event handler function context (available through the this keyword) will be set to the widget instance.
|
|
313: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
314: * @return \Kendo\UI\TreeList
|
|
|
|
Line 200 [match: SELECT ]:
|
|
198:
|
|
199: /**
|
|
>> 200: * If set to true, the user will be able to select TreeList rows. By default, selection is disabled.Can also be set to the following string values: row - The user can select a single row.; cell - The user can select a single cell.; multiple, row - The user can select multiple rows. or multiple, cell - The user can select multiple cells..
|
|
201: * @param boolean|string $value
|
|
202: * @return \Kendo\UI\TreeList
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TreeListColumn.php
|
|
================================================================================
|
|
Line 162 [match: SELECT ]:
|
|
160:
|
|
161: /**
|
|
>> 162: * If set to true the treelist will render a select column with checkboxes in each cell, thus enabling multi-row selection. The header checkbox allows users to select/deselect all the rows on the current page.
|
|
163: * @param boolean $value
|
|
164: * @return \Kendo\UI\TreeListColumn
|
|
|
|
Line 229 [match: SELECT ]:
|
|
227:
|
|
228: /**
|
|
>> 229: * If set to true, the TreeList will select all child rows upon parent row selection when checkbox selection is used.
|
|
230: * @param boolean $value
|
|
231: * @return \Kendo\UI\TreeListColumn
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TreeListColumnMenu.php
|
|
================================================================================
|
|
Line 9 [match: SELECT ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * If set to true, the column menu allows the user to select (show and hide) TreeList columns. By default, the column menu allows column selection.
|
|
10: * @param boolean $value
|
|
11: * @return \Kendo\UI\TreeListColumnMenu
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TreeListMessagesCommands.php
|
|
================================================================================
|
|
Line 99 [match: UPDATE ]:
|
|
97:
|
|
98: /**
|
|
>> 99: * Defines the text of the Update button that applies the changes during editing.
|
|
100: * @param string $value
|
|
101: * @return \Kendo\UI\TreeListMessagesCommands
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TreeListPdf.php
|
|
================================================================================
|
|
Line 9 [match: FROM ]:
|
|
7:
|
|
8: /**
|
|
>> 9: * Exports all TreeList pages, starting from the first one.
|
|
10: * @param boolean $value
|
|
11: * @return \Kendo\UI\TreeListPdf
|
|
|
|
Line 81 [match: FROM ]:
|
|
79:
|
|
80: /**
|
|
>> 81: * Specifies the quality of the images within the exported file, from 0 to 1.
|
|
82: * @param float $value
|
|
83: * @return \Kendo\UI\TreeListPdf
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\TreeView.php
|
|
================================================================================
|
|
Line 179 [match: SELECT ]:
|
|
177: /**
|
|
178: * Sets the change event of the TreeView.
|
|
>> 179: * Triggered when the selection has changed (either by the user or through the select method).
|
|
180: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
181: * @return \Kendo\UI\TreeView
|
|
|
|
Line 346 [match: SELECT ]:
|
|
344:
|
|
345: /**
|
|
>> 346: * Sets the select event of the TreeView.
|
|
347: * Triggered when a node is being selected by the user. Cancellable.
|
|
348: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Upload.php
|
|
================================================================================
|
|
Line 93 [match: SELECT ]:
|
|
91:
|
|
92: /**
|
|
>> 93: * Enables (if set to true) or disables (if set to false) the selection of multiple files. If set to false, the user can select only one file at a time.
|
|
94: * @param boolean $value
|
|
95: * @return \Kendo\UI\Upload
|
|
|
|
Line 254 [match: SELECT ]:
|
|
252:
|
|
253: /**
|
|
>> 254: * Sets the select event of the Upload.
|
|
255: * Fires when a file is selected.
|
|
256: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Window.php
|
|
================================================================================
|
|
Line 20 [match: FROM ]:
|
|
18: $element->html($content);
|
|
19: } else {
|
|
>> 20: // serialize content by removing it from the ignore list
|
|
21: $this->ignore = array_diff(array('content'), $this->ignore);
|
|
22: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\kendoui\lib\UI\Wizard.php
|
|
================================================================================
|
|
Line 124 [match: FROM ]:
|
|
122: /**
|
|
123: * Sets the contentLoad event of the Wizard.
|
|
>> 124: * Triggered when content is fetched from an AJAX request and has been loaded.
|
|
125: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
126: * @return \Kendo\UI\Wizard
|
|
|
|
Line 179 [match: SELECT ]:
|
|
177:
|
|
178: /**
|
|
>> 179: * Sets the select event of the Wizard.
|
|
180: * Fires when the user clicks on the Stepper or clicks on "Previous"/"Next" action Buttons to select another step.
|
|
181: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
|
|
Line 180 [match: SELECT ]:
|
|
178: /**
|
|
179: * Sets the select event of the Wizard.
|
|
>> 180: * Fires when the user clicks on the Stepper or clicks on "Previous"/"Next" action Buttons to select another step.
|
|
181: * @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
|
182: * @return \Kendo\UI\Wizard
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\App\Console\Commands\Npm\Update.php
|
|
================================================================================
|
|
Line 5 [match: UPDATE ]:
|
|
3: use Illuminate\Console\Command;
|
|
4:
|
|
>> 5: class Update extends Command
|
|
6: {
|
|
7: /**
|
|
|
|
Line 19 [match: UPDATE ]:
|
|
17: * @var string
|
|
18: */
|
|
>> 19: protected $description = 'Will update all npm dependencies using a package manager based on lock file or what the user has installed otherwise';
|
|
20:
|
|
21: public function handle()
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\App\Model\ProvidesFKUsageCountsForEntity.php
|
|
================================================================================
|
|
Line 20 [match: FROM ]:
|
|
18: return $UsageCounts;
|
|
19: $DQL = "SELECT p.ID as ThisID, f.ID as UseageID
|
|
>> 20: FROM ".$this->getEntityName()." p";
|
|
21: foreach($EntityLinks as $i => $EntityLink)
|
|
22: $DQL .= " INNER JOIN ".($i>0?'l'.($i-1):'p').".".$EntityLink." l".$i;
|
|
|
|
Line 19 [match: SELECT ]:
|
|
17: if(!sizeof($IDs))
|
|
18: return $UsageCounts;
|
|
>> 19: $DQL = "SELECT p.ID as ThisID, f.ID as UseageID
|
|
20: FROM ".$this->getEntityName()." p";
|
|
21: foreach($EntityLinks as $i => $EntityLink)
|
|
|
|
Line 22 [match: INNER JOIN]:
|
|
20: FROM ".$this->getEntityName()." p";
|
|
21: foreach($EntityLinks as $i => $EntityLink)
|
|
>> 22: $DQL .= " INNER JOIN ".($i>0?'l'.($i-1):'p').".".$EntityLink." l".$i;
|
|
23: $DQL .= " INNER JOIN ".(sizeof($EntityLinks)?'l'.(sizeof($EntityLinks)-1):'p').".".$FKAlias." f
|
|
24: WHERE f.ID IN (:fIDs)";
|
|
|
|
Line 23 [match: INNER JOIN]:
|
|
21: foreach($EntityLinks as $i => $EntityLink)
|
|
22: $DQL .= " INNER JOIN ".($i>0?'l'.($i-1):'p').".".$EntityLink." l".$i;
|
|
>> 23: $DQL .= " INNER JOIN ".(sizeof($EntityLinks)?'l'.(sizeof($EntityLinks)-1):'p').".".$FKAlias." f
|
|
24: WHERE f.ID IN (:fIDs)";
|
|
25: $IDUsage = $this->getEntityManager()->createQuery($DQL)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\ComposerScripts\PostAutoloadDump.php
|
|
================================================================================
|
|
Line 15 [match: FROM ]:
|
|
13: public static function postInstall(Event $event)
|
|
14: {
|
|
>> 15: $event->getIO()->writeError('Cannot install from the autoload dump script');
|
|
16: }
|
|
17:
|
|
|
|
Line 20 [match: FROM ]:
|
|
18: public static function postUpdate(Event $event)
|
|
19: {
|
|
>> 20: $event->getIO()->writeError('Cannot update from the autoload dump script');
|
|
21: }
|
|
22:
|
|
|
|
Line 20 [match: UPDATE ]:
|
|
18: public static function postUpdate(Event $event)
|
|
19: {
|
|
>> 20: $event->getIO()->writeError('Cannot update from the autoload dump script');
|
|
21: }
|
|
22:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\ComposerScripts\PostInstall.php
|
|
================================================================================
|
|
Line 54 [match: FROM ]:
|
|
52: public static function postUpdate(Event $event)
|
|
53: {
|
|
>> 54: $event->getIO()->writeError('Cannot update from the install script');
|
|
55: }
|
|
56:
|
|
|
|
Line 59 [match: FROM ]:
|
|
57: public static function postAutoloadDump(Event $event)
|
|
58: {
|
|
>> 59: $event->getIO()->writeError('Cannot autoload dump from the install script');
|
|
60: }
|
|
61: }
|
|
|
|
Line 54 [match: UPDATE ]:
|
|
52: public static function postUpdate(Event $event)
|
|
53: {
|
|
>> 54: $event->getIO()->writeError('Cannot update from the install script');
|
|
55: }
|
|
56:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\ComposerScripts\PostUpdate.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25: public static function postInstall(Event $event)
|
|
26: {
|
|
>> 27: $event->getIO()->writeError('Cannot install from the update script');
|
|
28: }
|
|
29:
|
|
|
|
Line 37 [match: FROM ]:
|
|
35: public static function postAutoloadDump(Event $event)
|
|
36: {
|
|
>> 37: $event->getIO()->writeError('Cannot autoload dump from the update script');
|
|
38: }
|
|
39: }
|
|
|
|
Line 5 [match: UPDATE ]:
|
|
3: use Composer\Script\Event;
|
|
4:
|
|
>> 5: class PostUpdate extends Commands
|
|
6: {
|
|
7: public static function all(Event $Event)
|
|
|
|
Line 27 [match: UPDATE ]:
|
|
25: public static function postInstall(Event $event)
|
|
26: {
|
|
>> 27: $event->getIO()->writeError('Cannot install from the update script');
|
|
28: }
|
|
29:
|
|
|
|
Line 37 [match: UPDATE ]:
|
|
35: public static function postAutoloadDump(Event $event)
|
|
36: {
|
|
>> 37: $event->getIO()->writeError('Cannot autoload dump from the update script');
|
|
38: }
|
|
39: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\Doctrine\GenerateCommand.php
|
|
================================================================================
|
|
Line 23 [match: FROM ]:
|
|
21: * @var string
|
|
22: */
|
|
>> 23: protected $description = 'Generates model files from Doctrine YAML schema files';
|
|
24:
|
|
25: /**
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\Doctrine\LAuthUserProvider.php
|
|
================================================================================
|
|
Line 110 [match: FROM ]:
|
|
108:
|
|
109: $dql = "SELECT authUser
|
|
>> 110: FROM \\App\\Model\\Entities\\auth_User authUser
|
|
111: LEFT JOIN authUser.auth_Domain authDomain
|
|
112: WHERE (authDomain.ID IS NULL OR authDomain.DomainName = :domainName)";
|
|
|
|
Line 321 [match: FROM ]:
|
|
319: $clientCount =
|
|
320: $this->EM->createQuery("SELECT COUNT(c)
|
|
>> 321: FROM App\Model\Entities\auth_OAuthClient c
|
|
322: INNER JOIN c.auth_UserType ut
|
|
323: INNER JOIN ut.auth_User u
|
|
|
|
Line 109 [match: SELECT ]:
|
|
107: return null;
|
|
108:
|
|
>> 109: $dql = "SELECT authUser
|
|
110: FROM \\App\\Model\\Entities\\auth_User authUser
|
|
111: LEFT JOIN authUser.auth_Domain authDomain
|
|
|
|
Line 320 [match: SELECT ]:
|
|
318: {
|
|
319: $clientCount =
|
|
>> 320: $this->EM->createQuery("SELECT COUNT(c)
|
|
321: FROM App\Model\Entities\auth_OAuthClient c
|
|
322: INNER JOIN c.auth_UserType ut
|
|
|
|
Line 322 [match: INNER JOIN]:
|
|
320: $this->EM->createQuery("SELECT COUNT(c)
|
|
321: FROM App\Model\Entities\auth_OAuthClient c
|
|
>> 322: INNER JOIN c.auth_UserType ut
|
|
323: INNER JOIN ut.auth_User u
|
|
324: WHERE u.ID = :userID
|
|
|
|
Line 323 [match: INNER JOIN]:
|
|
321: FROM App\Model\Entities\auth_OAuthClient c
|
|
322: INNER JOIN c.auth_UserType ut
|
|
>> 323: INNER JOIN ut.auth_User u
|
|
324: WHERE u.ID = :userID
|
|
325: AND c.ID = :clientID")
|
|
|
|
Line 111 [match: LEFT JOIN]:
|
|
109: $dql = "SELECT authUser
|
|
110: FROM \\App\\Model\\Entities\\auth_User authUser
|
|
>> 111: LEFT JOIN authUser.auth_Domain authDomain
|
|
112: WHERE (authDomain.ID IS NULL OR authDomain.DomainName = :domainName)";
|
|
113: foreach($findBy as $key => $value)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\Doctrine\Notifiable.php
|
|
================================================================================
|
|
Line 17 [match: FROM ]:
|
|
15: {
|
|
16: // US format 1XXXXXXXXXX
|
|
>> 17: throw new \Exception('Currently no phone number accessible directly from a user. Consider a calculated method to look at correct user type 1-1 record.');
|
|
18: }
|
|
19:
|
|
|
|
Line 23 [match: FROM ]:
|
|
21: {
|
|
22: // US format +1XXXXXXXXXX
|
|
>> 23: throw new \Exception('Currently no phone number accessible directly from a user. Consider a calculated method to look at correct user type 1-1 record.');
|
|
24: }
|
|
25:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\Twilio\Notifications\TwilioSmsChannel.php
|
|
================================================================================
|
|
Line 27 [match: FROM ]:
|
|
25: }
|
|
26:
|
|
>> 27: $from = ($message->getFrom() ?: config('services.twilio.from', null));
|
|
28:
|
|
29: /** @var Client $Client */
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\laravel\lib\Twilio\Notifications\TwilioSmsMessage.php
|
|
================================================================================
|
|
Line 6 [match: FROM ]:
|
|
4: {
|
|
5: protected $message;
|
|
>> 6: protected $from = null;
|
|
7:
|
|
8: /**
|
|
|
|
Line 50 [match: FROM ]:
|
|
48: public function setFrom($from)
|
|
49: {
|
|
>> 50: $this->from = $from;
|
|
51:
|
|
52: return $this;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\config\lauth.php
|
|
================================================================================
|
|
Line 48 [match: FROM ]:
|
|
46: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
47: ->getEm('ro')
|
|
>> 48: ->createQuery("SELECT u.ID FROM \\App\\Model\\Entities\\auth_User u INNER JOIN u.auth_UserType t WHERE u.HasBeenDeactivated=0 AND u.ID <> :impersonatorAuthUserID")
|
|
49: ->setParameter('impersonatorAuthUserID', $impersonatorAuthUserID)
|
|
50: ->getResult();
|
|
|
|
Line 67 [match: FROM ]:
|
|
65: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
66: ->getEm('ro')
|
|
>> 67: ->createQuery("SELECT u.ID, u.Email FROM \\App\\Model\\Entities\\auth_User u")
|
|
68: ->getResult();
|
|
69:
|
|
|
|
Line 86 [match: FROM ]:
|
|
84: 'enabled' => env('LAUTH_LDAP_ENABLED', false),
|
|
85:
|
|
>> 86: // the attribute from a user's ldap profile to utilize as their email address
|
|
87: 'email_attribute' => env('LAUTH_LDAP_EMAIL_ATTRIBUTE', 'emailAddress'),
|
|
88:
|
|
|
|
Line 124 [match: FROM ]:
|
|
122: 'auth_code_expiration_minutes' => 10,
|
|
123:
|
|
>> 124: // enables passport to accept SSO requests from other applications
|
|
125: 'idp_enabled' => false,
|
|
126:
|
|
|
|
Line 130 [match: FROM ]:
|
|
128: 'oidc_token_id_model' => \Savvior\LAuth\Services\OIDC\TokenIDModel::class,
|
|
129:
|
|
>> 130: // when passport accepts SSO requests, the class that will extract claims from the token_id_model for the response; does not need overridden unless you need to return values in the token_id response outside the oidc spec
|
|
131: 'oidc_claims_extractor' => \Savvior\LAuth\Services\OIDC\ClaimsExtractor::class,
|
|
132:
|
|
|
|
Line 48 [match: SELECT ]:
|
|
46: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
47: ->getEm('ro')
|
|
>> 48: ->createQuery("SELECT u.ID FROM \\App\\Model\\Entities\\auth_User u INNER JOIN u.auth_UserType t WHERE u.HasBeenDeactivated=0 AND u.ID <> :impersonatorAuthUserID")
|
|
49: ->setParameter('impersonatorAuthUserID', $impersonatorAuthUserID)
|
|
50: ->getResult();
|
|
|
|
Line 67 [match: SELECT ]:
|
|
65: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
66: ->getEm('ro')
|
|
>> 67: ->createQuery("SELECT u.ID, u.Email FROM \\App\\Model\\Entities\\auth_User u")
|
|
68: ->getResult();
|
|
69:
|
|
|
|
Line 48 [match: INNER JOIN]:
|
|
46: $Subjects = $app->make('Savvior\Doctrine\EMContainer')
|
|
47: ->getEm('ro')
|
|
>> 48: ->createQuery("SELECT u.ID FROM \\App\\Model\\Entities\\auth_User u INNER JOIN u.auth_UserType t WHERE u.HasBeenDeactivated=0 AND u.ID <> :impersonatorAuthUserID")
|
|
49: ->setParameter('impersonatorAuthUserID', $impersonatorAuthUserID)
|
|
50: ->getResult();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Console\ImportPermissionRules.php
|
|
================================================================================
|
|
Line 121 [match: UPDATE ]:
|
|
119: $CurrentRules[$RuleCodingKey]->setDisplayOrder($RuleOrder);
|
|
120:
|
|
>> 121: //update cat if db doesnt match csv
|
|
122: if($CurrentRules[$RuleCodingKey]->getAuthPermissionRuleCategory() != null && $RuleCategory == ''){
|
|
123: $CurrentRules[$RuleCodingKey]->setAuthPermissionRuleCategory(null);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Contracts\UserBatchJobRunner.php
|
|
================================================================================
|
|
Line 107 [match: UPDATE ]:
|
|
105:
|
|
106: /**
|
|
>> 107: * Update the completion percentage for the specified job
|
|
108: *
|
|
109: * @param mixed $jobID
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Controllers\AdditionalSecurityBaseController.php
|
|
================================================================================
|
|
Line 170 [match: SELECT ]:
|
|
168:
|
|
169: if (!is_array($Questions) || count($Questions) != $NumberOfQuestionsRequired)
|
|
>> 170: return redirect()->back()->withInput()->withErrors(__('Please select and answer :NumQuestions security questions.', ['NumQuestions' => $NumberOfQuestionsRequired]));
|
|
171:
|
|
172: foreach($Answers AS $Answer){
|
|
|
|
Line 174 [match: SELECT ]:
|
|
172: foreach($Answers AS $Answer){
|
|
173: if(!isset($Answer))
|
|
>> 174: return redirect()->back()->withInput()->withErrors(__('Please select and answer :NumQuestions security questions.', ['NumQuestions' => $NumberOfQuestionsRequired]));
|
|
175: if(strlen($Answer) < $MinAnswerLength)
|
|
176: return redirect()->back()->withInput()->withErrors(__('Please double check that all answers are at least :MinAnswerLength characters long.', ['MinAnswerLength' => $MinAnswerLength]));
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Controllers\AuthenticatesUsers.php
|
|
================================================================================
|
|
Line 63 [match: FROM ]:
|
|
61:
|
|
62: /**
|
|
>> 63: * Get the needed authorization credentials from the request.
|
|
64: *
|
|
65: * @param \Illuminate\Http\Request $request
|
|
|
|
Line 202 [match: FROM ]:
|
|
200: SET refreshToken.IsRevoked = true
|
|
201: WHERE refreshToken.auth_OAuthAccessToken IN (SELECT accessToken.ID
|
|
>> 202: FROM ".auth_OAuthAccessToken::class." accessToken
|
|
203: WHERE accessToken.auth_User = :UserID)")
|
|
204: ->setParameter('UserID', $this->guard()->user()->getAuthIdentifier())
|
|
|
|
Line 201 [match: SELECT ]:
|
|
199: ->createQuery("UPDATE ".auth_OAuthRefreshToken::class." refreshToken
|
|
200: SET refreshToken.IsRevoked = true
|
|
>> 201: WHERE refreshToken.auth_OAuthAccessToken IN (SELECT accessToken.ID
|
|
202: FROM ".auth_OAuthAccessToken::class." accessToken
|
|
203: WHERE accessToken.auth_User = :UserID)")
|
|
|
|
Line 199 [match: UPDATE ]:
|
|
197: $EMContainer = app(EMContainer::class);
|
|
198: $EMContainer->getEM(config('auth.providers.users.connection'))
|
|
>> 199: ->createQuery("UPDATE ".auth_OAuthRefreshToken::class." refreshToken
|
|
200: SET refreshToken.IsRevoked = true
|
|
201: WHERE refreshToken.auth_OAuthAccessToken IN (SELECT accessToken.ID
|
|
|
|
Line 207 [match: UPDATE ]:
|
|
205: ->execute();
|
|
206: $EMContainer->getEM(config('auth.providers.users.connection'))
|
|
>> 207: ->createQuery("UPDATE ".auth_OAuthAccessToken::class." accessToken
|
|
208: SET accessToken.IsRevoked = true
|
|
209: WHERE accessToken.auth_User = :UserID")
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Controllers\ManagesUserPermissions.php
|
|
================================================================================
|
|
Line 74 [match: FROM ]:
|
|
72: protected function _updateUserPermissionRules(auth_User $User, array $PermissionRuleIDs)
|
|
73: {
|
|
>> 74: // user object must be from rw entity manager
|
|
75: // recommended that this method call be wrapped in a transaction
|
|
76:
|
|
|
|
Line 124 [match: FROM ]:
|
|
122: protected function _updateUserPermissionGroups(auth_User $User, array $PermissionGroupIDs)
|
|
123: {
|
|
>> 124: // user object must be from rw entity manager
|
|
125: // recommended that this method call be wrapped in a transaction
|
|
126:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Events\Attempting.php
|
|
================================================================================
|
|
Line 21 [match: FROM ]:
|
|
19:
|
|
20: /**
|
|
>> 21: * If sourced from an OAuth client, the ID of that client
|
|
22: */
|
|
23: public $OAuthClientID;
|
|
|
|
Line 26 [match: FROM ]:
|
|
24:
|
|
25: /**
|
|
>> 26: * If sourced from an IDP, the ID of that provider
|
|
27: */
|
|
28: public $SSOProviderID;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Events\Login.php
|
|
================================================================================
|
|
Line 6 [match: FROM ]:
|
|
4: {
|
|
5: /**
|
|
>> 6: * Indicates if the failed login came from a "remember" attempt.
|
|
7: */
|
|
8: public $viaRemember;
|
|
|
|
Line 26 [match: FROM ]:
|
|
24:
|
|
25: /**
|
|
>> 26: * If sourced from an OAuth client, the ID of that client
|
|
27: */
|
|
28: public $OAuthClientID;
|
|
|
|
Line 31 [match: FROM ]:
|
|
29:
|
|
30: /**
|
|
>> 31: * If sourced from an IDP, the ID of that provider
|
|
32: */
|
|
33: public $SSOProviderID;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Events\LoginFailed.php
|
|
================================================================================
|
|
Line 37 [match: FROM ]:
|
|
35:
|
|
36: /**
|
|
>> 37: * Indicates if the failed login came from a "remember" attempt.
|
|
38: */
|
|
39: public $viaRemember;
|
|
|
|
Line 62 [match: FROM ]:
|
|
60:
|
|
61: /**
|
|
>> 62: * If sourced from an OAuth client, the ID of that client
|
|
63: */
|
|
64: public $OAuthClientID;
|
|
|
|
Line 67 [match: FROM ]:
|
|
65:
|
|
66: /**
|
|
>> 67: * If sourced from an IDP, the ID of that provider
|
|
68: */
|
|
69: public $SSOProviderID;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Events\Logout.php
|
|
================================================================================
|
|
Line 11 [match: FROM ]:
|
|
9:
|
|
10: /**
|
|
>> 11: * If sourced from an OAuth client, the ID of that client
|
|
12: */
|
|
13: public $OAuthClientID;
|
|
|
|
Line 16 [match: FROM ]:
|
|
14:
|
|
15: /**
|
|
>> 16: * If sourced from an IDP, the ID of that provider
|
|
17: */
|
|
18: public $SSOProviderID;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Model\ProvidesDataForManagingPermissionGroups.php
|
|
================================================================================
|
|
Line 16 [match: FROM ]:
|
|
14: /** @var \App\Model\Entities\auth_PermissionGroup[] $res */
|
|
15: $res = $this->getEntityManager()->createQuery("SELECT g".($hydratePermissions ? ', r' : '')."
|
|
>> 16: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
17: ".($hydratePermissions ? 'LEFT JOIN g.auth_PermissionRule r ': '')."
|
|
18: ORDER BY g.PermissionGroupName")
|
|
|
|
Line 32 [match: FROM ]:
|
|
30: * @return \App\Model\Entities\auth_User[][]
|
|
31: */
|
|
>> 32: public function getPermissionGroupUserUtilizationByPermissionGroupID($limitToUsersWithRelatedUserRecordFrom = null)
|
|
33: {
|
|
34: $dql = "SELECT g, u".(!is_null($limitToUsersWithRelatedUserRecordFrom)?', x':'')."
|
|
|
|
Line 35 [match: FROM ]:
|
|
33: {
|
|
34: $dql = "SELECT g, u".(!is_null($limitToUsersWithRelatedUserRecordFrom)?', x':'')."
|
|
>> 35: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
36: LEFT JOIN g.auth_User u ";
|
|
37: if(!is_null($limitToUsersWithRelatedUserRecordFrom))
|
|
|
|
Line 61 [match: FROM ]:
|
|
59: * @return array
|
|
60: */
|
|
>> 61: public function getPermissionGroupUserUtilizationCountByPermissionGroupID($limitToUsersWithRelatedUserRecordFrom = null)
|
|
62: {
|
|
63: $UserUtilization = $this->getPermissionGroupUserUtilizationByPermissionGroupID($limitToUsersWithRelatedUserRecordFrom);
|
|
|
|
Line 80 [match: FROM ]:
|
|
78: /** @var \App\Model\Entities\auth_PermissionGroup[] $res */
|
|
79: $res = $this->getEntityManager()->createQuery("SELECT g, r
|
|
>> 80: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
81: LEFT JOIN g.auth_PermissionRule r")
|
|
82: ->getResult();
|
|
|
|
Line 107 [match: FROM ]:
|
|
105: /** @var \App\Model\Entities\auth_PermissionGroup[] $res */
|
|
106: $res = $this->getEntityManager()->createQuery("SELECT g
|
|
>> 107: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
108: WHERE g.ID IN (:ids)")
|
|
109: ->setParameter('ids', $IDs)
|
|
|
|
Line 127 [match: FROM ]:
|
|
125: /** @noinspection PhpUndefinedMethodInspection */
|
|
126: $res = $this->getEntityManager()->createQuery("SELECT g.ID
|
|
>> 127: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
128: INNER JOIN g.auth_User u
|
|
129: WHERE u.ID = :userID")
|
|
|
|
Line 148 [match: FROM ]:
|
|
146: /** @noinspection PhpUndefinedMethodInspection */
|
|
147: return $this->getEntityManager()->createQuery("SELECT g.ID
|
|
>> 148: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
149: WHERE g.CodingKey = :codingKey")
|
|
150: ->setParameter('codingKey', $CodingKey)
|
|
|
|
Line 15 [match: SELECT ]:
|
|
13: /** @noinspection PhpUndefinedMethodInspection */
|
|
14: /** @var \App\Model\Entities\auth_PermissionGroup[] $res */
|
|
>> 15: $res = $this->getEntityManager()->createQuery("SELECT g".($hydratePermissions ? ', r' : '')."
|
|
16: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
17: ".($hydratePermissions ? 'LEFT JOIN g.auth_PermissionRule r ': '')."
|
|
|
|
Line 34 [match: SELECT ]:
|
|
32: public function getPermissionGroupUserUtilizationByPermissionGroupID($limitToUsersWithRelatedUserRecordFrom = null)
|
|
33: {
|
|
>> 34: $dql = "SELECT g, u".(!is_null($limitToUsersWithRelatedUserRecordFrom)?', x':'')."
|
|
35: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
36: LEFT JOIN g.auth_User u ";
|
|
|
|
Line 79 [match: SELECT ]:
|
|
77: /** @noinspection PhpUndefinedMethodInspection */
|
|
78: /** @var \App\Model\Entities\auth_PermissionGroup[] $res */
|
|
>> 79: $res = $this->getEntityManager()->createQuery("SELECT g, r
|
|
80: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
81: LEFT JOIN g.auth_PermissionRule r")
|
|
|
|
Line 106 [match: SELECT ]:
|
|
104: /** @noinspection PhpUndefinedMethodInspection */
|
|
105: /** @var \App\Model\Entities\auth_PermissionGroup[] $res */
|
|
>> 106: $res = $this->getEntityManager()->createQuery("SELECT g
|
|
107: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
108: WHERE g.ID IN (:ids)")
|
|
|
|
Line 126 [match: SELECT ]:
|
|
124: {
|
|
125: /** @noinspection PhpUndefinedMethodInspection */
|
|
>> 126: $res = $this->getEntityManager()->createQuery("SELECT g.ID
|
|
127: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
128: INNER JOIN g.auth_User u
|
|
|
|
Line 147 [match: SELECT ]:
|
|
145: {
|
|
146: /** @noinspection PhpUndefinedMethodInspection */
|
|
>> 147: return $this->getEntityManager()->createQuery("SELECT g.ID
|
|
148: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
149: WHERE g.CodingKey = :codingKey")
|
|
|
|
Line 128 [match: INNER JOIN]:
|
|
126: $res = $this->getEntityManager()->createQuery("SELECT g.ID
|
|
127: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
>> 128: INNER JOIN g.auth_User u
|
|
129: WHERE u.ID = :userID")
|
|
130: ->setParameter('userID', $UserID)
|
|
|
|
Line 17 [match: LEFT JOIN]:
|
|
15: $res = $this->getEntityManager()->createQuery("SELECT g".($hydratePermissions ? ', r' : '')."
|
|
16: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
>> 17: ".($hydratePermissions ? 'LEFT JOIN g.auth_PermissionRule r ': '')."
|
|
18: ORDER BY g.PermissionGroupName")
|
|
19: ->getResult();
|
|
|
|
Line 36 [match: LEFT JOIN]:
|
|
34: $dql = "SELECT g, u".(!is_null($limitToUsersWithRelatedUserRecordFrom)?', x':'')."
|
|
35: FROM \App\Model\Entities\auth_PermissionGroup g
|
|
>> 36: LEFT JOIN g.auth_User u ";
|
|
37: if(!is_null($limitToUsersWithRelatedUserRecordFrom))
|
|
38: {
|
|
|
|
Line 39 [match: LEFT JOIN]:
|
|
37: if(!is_null($limitToUsersWithRelatedUserRecordFrom))
|
|
38: {
|
|
>> 39: $dql .= 'LEFT JOIN u.'.$limitToUsersWithRelatedUserRecordFrom.' x
|
|
40: WHERE u.ID IS NULL OR x.ID IS NOT NULL';
|
|
41: }
|
|
|
|
Line 81 [match: LEFT JOIN]:
|
|
79: $res = $this->getEntityManager()->createQuery("SELECT g, r
|
|
80: FROM \\App\\Model\\Entities\\auth_PermissionGroup g
|
|
>> 81: LEFT JOIN g.auth_PermissionRule r")
|
|
82: ->getResult();
|
|
83: $ret = [];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Model\ProvidesDataForManagingPermissionRules.php
|
|
================================================================================
|
|
Line 13 [match: FROM ]:
|
|
11: /** @var \App\Model\Entities\auth_PermissionRuleCategory[] $res */
|
|
12: $res = $this->getEntityManager()->createQuery("SELECT c, r
|
|
>> 13: FROM \\App\\Model\\Entities\\auth_PermissionRuleCategory c
|
|
14: INNER JOIN c.auth_PermissionRule r
|
|
15: ORDER BY c.DisplayOrder, c.CategoryName, r.DisplayOrder, r.RuleName")
|
|
|
|
Line 37 [match: FROM ]:
|
|
35: /** @var \App\Model\Entities\auth_PermissionRule[] $res */
|
|
36: $res = $this->getEntityManager()->createQuery("SELECT r
|
|
>> 37: FROM \\App\\Model\\Entities\\auth_PermissionRule r
|
|
38: WHERE r.auth_PermissionRuleCategory IS NULL
|
|
39: ORDER BY r.DisplayOrder, r.RuleName")
|
|
|
|
Line 59 [match: FROM ]:
|
|
57: /** @var \App\Model\Entities\auth_PermissionRule[] $res */
|
|
58: $res = $this->getEntityManager()->createQuery("SELECT r
|
|
>> 59: FROM \\App\\Model\\Entities\\auth_PermissionRule r")
|
|
60: ->getResult();
|
|
61: $ret = [];
|
|
|
|
Line 81 [match: FROM ]:
|
|
79: /** @var \App\Model\Entities\auth_PermissionRule[] $res */
|
|
80: $res = $this->getEntityManager()->createQuery("SELECT r
|
|
>> 81: FROM \App\Model\Entities\auth_PermissionRule r
|
|
82: WHERE r.ID IN (:ids)")
|
|
83: ->setParameter('ids', $IDs)
|
|
|
|
Line 101 [match: FROM ]:
|
|
99: /** @noinspection PhpUndefinedMethodInspection */
|
|
100: $res = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
>> 101: FROM \\App\\Model\\Entities\\auth_PermissionRule r
|
|
102: INNER JOIN r.auth_User u
|
|
103: WHERE u.ID = :userID")
|
|
|
|
Line 12 [match: SELECT ]:
|
|
10: /** @noinspection PhpUndefinedMethodInspection */
|
|
11: /** @var \App\Model\Entities\auth_PermissionRuleCategory[] $res */
|
|
>> 12: $res = $this->getEntityManager()->createQuery("SELECT c, r
|
|
13: FROM \\App\\Model\\Entities\\auth_PermissionRuleCategory c
|
|
14: INNER JOIN c.auth_PermissionRule r
|
|
|
|
Line 36 [match: SELECT ]:
|
|
34: /** @noinspection PhpUndefinedMethodInspection */
|
|
35: /** @var \App\Model\Entities\auth_PermissionRule[] $res */
|
|
>> 36: $res = $this->getEntityManager()->createQuery("SELECT r
|
|
37: FROM \\App\\Model\\Entities\\auth_PermissionRule r
|
|
38: WHERE r.auth_PermissionRuleCategory IS NULL
|
|
|
|
Line 58 [match: SELECT ]:
|
|
56: /** @noinspection PhpUndefinedMethodInspection */
|
|
57: /** @var \App\Model\Entities\auth_PermissionRule[] $res */
|
|
>> 58: $res = $this->getEntityManager()->createQuery("SELECT r
|
|
59: FROM \\App\\Model\\Entities\\auth_PermissionRule r")
|
|
60: ->getResult();
|
|
|
|
Line 80 [match: SELECT ]:
|
|
78: /** @noinspection PhpUndefinedMethodInspection */
|
|
79: /** @var \App\Model\Entities\auth_PermissionRule[] $res */
|
|
>> 80: $res = $this->getEntityManager()->createQuery("SELECT r
|
|
81: FROM \App\Model\Entities\auth_PermissionRule r
|
|
82: WHERE r.ID IN (:ids)")
|
|
|
|
Line 100 [match: SELECT ]:
|
|
98: {
|
|
99: /** @noinspection PhpUndefinedMethodInspection */
|
|
>> 100: $res = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
101: FROM \\App\\Model\\Entities\\auth_PermissionRule r
|
|
102: INNER JOIN r.auth_User u
|
|
|
|
Line 14 [match: INNER JOIN]:
|
|
12: $res = $this->getEntityManager()->createQuery("SELECT c, r
|
|
13: FROM \\App\\Model\\Entities\\auth_PermissionRuleCategory c
|
|
>> 14: INNER JOIN c.auth_PermissionRule r
|
|
15: ORDER BY c.DisplayOrder, c.CategoryName, r.DisplayOrder, r.RuleName")
|
|
16: ->getResult();
|
|
|
|
Line 102 [match: INNER JOIN]:
|
|
100: $res = $this->getEntityManager()->createQuery("SELECT r.ID
|
|
101: FROM \\App\\Model\\Entities\\auth_PermissionRule r
|
|
>> 102: INNER JOIN r.auth_User u
|
|
103: WHERE u.ID = :userID")
|
|
104: ->setParameter('userID', $UserID)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Model\ProvidesDataForUserBatchJobs.php
|
|
================================================================================
|
|
Line 16 [match: FROM ]:
|
|
14: return
|
|
15: $this->getEntityManager()->createQuery("SELECT j
|
|
>> 16: FROM App\\Model\\Entities\\auth_UserBatchJob j
|
|
17: WHERE j.JobName = :jobName
|
|
18: AND j.IsCompleted = false
|
|
|
|
Line 35 [match: FROM ]:
|
|
33: return
|
|
34: $this->getEntityManager()->createQuery("SELECT j
|
|
>> 35: FROM App\\Model\\Entities\\auth_UserBatchJob j
|
|
36: WHERE j.JobName IN (:jobNames)
|
|
37: AND j.IsPending = true")
|
|
|
|
Line 46 [match: FROM ]:
|
|
44: return
|
|
45: $this->getEntityManager()->createQuery("SELECT j
|
|
>> 46: FROM App\\Model\\Entities\\auth_UserBatchJob j
|
|
47: WHERE j.IsPending = true")
|
|
48: ->getResult();
|
|
|
|
Line 66 [match: FROM ]:
|
|
64: case 'mysql':
|
|
65: $sql = "SELECT AVG(TIME_TO_SEC(TIMEDIFF(CompletedAt, StartedAt))) as AvergaeSeconds
|
|
>> 66: FROM auth_UserBatchJob
|
|
67: WHERE IsCompleted = 1
|
|
68: AND HasErrors = 0
|
|
|
|
Line 73 [match: FROM ]:
|
|
71: case 'mssql':
|
|
72: $sql = "SELECT AVG(DATEDIFF(s, StartedAt, CompletedAt)) as AvergaeSeconds
|
|
>> 73: FROM auth_UserBatchJob
|
|
74: WHERE IsCompleted = 1
|
|
75: AND HasErrors = 0
|
|
|
|
Line 15 [match: SELECT ]:
|
|
13: /** @noinspection PhpUndefinedMethodInspection */
|
|
14: return
|
|
>> 15: $this->getEntityManager()->createQuery("SELECT j
|
|
16: FROM App\\Model\\Entities\\auth_UserBatchJob j
|
|
17: WHERE j.JobName = :jobName
|
|
|
|
Line 34 [match: SELECT ]:
|
|
32: /** @noinspection PhpUndefinedMethodInspection */
|
|
33: return
|
|
>> 34: $this->getEntityManager()->createQuery("SELECT j
|
|
35: FROM App\\Model\\Entities\\auth_UserBatchJob j
|
|
36: WHERE j.JobName IN (:jobNames)
|
|
|
|
Line 45 [match: SELECT ]:
|
|
43: /** @noinspection PhpUndefinedMethodInspection */
|
|
44: return
|
|
>> 45: $this->getEntityManager()->createQuery("SELECT j
|
|
46: FROM App\\Model\\Entities\\auth_UserBatchJob j
|
|
47: WHERE j.IsPending = true")
|
|
|
|
Line 65 [match: SELECT ]:
|
|
63: {
|
|
64: case 'mysql':
|
|
>> 65: $sql = "SELECT AVG(TIME_TO_SEC(TIMEDIFF(CompletedAt, StartedAt))) as AvergaeSeconds
|
|
66: FROM auth_UserBatchJob
|
|
67: WHERE IsCompleted = 1
|
|
|
|
Line 72 [match: SELECT ]:
|
|
70: break;
|
|
71: case 'mssql':
|
|
>> 72: $sql = "SELECT AVG(DATEDIFF(s, StartedAt, CompletedAt)) as AvergaeSeconds
|
|
73: FROM auth_UserBatchJob
|
|
74: WHERE IsCompleted = 1
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Model\ProvidesDataForUserPermissions.php
|
|
================================================================================
|
|
Line 18 [match: FROM ]:
|
|
16: $res =
|
|
17: $this->getEntityManager()->createQuery("SELECT r.RuleCodingKey
|
|
>> 18: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
19: INNER JOIN r.auth_User u
|
|
20: WHERE u.ID = :userID")
|
|
|
|
Line 38 [match: FROM ]:
|
|
36: $res =
|
|
37: $this->getEntityManager()->createQuery("SELECT r.RuleCodingKey
|
|
>> 38: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
39: INNER JOIN r.auth_PermissionGroup g
|
|
40: INNER JOIN g.auth_User u
|
|
|
|
Line 61 [match: FROM ]:
|
|
59: /** @var Query $qry */
|
|
60: $qry = $this->getEntityManager()->createQuery("SELECT u
|
|
>> 61: FROM App\\Model\\Entities\\auth_User u
|
|
62: LEFT JOIN u.auth_PermissionGroup pg
|
|
63: LEFT JOIN pg.auth_PermissionRule prg
|
|
|
|
Line 82 [match: FROM ]:
|
|
80: /** @noinspection PhpUndefinedMethodInspection */
|
|
81: $res = $this->getEntityManager()->createQuery("SELECT r.ID, r.RuleCodingKey, r.RuleName, r.RuleDesc, rc.ID AS CategoryID, rc.CategoryName
|
|
>> 82: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
83: LEFT JOIN r.auth_PermissionRuleCategory rc")
|
|
84: ->getArrayResult();
|
|
|
|
Line 17 [match: SELECT ]:
|
|
15: /** @noinspection PhpUndefinedMethodInspection */
|
|
16: $res =
|
|
>> 17: $this->getEntityManager()->createQuery("SELECT r.RuleCodingKey
|
|
18: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
19: INNER JOIN r.auth_User u
|
|
|
|
Line 37 [match: SELECT ]:
|
|
35: /** @noinspection PhpUndefinedMethodInspection */
|
|
36: $res =
|
|
>> 37: $this->getEntityManager()->createQuery("SELECT r.RuleCodingKey
|
|
38: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
39: INNER JOIN r.auth_PermissionGroup g
|
|
|
|
Line 60 [match: SELECT ]:
|
|
58: /** @noinspection PhpUndefinedMethodInspection */
|
|
59: /** @var Query $qry */
|
|
>> 60: $qry = $this->getEntityManager()->createQuery("SELECT u
|
|
61: FROM App\\Model\\Entities\\auth_User u
|
|
62: LEFT JOIN u.auth_PermissionGroup pg
|
|
|
|
Line 81 [match: SELECT ]:
|
|
79: {
|
|
80: /** @noinspection PhpUndefinedMethodInspection */
|
|
>> 81: $res = $this->getEntityManager()->createQuery("SELECT r.ID, r.RuleCodingKey, r.RuleName, r.RuleDesc, rc.ID AS CategoryID, rc.CategoryName
|
|
82: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
83: LEFT JOIN r.auth_PermissionRuleCategory rc")
|
|
|
|
Line 19 [match: INNER JOIN]:
|
|
17: $this->getEntityManager()->createQuery("SELECT r.RuleCodingKey
|
|
18: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
>> 19: INNER JOIN r.auth_User u
|
|
20: WHERE u.ID = :userID")
|
|
21: ->setParameter('userID', $userID)
|
|
|
|
Line 39 [match: INNER JOIN]:
|
|
37: $this->getEntityManager()->createQuery("SELECT r.RuleCodingKey
|
|
38: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
>> 39: INNER JOIN r.auth_PermissionGroup g
|
|
40: INNER JOIN g.auth_User u
|
|
41: WHERE u.ID = :userID")
|
|
|
|
Line 40 [match: INNER JOIN]:
|
|
38: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
39: INNER JOIN r.auth_PermissionGroup g
|
|
>> 40: INNER JOIN g.auth_User u
|
|
41: WHERE u.ID = :userID")
|
|
42: ->setParameter('userID', $userID)
|
|
|
|
Line 62 [match: LEFT JOIN]:
|
|
60: $qry = $this->getEntityManager()->createQuery("SELECT u
|
|
61: FROM App\\Model\\Entities\\auth_User u
|
|
>> 62: LEFT JOIN u.auth_PermissionGroup pg
|
|
63: LEFT JOIN pg.auth_PermissionRule prg
|
|
64: LEFT JOIN u.auth_PermissionRule pru
|
|
|
|
Line 63 [match: LEFT JOIN]:
|
|
61: FROM App\\Model\\Entities\\auth_User u
|
|
62: LEFT JOIN u.auth_PermissionGroup pg
|
|
>> 63: LEFT JOIN pg.auth_PermissionRule prg
|
|
64: LEFT JOIN u.auth_PermissionRule pru
|
|
65: WHERE (prg.RuleCodingKey = :key
|
|
|
|
Line 64 [match: LEFT JOIN]:
|
|
62: LEFT JOIN u.auth_PermissionGroup pg
|
|
63: LEFT JOIN pg.auth_PermissionRule prg
|
|
>> 64: LEFT JOIN u.auth_PermissionRule pru
|
|
65: WHERE (prg.RuleCodingKey = :key
|
|
66: OR pru.RuleCodingKey = :key)"
|
|
|
|
Line 83 [match: LEFT JOIN]:
|
|
81: $res = $this->getEntityManager()->createQuery("SELECT r.ID, r.RuleCodingKey, r.RuleName, r.RuleDesc, rc.ID AS CategoryID, rc.CategoryName
|
|
82: FROM App\\Model\\Entities\\auth_PermissionRule r
|
|
>> 83: LEFT JOIN r.auth_PermissionRuleCategory rc")
|
|
84: ->getArrayResult();
|
|
85: $ret = [];
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Notifications\ResetPassword.php
|
|
================================================================================
|
|
Line 25 [match: FROM ]:
|
|
23:
|
|
24: /**
|
|
>> 25: * The optional override from address for this email
|
|
26: *
|
|
27: * @var string|null
|
|
|
|
Line 32 [match: FROM ]:
|
|
30:
|
|
31: /**
|
|
>> 32: * The optional override from address name for this email
|
|
33: *
|
|
34: * @var string|null
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Notifications\VerifyRegisteredAccount.php
|
|
================================================================================
|
|
Line 32 [match: FROM ]:
|
|
30:
|
|
31: /**
|
|
>> 32: * The optional override from address for this email
|
|
33: *
|
|
34: * @var string|null
|
|
|
|
Line 39 [match: FROM ]:
|
|
37:
|
|
38: /**
|
|
>> 39: * The optional override from address name for this email
|
|
40: *
|
|
41: * @var string|null
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\OAuthBridge\ClientRepository.php
|
|
================================================================================
|
|
Line 35 [match: FROM ]:
|
|
33: // First, we will verify that the client exists and is authorized to create personal
|
|
34: // access tokens. Generally personal access tokens are only generated by the user
|
|
>> 35: // from the main interface. We'll only let certain clients generate the tokens.
|
|
36: $record = $this->clients->findActive($clientIdentifier);
|
|
37:
|
|
|
|
Line 61 [match: FROM ]:
|
|
59: // First, we will verify that the client exists and is authorized to create personal
|
|
60: // access tokens. Generally personal access tokens are only generated by the user
|
|
>> 61: // from the main interface. We'll only let certain clients generate the tokens.
|
|
62: $record = $this->clients->findActive($clientIdentifier);
|
|
63:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\OAuthBridge\UserRepository.php
|
|
================================================================================
|
|
Line 31 [match: FROM ]:
|
|
29: {
|
|
30: if (is_null($model = config('auth.providers.'.config('auth.guards.api.provider').'.model')))
|
|
>> 31: throw new RuntimeException('Unable to determine authentication model from configuration.');
|
|
32:
|
|
33: $provider = Auth::createUserProvider(config('auth.guards.api.provider'));
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\SSO\OAuthProviderAgent.php
|
|
================================================================================
|
|
Line 385 [match: FROM ]:
|
|
383: {
|
|
384: if(!array_key_exists('id_token', $AgentData['access_token']->getValues()))
|
|
>> 385: throw new Exception('Expected user information from IDP token ID not supplied');
|
|
386:
|
|
387: try {
|
|
|
|
Line 394 [match: FROM ]:
|
|
392: $TokenIDUserInfo = $TokenIDClaims->all();
|
|
393: } catch(Exception) {
|
|
>> 394: throw new Exception('User information from IDP token ID could not be interpreted');
|
|
395: }
|
|
396: }
|
|
|
|
Line 129 [match: UPDATE ]:
|
|
127: {
|
|
128: if($DebugLogging)
|
|
>> 129: Log::debug('SSO Access Verification: User verified; user data update not enabled');
|
|
130: return new ReturnValue(true);
|
|
131: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\AccessTokenRepository.php
|
|
================================================================================
|
|
Line 91 [match: FROM ]:
|
|
89: /** @var auth_OAuthAccessToken|null $token */
|
|
90: $token = $this->conn->createQuery("SELECT t
|
|
>> 91: FROM ".auth_OAuthAccessToken::class." t
|
|
92: INNER JOIN t.auth_OAuthClient c
|
|
93: INNER JOIN t.auth_User u
|
|
|
|
Line 90 [match: SELECT ]:
|
|
88: {
|
|
89: /** @var auth_OAuthAccessToken|null $token */
|
|
>> 90: $token = $this->conn->createQuery("SELECT t
|
|
91: FROM ".auth_OAuthAccessToken::class." t
|
|
92: INNER JOIN t.auth_OAuthClient c
|
|
|
|
Line 92 [match: INNER JOIN]:
|
|
90: $token = $this->conn->createQuery("SELECT t
|
|
91: FROM ".auth_OAuthAccessToken::class." t
|
|
>> 92: INNER JOIN t.auth_OAuthClient c
|
|
93: INNER JOIN t.auth_User u
|
|
94: WHERE u.ID = :userID
|
|
|
|
Line 93 [match: INNER JOIN]:
|
|
91: FROM ".auth_OAuthAccessToken::class." t
|
|
92: INNER JOIN t.auth_OAuthClient c
|
|
>> 93: INNER JOIN t.auth_User u
|
|
94: WHERE u.ID = :userID
|
|
95: AND c.ID = :clientID
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\ClientRepository.php
|
|
================================================================================
|
|
Line 154 [match: UPDATE ]:
|
|
152:
|
|
153: /**
|
|
>> 154: * Update the given client.
|
|
155: *
|
|
156: * @param auth_OAuthClient $client
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\LdapConnector.php
|
|
================================================================================
|
|
Line 51 [match: ->select(]:
|
|
49: $query = $this->ldapManager->buildLdapQuery();
|
|
50: if(!is_null($select))
|
|
>> 51: $query->select($select);
|
|
52: return $query
|
|
53: ->fromUsers()
|
|
|
|
Line 69 [match: ->select(]:
|
|
67: $query = $this->ldapManager->buildLdapQuery();
|
|
68: if(!is_null($select))
|
|
>> 69: $query->select($select);
|
|
70: return $query
|
|
71: ->fromUsers()
|
|
|
|
Line 87 [match: ->select(]:
|
|
85: $query = $this->ldapManager->buildLdapQuery();
|
|
86: if(!is_null($select))
|
|
>> 87: $query->select($select);
|
|
88: return $query
|
|
89: ->fromUsers()
|
|
|
|
Line 47 [match: SELECT ]:
|
|
45: * @throws \LdapTools\Exception\MultiResultException
|
|
46: */
|
|
>> 47: public function getSingleAccountWithEmail($email, $select = null)
|
|
48: {
|
|
49: $query = $this->ldapManager->buildLdapQuery();
|
|
|
|
Line 65 [match: SELECT ]:
|
|
63: * @throws \LdapTools\Exception\MultiResultException
|
|
64: */
|
|
>> 65: public function getSingleAccountWithGuid($guid, $select = null)
|
|
66: {
|
|
67: $query = $this->ldapManager->buildLdapQuery();
|
|
|
|
Line 83 [match: SELECT ]:
|
|
81: * @throws \LdapTools\Exception\MultiResultException
|
|
82: */
|
|
>> 83: public function getSingleAccountWithUsername($username, $select = null)
|
|
84: {
|
|
85: $query = $this->ldapManager->buildLdapQuery();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\RefreshTokenRepository.php
|
|
================================================================================
|
|
Line 83 [match: FROM ]:
|
|
81: /** @var auth_OAuthRefreshToken|null $refreshToken */
|
|
82: $refreshToken = $this->conn->createQuery("SELECT refreshToken
|
|
>> 83: FROM ".auth_OAuthRefreshToken::class." refreshToken
|
|
84: INNER JOIN refreshToken.auth_OAuthAccessToken accessToken
|
|
85: WHERE accessToken.AccessToken = :accessToken")
|
|
|
|
Line 82 [match: SELECT ]:
|
|
80: {
|
|
81: /** @var auth_OAuthRefreshToken|null $refreshToken */
|
|
>> 82: $refreshToken = $this->conn->createQuery("SELECT refreshToken
|
|
83: FROM ".auth_OAuthRefreshToken::class." refreshToken
|
|
84: INNER JOIN refreshToken.auth_OAuthAccessToken accessToken
|
|
|
|
Line 84 [match: INNER JOIN]:
|
|
82: $refreshToken = $this->conn->createQuery("SELECT refreshToken
|
|
83: FROM ".auth_OAuthRefreshToken::class." refreshToken
|
|
>> 84: INNER JOIN refreshToken.auth_OAuthAccessToken accessToken
|
|
85: WHERE accessToken.AccessToken = :accessToken")
|
|
86: ->setParameter('accessToken', $tokenId)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\RetrievesAndValidatesUserForGuards.php
|
|
================================================================================
|
|
Line 38 [match: FROM ]:
|
|
36: if($LdapUserByGuid->has(config('lauth.ldap.email_attribute')) && strlen($LdapUserByGuid->get(config('lauth.ldap.email_attribute')))) // Email is set on ldap user
|
|
37: {
|
|
>> 38: if(strtolower($LdapUserByGuid->get(config('lauth.ldap.email_attribute'))) === strtolower($user->getUserEmail())) // Email from ldap user matched email on corresponding auth_User record
|
|
39: {
|
|
40: if($LdapUserByGuid->has('enabled'))
|
|
|
|
Line 52 [match: FROM ]:
|
|
50: }
|
|
51: }
|
|
>> 52: else // Email from ldap user is different than auth_User record
|
|
53: {
|
|
54: throw (new LdapAuthenticationException(LdapAuthenticationException::LDAP_ERROR_REASON_EMAIL_MISMATCH_ON_MATCHING_GUID))->setDetails('GUID: '.$user->getLDAPGuid().' LDAP: '.$LdapUserByGuid->get(config('lauth.ldap.email_attribute')).' USER: '.$user->getUserEmail());
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\SSODataProvider.php
|
|
================================================================================
|
|
Line 34 [match: ->select(]:
|
|
32: $qb = $this->em->createQueryBuilder();
|
|
33:
|
|
>> 34: $count = $qb->select($qb->expr()->count('auth_SSOProvider.ID'))
|
|
35: ->from(auth_SSOProvider::class, 'auth_SSOProvider')
|
|
36: ->getQuery()
|
|
|
|
Line 267 [match: ->select(]:
|
|
265: {
|
|
266: return $this->em->createQueryBuilder()
|
|
>> 267: ->select('auth_SSOFieldValueHandler')
|
|
268: ->from(auth_SSOFieldValueHandler::class, 'auth_SSOFieldValueHandler')
|
|
269: ->innerJoin('auth_SSOFieldValueHandler.auth_SSOProvider', 'auth_SSOProvider')
|
|
|
|
Line 288 [match: ->select(]:
|
|
286:
|
|
287: return $EM->createQueryBuilder()
|
|
>> 288: ->select('
|
|
289: auth_UserSSOFieldValue,
|
|
290: auth_SSOField
|
|
|
|
Line 312 [match: ->select(]:
|
|
310:
|
|
311: $res = $EM->createQueryBuilder()
|
|
>> 312: ->select('
|
|
313: auth_UserSSOFieldValue,
|
|
314: auth_SSOField
|
|
|
|
Line 45 [match: FROM ]:
|
|
43: {
|
|
44: $res = $this->em->createQuery("SELECT COUNT(authUser.ID)
|
|
>> 45: FROM ".auth_User::class." authUser
|
|
46: INNER JOIN authUser.auth_SSOProvider ssoProvider WITH ssoProvider.ID = :SSOProviderID
|
|
47: LEFT JOIN authUser.auth_Domain authDomain
|
|
|
|
Line 67 [match: FROM ]:
|
|
65:
|
|
66: $res = $this->em->createQuery("SELECT ssoProvider.ID
|
|
>> 67: FROM App\\Model\\Entities\\auth_SSOProvider ssoProvider
|
|
68: WHERE ssoProvider.ProviderURLSelector = :selector")
|
|
69: ->setParameter('selector', $URLSelector)
|
|
|
|
Line 86 [match: FROM ]:
|
|
84:
|
|
85: $res = $this->em->createQuery("SELECT ssoProvider, ssoProviderType, ssoProviderUserType, ssoProviderSAML, ssoProviderOAuth, ssoProviderOAuthScope, ssoProviderOAuthClaim, ssoProviderOAuthLogoutParameter, auth_SSOProviderOAuthApprovalPromptParameterValue
|
|
>> 86: FROM App\\Model\\Entities\\auth_SSOProvider ssoProvider
|
|
87: INNER JOIN ssoProvider.auth_SSOProviderType ssoProviderType
|
|
88: INNER JOIN ssoProvider.auth_UserType ssoProviderUserType
|
|
|
|
Line 113 [match: FROM ]:
|
|
111:
|
|
112: $res = $this->em->createQuery("SELECT ssoFieldMapping.ProviderFieldName, ssoField.CodingKey
|
|
>> 113: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
114: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
115: INNER JOIN ssoFieldMapping.auth_SSOField ssoField
|
|
|
|
Line 135 [match: FROM ]:
|
|
133:
|
|
134: $res = $this->em->createQuery("SELECT ssoField.CodingKey, ssoField.IsSerializedDataType
|
|
>> 135: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
136: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
137: INNER JOIN ssoFieldMapping.auth_SSOField ssoField
|
|
|
|
Line 161 [match: FROM ]:
|
|
159:
|
|
160: $res = $this->em->createQuery("SELECT authUser.ID
|
|
>> 161: FROM App\\Model\\Entities\\auth_User authUser
|
|
162: INNER JOIN authUser.auth_SSOProvider ssoProvider
|
|
163: LEFT JOIN authUser.auth_Domain authDomain
|
|
|
|
Line 186 [match: FROM ]:
|
|
184:
|
|
185: $res = $this->em->createQuery("SELECT userSSOFieldValue.CurrentFieldValue, ssoField.CodingKey
|
|
>> 186: FROM App\\Model\\Entities\\auth_User authUser
|
|
187: INNER JOIN authUser.auth_UserSSOFieldValue userSSOFieldValue
|
|
188: INNER JOIN userSSOFieldValue.auth_SSOField ssoField
|
|
|
|
Line 208 [match: FROM ]:
|
|
206:
|
|
207: $res = $EM->createQuery("SELECT ssoField
|
|
>> 208: FROM App\\Model\\Entities\\auth_SSOField ssoField
|
|
209: WHERE ssoField.CodingKey IN (:keys)")
|
|
210: ->setParameter('keys', $FieldKeys)
|
|
|
|
Line 230 [match: FROM ]:
|
|
228:
|
|
229: $res = $EM->createQuery("SELECT userSSOFieldValue, ssoField
|
|
>> 230: FROM App\\Model\\Entities\\auth_UserSSOFieldValue userSSOFieldValue
|
|
231: INNER JOIN userSSOFieldValue.auth_User authUser
|
|
232: INNER JOIN userSSOFieldValue.auth_SSOField ssoField
|
|
|
|
Line 252 [match: FROM ]:
|
|
250: {
|
|
251: $res = $this->em->createQuery("SELECT provider.ProviderName, provider.ProviderURLSelector
|
|
>> 252: FROM App\\Model\\Entities\\auth_SSOProvider provider
|
|
253: WHERE provider.ID = :id")
|
|
254: ->setParameter('id', $ProviderID)
|
|
|
|
Line 335 [match: FROM ]:
|
|
333: {
|
|
334: $res = $this->em->createQuery("SELECT COUNT(provider)
|
|
>> 335: FROM \App\\Model\\Entities\\auth_SSOProvider provider
|
|
336: WHERE provider.ID = :id
|
|
337: AND provider.IsActive = true")
|
|
|
|
Line 350 [match: FROM ]:
|
|
348: {
|
|
349: $res = $this->em->createQuery("SELECT authDomain.ID
|
|
>> 350: FROM ".auth_Domain::class." authDomain
|
|
351: WHERE authDomain.DomainName = :domainName")
|
|
352: ->setParameter('domainName', $ForDomain)
|
|
|
|
Line 44 [match: SELECT ]:
|
|
42: public function emailIsInUseForSSOProvider($ssoProviderID, $email, $ForDomain)
|
|
43: {
|
|
>> 44: $res = $this->em->createQuery("SELECT COUNT(authUser.ID)
|
|
45: FROM ".auth_User::class." authUser
|
|
46: INNER JOIN authUser.auth_SSOProvider ssoProvider WITH ssoProvider.ID = :SSOProviderID
|
|
|
|
Line 66 [match: SELECT ]:
|
|
64: return $this->providerIDsBySelector[$URLSelector];
|
|
65:
|
|
>> 66: $res = $this->em->createQuery("SELECT ssoProvider.ID
|
|
67: FROM App\\Model\\Entities\\auth_SSOProvider ssoProvider
|
|
68: WHERE ssoProvider.ProviderURLSelector = :selector")
|
|
|
|
Line 85 [match: SELECT ]:
|
|
83: return $this->providerInfoByID[$ProviderID];
|
|
84:
|
|
>> 85: $res = $this->em->createQuery("SELECT ssoProvider, ssoProviderType, ssoProviderUserType, ssoProviderSAML, ssoProviderOAuth, ssoProviderOAuthScope, ssoProviderOAuthClaim, ssoProviderOAuthLogoutParameter, auth_SSOProviderOAuthApprovalPromptParameterValue
|
|
86: FROM App\\Model\\Entities\\auth_SSOProvider ssoProvider
|
|
87: INNER JOIN ssoProvider.auth_SSOProviderType ssoProviderType
|
|
|
|
Line 112 [match: SELECT ]:
|
|
110: return $this->providerFieldMappingByID[$ProviderID];
|
|
111:
|
|
>> 112: $res = $this->em->createQuery("SELECT ssoFieldMapping.ProviderFieldName, ssoField.CodingKey
|
|
113: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
114: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
|
|
Line 134 [match: SELECT ]:
|
|
132: return $this->providerFieldIsSerializedDataTypeMapping[$ProviderID];
|
|
133:
|
|
>> 134: $res = $this->em->createQuery("SELECT ssoField.CodingKey, ssoField.IsSerializedDataType
|
|
135: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
136: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
|
|
Line 160 [match: SELECT ]:
|
|
158: return $this->providerIDToUserIDMapping[$CompositeKey];
|
|
159:
|
|
>> 160: $res = $this->em->createQuery("SELECT authUser.ID
|
|
161: FROM App\\Model\\Entities\\auth_User authUser
|
|
162: INNER JOIN authUser.auth_SSOProvider ssoProvider
|
|
|
|
Line 185 [match: SELECT ]:
|
|
183: return $this->currentValuesForUserByID[$UserID];
|
|
184:
|
|
>> 185: $res = $this->em->createQuery("SELECT userSSOFieldValue.CurrentFieldValue, ssoField.CodingKey
|
|
186: FROM App\\Model\\Entities\\auth_User authUser
|
|
187: INNER JOIN authUser.auth_UserSSOFieldValue userSSOFieldValue
|
|
|
|
Line 207 [match: SELECT ]:
|
|
205: return [];
|
|
206:
|
|
>> 207: $res = $EM->createQuery("SELECT ssoField
|
|
208: FROM App\\Model\\Entities\\auth_SSOField ssoField
|
|
209: WHERE ssoField.CodingKey IN (:keys)")
|
|
|
|
Line 229 [match: SELECT ]:
|
|
227: return [];
|
|
228:
|
|
>> 229: $res = $EM->createQuery("SELECT userSSOFieldValue, ssoField
|
|
230: FROM App\\Model\\Entities\\auth_UserSSOFieldValue userSSOFieldValue
|
|
231: INNER JOIN userSSOFieldValue.auth_User authUser
|
|
|
|
Line 251 [match: SELECT ]:
|
|
249: public function getProviderNameAndURLSelector($ProviderID)
|
|
250: {
|
|
>> 251: $res = $this->em->createQuery("SELECT provider.ProviderName, provider.ProviderURLSelector
|
|
252: FROM App\\Model\\Entities\\auth_SSOProvider provider
|
|
253: WHERE provider.ID = :id")
|
|
|
|
Line 334 [match: SELECT ]:
|
|
332: public function doesProviderIDExistAndActive($ProviderID)
|
|
333: {
|
|
>> 334: $res = $this->em->createQuery("SELECT COUNT(provider)
|
|
335: FROM \App\\Model\\Entities\\auth_SSOProvider provider
|
|
336: WHERE provider.ID = :id
|
|
|
|
Line 349 [match: SELECT ]:
|
|
347: public function lookupDomainIDForNewUser($ForDomain)
|
|
348: {
|
|
>> 349: $res = $this->em->createQuery("SELECT authDomain.ID
|
|
350: FROM ".auth_Domain::class." authDomain
|
|
351: WHERE authDomain.DomainName = :domainName")
|
|
|
|
Line 46 [match: INNER JOIN]:
|
|
44: $res = $this->em->createQuery("SELECT COUNT(authUser.ID)
|
|
45: FROM ".auth_User::class." authUser
|
|
>> 46: INNER JOIN authUser.auth_SSOProvider ssoProvider WITH ssoProvider.ID = :SSOProviderID
|
|
47: LEFT JOIN authUser.auth_Domain authDomain
|
|
48: WHERE authUser.Email = :Email
|
|
|
|
Line 87 [match: INNER JOIN]:
|
|
85: $res = $this->em->createQuery("SELECT ssoProvider, ssoProviderType, ssoProviderUserType, ssoProviderSAML, ssoProviderOAuth, ssoProviderOAuthScope, ssoProviderOAuthClaim, ssoProviderOAuthLogoutParameter, auth_SSOProviderOAuthApprovalPromptParameterValue
|
|
86: FROM App\\Model\\Entities\\auth_SSOProvider ssoProvider
|
|
>> 87: INNER JOIN ssoProvider.auth_SSOProviderType ssoProviderType
|
|
88: INNER JOIN ssoProvider.auth_UserType ssoProviderUserType
|
|
89: LEFT JOIN ssoProvider.auth_SSOProviderSAML ssoProviderSAML
|
|
|
|
Line 88 [match: INNER JOIN]:
|
|
86: FROM App\\Model\\Entities\\auth_SSOProvider ssoProvider
|
|
87: INNER JOIN ssoProvider.auth_SSOProviderType ssoProviderType
|
|
>> 88: INNER JOIN ssoProvider.auth_UserType ssoProviderUserType
|
|
89: LEFT JOIN ssoProvider.auth_SSOProviderSAML ssoProviderSAML
|
|
90: LEFT JOIN ssoProvider.auth_SSOProviderOAuth ssoProviderOAuth
|
|
|
|
Line 114 [match: INNER JOIN]:
|
|
112: $res = $this->em->createQuery("SELECT ssoFieldMapping.ProviderFieldName, ssoField.CodingKey
|
|
113: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
>> 114: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
115: INNER JOIN ssoFieldMapping.auth_SSOField ssoField
|
|
116: WHERE ssoProvider.ID = :id")
|
|
|
|
Line 115 [match: INNER JOIN]:
|
|
113: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
114: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
>> 115: INNER JOIN ssoFieldMapping.auth_SSOField ssoField
|
|
116: WHERE ssoProvider.ID = :id")
|
|
117: ->setParameter('id', $ProviderID)
|
|
|
|
Line 136 [match: INNER JOIN]:
|
|
134: $res = $this->em->createQuery("SELECT ssoField.CodingKey, ssoField.IsSerializedDataType
|
|
135: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
>> 136: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
137: INNER JOIN ssoFieldMapping.auth_SSOField ssoField
|
|
138: WHERE ssoProvider.ID = :id")
|
|
|
|
Line 137 [match: INNER JOIN]:
|
|
135: FROM App\\Model\\Entities\\auth_SSOFieldMapping ssoFieldMapping
|
|
136: INNER JOIN ssoFieldMapping.auth_SSOProvider ssoProvider
|
|
>> 137: INNER JOIN ssoFieldMapping.auth_SSOField ssoField
|
|
138: WHERE ssoProvider.ID = :id")
|
|
139: ->setParameter('id', $ProviderID)
|
|
|
|
Line 162 [match: INNER JOIN]:
|
|
160: $res = $this->em->createQuery("SELECT authUser.ID
|
|
161: FROM App\\Model\\Entities\\auth_User authUser
|
|
>> 162: INNER JOIN authUser.auth_SSOProvider ssoProvider
|
|
163: LEFT JOIN authUser.auth_Domain authDomain
|
|
164: WHERE ssoProvider.ID = :providerID
|
|
|
|
Line 187 [match: INNER JOIN]:
|
|
185: $res = $this->em->createQuery("SELECT userSSOFieldValue.CurrentFieldValue, ssoField.CodingKey
|
|
186: FROM App\\Model\\Entities\\auth_User authUser
|
|
>> 187: INNER JOIN authUser.auth_UserSSOFieldValue userSSOFieldValue
|
|
188: INNER JOIN userSSOFieldValue.auth_SSOField ssoField
|
|
189: WHERE authUser.ID = :userID")
|
|
|
|
Line 188 [match: INNER JOIN]:
|
|
186: FROM App\\Model\\Entities\\auth_User authUser
|
|
187: INNER JOIN authUser.auth_UserSSOFieldValue userSSOFieldValue
|
|
>> 188: INNER JOIN userSSOFieldValue.auth_SSOField ssoField
|
|
189: WHERE authUser.ID = :userID")
|
|
190: ->setParameter('userID', $UserID)
|
|
|
|
Line 231 [match: INNER JOIN]:
|
|
229: $res = $EM->createQuery("SELECT userSSOFieldValue, ssoField
|
|
230: FROM App\\Model\\Entities\\auth_UserSSOFieldValue userSSOFieldValue
|
|
>> 231: INNER JOIN userSSOFieldValue.auth_User authUser
|
|
232: INNER JOIN userSSOFieldValue.auth_SSOField ssoField
|
|
233: WHERE authUser.ID = :userID
|
|
|
|
Line 232 [match: INNER JOIN]:
|
|
230: FROM App\\Model\\Entities\\auth_UserSSOFieldValue userSSOFieldValue
|
|
231: INNER JOIN userSSOFieldValue.auth_User authUser
|
|
>> 232: INNER JOIN userSSOFieldValue.auth_SSOField ssoField
|
|
233: WHERE authUser.ID = :userID
|
|
234: AND ssoField.CodingKey IN (:fieldKeys)")
|
|
|
|
Line 47 [match: LEFT JOIN]:
|
|
45: FROM ".auth_User::class." authUser
|
|
46: INNER JOIN authUser.auth_SSOProvider ssoProvider WITH ssoProvider.ID = :SSOProviderID
|
|
>> 47: LEFT JOIN authUser.auth_Domain authDomain
|
|
48: WHERE authUser.Email = :Email
|
|
49: AND (authDomain.ID IS NULL OR authDomain.DomainName = :domainName)")
|
|
|
|
Line 89 [match: LEFT JOIN]:
|
|
87: INNER JOIN ssoProvider.auth_SSOProviderType ssoProviderType
|
|
88: INNER JOIN ssoProvider.auth_UserType ssoProviderUserType
|
|
>> 89: LEFT JOIN ssoProvider.auth_SSOProviderSAML ssoProviderSAML
|
|
90: LEFT JOIN ssoProvider.auth_SSOProviderOAuth ssoProviderOAuth
|
|
91: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthScope ssoProviderOAuthScope
|
|
|
|
Line 90 [match: LEFT JOIN]:
|
|
88: INNER JOIN ssoProvider.auth_UserType ssoProviderUserType
|
|
89: LEFT JOIN ssoProvider.auth_SSOProviderSAML ssoProviderSAML
|
|
>> 90: LEFT JOIN ssoProvider.auth_SSOProviderOAuth ssoProviderOAuth
|
|
91: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthScope ssoProviderOAuthScope
|
|
92: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthClaim ssoProviderOAuthClaim
|
|
|
|
Line 91 [match: LEFT JOIN]:
|
|
89: LEFT JOIN ssoProvider.auth_SSOProviderSAML ssoProviderSAML
|
|
90: LEFT JOIN ssoProvider.auth_SSOProviderOAuth ssoProviderOAuth
|
|
>> 91: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthScope ssoProviderOAuthScope
|
|
92: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthClaim ssoProviderOAuthClaim
|
|
93: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthLogoutParameter ssoProviderOAuthLogoutParameter
|
|
|
|
Line 92 [match: LEFT JOIN]:
|
|
90: LEFT JOIN ssoProvider.auth_SSOProviderOAuth ssoProviderOAuth
|
|
91: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthScope ssoProviderOAuthScope
|
|
>> 92: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthClaim ssoProviderOAuthClaim
|
|
93: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthLogoutParameter ssoProviderOAuthLogoutParameter
|
|
94: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthApprovalPromptParameterValue auth_SSOProviderOAuthApprovalPromptParameterValue
|
|
|
|
Line 93 [match: LEFT JOIN]:
|
|
91: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthScope ssoProviderOAuthScope
|
|
92: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthClaim ssoProviderOAuthClaim
|
|
>> 93: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthLogoutParameter ssoProviderOAuthLogoutParameter
|
|
94: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthApprovalPromptParameterValue auth_SSOProviderOAuthApprovalPromptParameterValue
|
|
95: WHERE ssoProvider.ID = :id")
|
|
|
|
Line 94 [match: LEFT JOIN]:
|
|
92: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthClaim ssoProviderOAuthClaim
|
|
93: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthLogoutParameter ssoProviderOAuthLogoutParameter
|
|
>> 94: LEFT JOIN ssoProviderOAuth.auth_SSOProviderOAuthApprovalPromptParameterValue auth_SSOProviderOAuthApprovalPromptParameterValue
|
|
95: WHERE ssoProvider.ID = :id")
|
|
96: ->setParameter('id', $ProviderID)
|
|
|
|
Line 163 [match: LEFT JOIN]:
|
|
161: FROM App\\Model\\Entities\\auth_User authUser
|
|
162: INNER JOIN authUser.auth_SSOProvider ssoProvider
|
|
>> 163: LEFT JOIN authUser.auth_Domain authDomain
|
|
164: WHERE ssoProvider.ID = :providerID
|
|
165: AND authUser.SSOProviderUserID = :providerUserID
|
|
|
|
Line 36 [match: getQuery()]:
|
|
34: $count = $qb->select($qb->expr()->count('auth_SSOProvider.ID'))
|
|
35: ->from(auth_SSOProvider::class, 'auth_SSOProvider')
|
|
>> 36: ->getQuery()
|
|
37: ->getSingleScalarResult();
|
|
38:
|
|
|
|
Line 272 [match: getQuery()]:
|
|
270: ->innerJoin('auth_SSOProvider.auth_User', 'auth_User', Join::WITH, 'auth_User.ID = :UserID')
|
|
271: ->setParameter('UserID', $authUserID)
|
|
>> 272: ->getQuery()
|
|
273: ->getOneOrNullResult(Query::HYDRATE_ARRAY);
|
|
274:
|
|
|
|
Line 296 [match: getQuery()]:
|
|
294: ->innerJoin('auth_UserSSOFieldValue.auth_User', 'auth_User', Join::WITH, 'auth_User.ID = :UserID')
|
|
295: ->setParameter('UserID', $authUserID)
|
|
>> 296: ->getQuery()
|
|
297: ->getArrayResult();
|
|
298: }
|
|
|
|
Line 321 [match: getQuery()]:
|
|
319: ->setParameter('UserID', $authUserID)
|
|
320: ->setParameter('SSOFieldCodingKey', $authSSOFieldCodingKey)
|
|
>> 321: ->getQuery()
|
|
322: ->getOneOrNullResult(Query::HYDRATE_ARRAY);
|
|
323: if($res['auth_SSOField']['IsSerializedDataType'] && !is_null($res['CurrentFieldValue']))
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\SSOManager.php
|
|
================================================================================
|
|
Line 550 [match: FROM ]:
|
|
548: else
|
|
549: {
|
|
>> 550: throw new Exception('Unknown response type from SSO provider agent implementation');
|
|
551: }
|
|
552: }
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\lib\Services\UserBatchJobRunner.php
|
|
================================================================================
|
|
Line 185 [match: FROM ]:
|
|
183: return null;
|
|
184: $Interval = new \DateInterval('PT'.round($AverageSeconds,0).'S');
|
|
>> 185: $From = new \DateTime;
|
|
186: $To = clone $From;
|
|
187: $To = $To->add($Interval);
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\resources\views\auth\google_authenticator.blade.php
|
|
================================================================================
|
|
Line 42 [match: FROM ]:
|
|
40: <div class="col">
|
|
41: <p class="text-center mb-2 small">
|
|
>> 42: {{ __('To finish set up, enter the Google Authenticator secret from your mobile app below') }}.
|
|
43: </p>
|
|
44: </div>
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\resources\views\auth\security_questions.blade.php
|
|
================================================================================
|
|
Line 27 [match: SELECT ]:
|
|
25: <div class="col-xs-12">
|
|
26: <label for="question_{{$i}}" class="required">{{ __('Question') }} {{$i}}:</label>
|
|
>> 27: {!! Form::select('question[' . $i . ']', $Questions, null, ['class' => 'form-control security-question', 'id' => 'question_' . $i, 'placeholder' => __('- Please Select -')]) !!}
|
|
28: </div>
|
|
29: </div>
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\lauth\views\permissions\partials\permission_group_form.blade.php
|
|
================================================================================
|
|
Line 105 [match: FROM ]:
|
|
103: {{ __('No permission rules configured for this category') }}
|
|
104: @else
|
|
>> 105: {{ __('Has no permissions from this category') }}
|
|
106: @endif
|
|
107: </i></li>
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ledi\app\Field.php
|
|
================================================================================
|
|
Line 31 [match: FROM ]:
|
|
29: /**
|
|
30: * This is the name of the column in which this field
|
|
>> 31: * should use for the value, coming from a query
|
|
32: *
|
|
33: * @var string
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ltaskscheduler\lib\Console\IgniteSingleSpark.php
|
|
================================================================================
|
|
Line 24 [match: FROM ]:
|
|
22: * @var string
|
|
23: */
|
|
>> 24: protected $description = 'Runs a task from a created spark';
|
|
25:
|
|
26: /**
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ltaskscheduler\lib\Contracts\TaskParameterInterface.php
|
|
================================================================================
|
|
Line 7 [match: SELECT ]:
|
|
5: const VALUE_TYPE_TEXT = 'text';
|
|
6: const VALUE_TYPE_DATE = 'date';
|
|
>> 7: const VALUE_TYPE_SELECT = 'select';
|
|
8:
|
|
9: /**
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ltaskscheduler\lib\Services\LTSDataProvider.php
|
|
================================================================================
|
|
Line 25 [match: FROM ]:
|
|
23: {
|
|
24: return $this->em->createQuery("SELECT tt
|
|
>> 25: FROM App\\Model\\Entities\\lts_TaskType tt
|
|
26: WHERE tt.TypeKey = :ttKey")
|
|
27: ->setParameter('ttKey', $TaskTypeKey)
|
|
|
|
Line 42 [match: FROM ]:
|
|
40:
|
|
41: return $this->em->createQuery("SELECT t
|
|
>> 42: FROM App\\Model\\Entities\\lts_Task t
|
|
43: INNER JOIN t.lts_TaskType tt
|
|
44: WHERE tt.TypeKey = :ttKey
|
|
|
|
Line 58 [match: FROM ]:
|
|
56: {
|
|
57: return $this->em->createQuery("SELECT o
|
|
>> 58: FROM App\\Model\\Entities\\lts_Owner o
|
|
59: WHERE o.OwnerKey = :oKey")
|
|
60: ->setParameter('oKey', $OwnerKey)
|
|
|
|
Line 71 [match: FROM ]:
|
|
69: {
|
|
70: $dql = "SELECT t.ID, t.TaskName, t.TaskClass, t.GlobalDisabled
|
|
>> 71: FROM App\\Model\\Entities\\lts_Task t
|
|
72: INNER JOIN t.lts_TaskType tt
|
|
73: WHERE t.CannotAddToNewSchedules = false
|
|
|
|
Line 96 [match: FROM ]:
|
|
94: PARTIAL t.{ID, TaskName, TaskClass, GlobalDisabled},
|
|
95: tsp
|
|
>> 96: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
97: INNER JOIN ts.lts_Task t
|
|
98: INNER JOIN t.lts_TaskType tt
|
|
|
|
Line 136 [match: FROM ]:
|
|
134: {
|
|
135: return $this->em->createQuery("SELECT tt
|
|
>> 136: FROM App\\Model\\Entities\\lts_TaskType tt")
|
|
137: ->getArrayResult();
|
|
138: }
|
|
|
|
Line 171 [match: FROM ]:
|
|
169: PARTIAL o.{ID, OwnerKey},
|
|
170: tsp
|
|
>> 171: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
172: INNER JOIN ts.lts_Task t
|
|
173: INNER JOIN t.lts_TaskType tt
|
|
|
|
Line 206 [match: FROM ]:
|
|
204: PARTIAL o.{ID, OwnerKey},
|
|
205: tsp
|
|
>> 206: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
207: INNER JOIN ts.lts_Task t
|
|
208: INNER JOIN t.lts_TaskType tt
|
|
|
|
Line 259 [match: FROM ]:
|
|
257: PARTIAL t.{ID},
|
|
258: PARTIAL tso.{ID}
|
|
>> 259: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
260: INNER JOIN ts.lts_TaskScheduleHistory tsh
|
|
261: INNER JOIN ts.lts_Task t
|
|
|
|
Line 338 [match: FROM ]:
|
|
336:
|
|
337: return $this->em->createQuery("SELECT s, ts, tsp, t, tt, o
|
|
>> 338: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
339: INNER JOIN s.lts_TaskSchedule ts
|
|
340: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
|
|
Line 358 [match: FROM ]:
|
|
356: {
|
|
357: return ($this->em->createQuery("SELECT COUNT(s)
|
|
>> 358: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
359: INNER JOIN s.lts_TaskSchedule ts
|
|
360: WHERE ts.ID = :scheduleID
|
|
|
|
Line 374 [match: FROM ]:
|
|
372: $ExpirationTime = (new DateTime())->sub(new DateInterval('PT1M'));
|
|
373: return array_column($this->em->createQuery("SELECT s.ID
|
|
>> 374: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
375: WHERE s.IsIgnited = false
|
|
376: AND s.SparkDT < :expiration")
|
|
|
|
Line 404 [match: FROM ]:
|
|
402: $QueryParams['scheduleID'] = $OptionalCompareScheduleID;
|
|
403: return ($this->em->createQuery("SELECT COUNT(s)
|
|
>> 404: FROM App\Model\Entities\lts_TaskSchedule s
|
|
405: INNER JOIN s.lts_Task t
|
|
406: LEFT JOIN s.lts_Owner o
|
|
|
|
Line 24 [match: SELECT ]:
|
|
22: public function getTaskTypeInformation($TaskTypeKey)
|
|
23: {
|
|
>> 24: return $this->em->createQuery("SELECT tt
|
|
25: FROM App\\Model\\Entities\\lts_TaskType tt
|
|
26: WHERE tt.TypeKey = :ttKey")
|
|
|
|
Line 41 [match: SELECT ]:
|
|
39: return null;
|
|
40:
|
|
>> 41: return $this->em->createQuery("SELECT t
|
|
42: FROM App\\Model\\Entities\\lts_Task t
|
|
43: INNER JOIN t.lts_TaskType tt
|
|
|
|
Line 57 [match: SELECT ]:
|
|
55: public function getOwnerInformation($OwnerKey)
|
|
56: {
|
|
>> 57: return $this->em->createQuery("SELECT o
|
|
58: FROM App\\Model\\Entities\\lts_Owner o
|
|
59: WHERE o.OwnerKey = :oKey")
|
|
|
|
Line 70 [match: SELECT ]:
|
|
68: public function getTaskInformationThatCanBeAddedToSchedule($TaskTypeKey)
|
|
69: {
|
|
>> 70: $dql = "SELECT t.ID, t.TaskName, t.TaskClass, t.GlobalDisabled
|
|
71: FROM App\\Model\\Entities\\lts_Task t
|
|
72: INNER JOIN t.lts_TaskType tt
|
|
|
|
Line 93 [match: SELECT ]:
|
|
91:
|
|
92: $query = $this->em->createQuery();
|
|
>> 93: $dql = "SELECT PARTIAL ts.{ID, DayOfWeek, TimeOfDay, IsMonthly, IsDisabled, IsMonthEnd},
|
|
94: PARTIAL t.{ID, TaskName, TaskClass, GlobalDisabled},
|
|
95: tsp
|
|
|
|
Line 135 [match: SELECT ]:
|
|
133: public function getAllTaskTypeInfo()
|
|
134: {
|
|
>> 135: return $this->em->createQuery("SELECT tt
|
|
136: FROM App\\Model\\Entities\\lts_TaskType tt")
|
|
137: ->getArrayResult();
|
|
|
|
Line 167 [match: SELECT ]:
|
|
165: $IsInFirstWeekOfMonthLessWindow = (bccomp($NowLessWindow->format('j'),'7') <= 0);
|
|
166:
|
|
>> 167: $withinWindowDQL = "SELECT PARTIAL ts.{ID, DayOfWeek, TimeOfDay, LastEnabledDT, OwnerID, LastEditDT, IsMonthEnd},
|
|
168: PARTIAL t.{ID, TaskClass, LastGlobalEnabledDT},
|
|
169: PARTIAL o.{ID, OwnerKey},
|
|
|
|
Line 202 [match: SELECT ]:
|
|
200: if($IsTodayLastDayOfMonth)
|
|
201: {
|
|
>> 202: $monthEndWindowDQL = "SELECT PARTIAL ts.{ID, DayOfWeek, TimeOfDay, LastEnabledDT, OwnerID, LastEditDT, IsMonthEnd},
|
|
203: PARTIAL t.{ID, TaskClass, LastGlobalEnabledDT},
|
|
204: PARTIAL o.{ID, OwnerKey},
|
|
|
|
Line 255 [match: SELECT ]:
|
|
253: if(sizeof($schedulesToRunByID))
|
|
254: {
|
|
>> 255: $historyQueryDQL = "SELECT PARTIAL ts.{ID},
|
|
256: PARTIAL tsh.{ID, RunStartDT, RunEndDT, RunSuccess, IsRetry, OwnerID},
|
|
257: PARTIAL t.{ID},
|
|
|
|
Line 337 [match: SELECT ]:
|
|
335: return null;
|
|
336:
|
|
>> 337: return $this->em->createQuery("SELECT s, ts, tsp, t, tt, o
|
|
338: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
339: INNER JOIN s.lts_TaskSchedule ts
|
|
|
|
Line 357 [match: SELECT ]:
|
|
355: public function doesScheduleHaveSparkLock($ScheduleID)
|
|
356: {
|
|
>> 357: return ($this->em->createQuery("SELECT COUNT(s)
|
|
358: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
359: INNER JOIN s.lts_TaskSchedule ts
|
|
|
|
Line 373 [match: SELECT ]:
|
|
371: {
|
|
372: $ExpirationTime = (new DateTime())->sub(new DateInterval('PT1M'));
|
|
>> 373: return array_column($this->em->createQuery("SELECT s.ID
|
|
374: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
375: WHERE s.IsIgnited = false
|
|
|
|
Line 403 [match: SELECT ]:
|
|
401: if(!is_null($OptionalCompareScheduleID))
|
|
402: $QueryParams['scheduleID'] = $OptionalCompareScheduleID;
|
|
>> 403: return ($this->em->createQuery("SELECT COUNT(s)
|
|
404: FROM App\Model\Entities\lts_TaskSchedule s
|
|
405: INNER JOIN s.lts_Task t
|
|
|
|
Line 43 [match: INNER JOIN]:
|
|
41: return $this->em->createQuery("SELECT t
|
|
42: FROM App\\Model\\Entities\\lts_Task t
|
|
>> 43: INNER JOIN t.lts_TaskType tt
|
|
44: WHERE tt.TypeKey = :ttKey
|
|
45: AND t.ID = :tID")
|
|
|
|
Line 72 [match: INNER JOIN]:
|
|
70: $dql = "SELECT t.ID, t.TaskName, t.TaskClass, t.GlobalDisabled
|
|
71: FROM App\\Model\\Entities\\lts_Task t
|
|
>> 72: INNER JOIN t.lts_TaskType tt
|
|
73: WHERE t.CannotAddToNewSchedules = false
|
|
74: AND tt.TypeKey = :ttKey";
|
|
|
|
Line 97 [match: INNER JOIN]:
|
|
95: tsp
|
|
96: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
>> 97: INNER JOIN ts.lts_Task t
|
|
98: INNER JOIN t.lts_TaskType tt
|
|
99: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
|
|
Line 98 [match: INNER JOIN]:
|
|
96: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
97: INNER JOIN ts.lts_Task t
|
|
>> 98: INNER JOIN t.lts_TaskType tt
|
|
99: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
100: LEFT JOIN ts.lts_Owner o
|
|
|
|
Line 172 [match: INNER JOIN]:
|
|
170: tsp
|
|
171: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
>> 172: INNER JOIN ts.lts_Task t
|
|
173: INNER JOIN t.lts_TaskType tt
|
|
174: LEFT JOIN ts.lts_Owner o
|
|
|
|
Line 173 [match: INNER JOIN]:
|
|
171: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
172: INNER JOIN ts.lts_Task t
|
|
>> 173: INNER JOIN t.lts_TaskType tt
|
|
174: LEFT JOIN ts.lts_Owner o
|
|
175: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
|
|
Line 207 [match: INNER JOIN]:
|
|
205: tsp
|
|
206: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
>> 207: INNER JOIN ts.lts_Task t
|
|
208: INNER JOIN t.lts_TaskType tt
|
|
209: LEFT JOIN ts.lts_Owner o
|
|
|
|
Line 208 [match: INNER JOIN]:
|
|
206: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
207: INNER JOIN ts.lts_Task t
|
|
>> 208: INNER JOIN t.lts_TaskType tt
|
|
209: LEFT JOIN ts.lts_Owner o
|
|
210: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
|
|
Line 260 [match: INNER JOIN]:
|
|
258: PARTIAL tso.{ID}
|
|
259: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
>> 260: INNER JOIN ts.lts_TaskScheduleHistory tsh
|
|
261: INNER JOIN ts.lts_Task t
|
|
262: LEFT JOIN ts.lts_Owner tso
|
|
|
|
Line 261 [match: INNER JOIN]:
|
|
259: FROM App\\Model\\Entities\\lts_TaskSchedule ts
|
|
260: INNER JOIN ts.lts_TaskScheduleHistory tsh
|
|
>> 261: INNER JOIN ts.lts_Task t
|
|
262: LEFT JOIN ts.lts_Owner tso
|
|
263: LEFT JOIN tsh.lts_Owner o
|
|
|
|
Line 339 [match: INNER JOIN]:
|
|
337: return $this->em->createQuery("SELECT s, ts, tsp, t, tt, o
|
|
338: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
>> 339: INNER JOIN s.lts_TaskSchedule ts
|
|
340: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
341: INNER JOIN ts.lts_Task t
|
|
|
|
Line 341 [match: INNER JOIN]:
|
|
339: INNER JOIN s.lts_TaskSchedule ts
|
|
340: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
>> 341: INNER JOIN ts.lts_Task t
|
|
342: INNER JOIN t.lts_TaskType tt
|
|
343: LEFT JOIN ts.lts_Owner o
|
|
|
|
Line 342 [match: INNER JOIN]:
|
|
340: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
341: INNER JOIN ts.lts_Task t
|
|
>> 342: INNER JOIN t.lts_TaskType tt
|
|
343: LEFT JOIN ts.lts_Owner o
|
|
344: WHERE s.ID = :sparkID
|
|
|
|
Line 359 [match: INNER JOIN]:
|
|
357: return ($this->em->createQuery("SELECT COUNT(s)
|
|
358: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
>> 359: INNER JOIN s.lts_TaskSchedule ts
|
|
360: WHERE ts.ID = :scheduleID
|
|
361: AND s.IsIgnited = false
|
|
|
|
Line 405 [match: INNER JOIN]:
|
|
403: return ($this->em->createQuery("SELECT COUNT(s)
|
|
404: FROM App\Model\Entities\lts_TaskSchedule s
|
|
>> 405: INNER JOIN s.lts_Task t
|
|
406: LEFT JOIN s.lts_Owner o
|
|
407: WHERE t.ID = :taskID
|
|
|
|
Line 99 [match: LEFT JOIN]:
|
|
97: INNER JOIN ts.lts_Task t
|
|
98: INNER JOIN t.lts_TaskType tt
|
|
>> 99: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
100: LEFT JOIN ts.lts_Owner o
|
|
101: WHERE tt.TypeKey = :ttKey";
|
|
|
|
Line 100 [match: LEFT JOIN]:
|
|
98: INNER JOIN t.lts_TaskType tt
|
|
99: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
>> 100: LEFT JOIN ts.lts_Owner o
|
|
101: WHERE tt.TypeKey = :ttKey";
|
|
102: if(!is_null($OwnerKey))
|
|
|
|
Line 174 [match: LEFT JOIN]:
|
|
172: INNER JOIN ts.lts_Task t
|
|
173: INNER JOIN t.lts_TaskType tt
|
|
>> 174: LEFT JOIN ts.lts_Owner o
|
|
175: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
176: WHERE ts.TimeOfDay <= '".$Now->format('H:i:s')."'
|
|
|
|
Line 175 [match: LEFT JOIN]:
|
|
173: INNER JOIN t.lts_TaskType tt
|
|
174: LEFT JOIN ts.lts_Owner o
|
|
>> 175: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
176: WHERE ts.TimeOfDay <= '".$Now->format('H:i:s')."'
|
|
177: AND ts.TimeOfDay > '".$NowLessWindow->format('H:i:s')."'
|
|
|
|
Line 209 [match: LEFT JOIN]:
|
|
207: INNER JOIN ts.lts_Task t
|
|
208: INNER JOIN t.lts_TaskType tt
|
|
>> 209: LEFT JOIN ts.lts_Owner o
|
|
210: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
211: WHERE ts.IsMonthEnd = true
|
|
|
|
Line 210 [match: LEFT JOIN]:
|
|
208: INNER JOIN t.lts_TaskType tt
|
|
209: LEFT JOIN ts.lts_Owner o
|
|
>> 210: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
211: WHERE ts.IsMonthEnd = true
|
|
212: AND ts.TimeOfDay <= :nowTime
|
|
|
|
Line 262 [match: LEFT JOIN]:
|
|
260: INNER JOIN ts.lts_TaskScheduleHistory tsh
|
|
261: INNER JOIN ts.lts_Task t
|
|
>> 262: LEFT JOIN ts.lts_Owner tso
|
|
263: LEFT JOIN tsh.lts_Owner o
|
|
264: WHERE (".implode(') OR (', $historyWhereParts).")
|
|
|
|
Line 263 [match: LEFT JOIN]:
|
|
261: INNER JOIN ts.lts_Task t
|
|
262: LEFT JOIN ts.lts_Owner tso
|
|
>> 263: LEFT JOIN tsh.lts_Owner o
|
|
264: WHERE (".implode(') OR (', $historyWhereParts).")
|
|
265: ORDER BY ts.ID, tsh.RunSuccess DESC";
|
|
|
|
Line 340 [match: LEFT JOIN]:
|
|
338: FROM App\Model\Entities\lts_TaskScheduleSpark s
|
|
339: INNER JOIN s.lts_TaskSchedule ts
|
|
>> 340: LEFT JOIN ts.lts_TaskScheduleParameter tsp
|
|
341: INNER JOIN ts.lts_Task t
|
|
342: INNER JOIN t.lts_TaskType tt
|
|
|
|
Line 343 [match: LEFT JOIN]:
|
|
341: INNER JOIN ts.lts_Task t
|
|
342: INNER JOIN t.lts_TaskType tt
|
|
>> 343: LEFT JOIN ts.lts_Owner o
|
|
344: WHERE s.ID = :sparkID
|
|
345: AND s.IsIgnited = false
|
|
|
|
Line 406 [match: LEFT JOIN]:
|
|
404: FROM App\Model\Entities\lts_TaskSchedule s
|
|
405: INNER JOIN s.lts_Task t
|
|
>> 406: LEFT JOIN s.lts_Owner o
|
|
407: WHERE t.ID = :taskID
|
|
408: AND s.DayOfWeek = :dayOfWeek
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\metadata\lib\CacheableEntityMetadataInterface.php
|
|
================================================================================
|
|
Line 6 [match: FROM ]:
|
|
4: {
|
|
5: /**
|
|
>> 6: * When entity metadata is unserialized from the cache, this function re-binds the MetadataFactory
|
|
7: *
|
|
8: * @param MetadataFactory $factory
|
|
|
|
Line 15 [match: FROM ]:
|
|
13:
|
|
14: /**
|
|
>> 15: * Performs actions needed after the metadata is unserialized from the cache
|
|
16: *
|
|
17: * @return void
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\metadata\lib\EntityMetadataInterface.php
|
|
================================================================================
|
|
Line 81 [match: FROM ]:
|
|
79:
|
|
80: /**
|
|
>> 81: * Access a field object from this entity
|
|
82: * When canChain is true, will permit accessing fields in linked entities for association fields
|
|
83: *
|
|
|
|
Line 225 [match: FROM ]:
|
|
223:
|
|
224: /**
|
|
>> 225: * Removes the specified field name from whatever group it may be in. Will not error if not in a group.
|
|
226: *
|
|
227: * @param string $fieldName
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\metadata\lib\FieldMetadataAssociationInterface.php
|
|
================================================================================
|
|
Line 231 [match: FROM ]:
|
|
229:
|
|
230: /**
|
|
>> 231: * Whether or not this association type represents a relationship to multiple records of another entity where any given record on the related association relates back to just one record from this entity
|
|
232: *
|
|
233: * @return boolean
|
|
|
|
Line 238 [match: FROM ]:
|
|
236:
|
|
237: /**
|
|
>> 238: * Whether or not this association type represents a relationship to a single record of another entity where the record on the related association relates back to just that same single record from this entity
|
|
239: *
|
|
240: * @return boolean
|
|
|
|
Line 245 [match: FROM ]:
|
|
243:
|
|
244: /**
|
|
>> 245: * Whether or not this association type represents a relationship to a single record of another entity where the record on the related association can relate back to any number of records from this entity
|
|
246: *
|
|
247: * @return boolean
|
|
|
|
Line 252 [match: FROM ]:
|
|
250:
|
|
251: /**
|
|
>> 252: * Whether or not this association type represents a relationship to multiple records of another entity where any given record on the related association can relate back to any number of records from this entity
|
|
253: *
|
|
254: * @return boolean
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\metadata\lib\FieldMetadataFieldInterface.php
|
|
================================================================================
|
|
Line 289 [match: FROM ]:
|
|
287:
|
|
288: /**
|
|
>> 289: * Sets an override for the culture that should be used to determine the type of currency. If not provided, the currency from the set culture code will be used instead.
|
|
290: *
|
|
291: * @param string $currencyCulture
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\metadata\lib\FieldMetadataInterface.php
|
|
================================================================================
|
|
Line 121 [match: SELECT ]:
|
|
119:
|
|
120: /**
|
|
>> 121: * Gets whether or not the user can select a different filter operator other than the one defaulted to when filtering on this field
|
|
122: *
|
|
123: * @return bool
|
|
|
|
Line 394 [match: SELECT ]:
|
|
392:
|
|
393: /**
|
|
>> 394: * Whether or not the user can select a different filter operator other than the one defaulted to when filtering on this field
|
|
395: *
|
|
396: * @param bool $defaultFilterOperatorCanChangeInRecordLists
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Form\Driver\DriverInterface.php
|
|
================================================================================
|
|
Line 94 [match: FROM ]:
|
|
92: /**
|
|
93: * Tells the driver to add a field to the form
|
|
>> 94: * type - One of the FIELDTYPE constants from the Form class
|
|
95: * Specify a fieldGroupRef returned by a call to "addFieldGroup" to add the field to a group, otherwise it will be displayed before all groups
|
|
96: * If a fieldGroupRef is supplied in addition to a parentFieldRef, the group will have no meaning. For continuity, the parentFieldRef's groupRef can be passed, but it just won't be utilized since grouping isn't recursive
|
|
|
|
Line 152 [match: FROM ]:
|
|
150: /**
|
|
151: * There are two arrays passed; the first one is all options to be displayed, and the second is the array indexes from
|
|
>> 152: * the first array that are filtered out from the current data set (when pertinent). This method is intended specifically for
|
|
153: * TYPE_ASSOC_SELECT_SINGLE and TYPE_ASSOC_SELECT_MULTI. In each array, the values should be the index and the display the value in the array
|
|
154: *
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\DataExporter\Remote\Response\Excel.php
|
|
================================================================================
|
|
Line 117 [match: FROM ]:
|
|
115: if($this->width === 'auto')
|
|
116: {
|
|
>> 117: // changed this from AUTOSIZE_METHOD_APPROX since it requires calling \PhpOffice\PhpSpreadsheet\Shared\Font::setTrueTypeFontPath() to set where TTF files are on the system
|
|
118: // could detect windows (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') and set "C:/Windows/Fonts/" in this case, but then the behavior would vary from platform to platform (since Linux doens't really have a standard location)
|
|
119: // the other option to have EXACT would be to impose another parameter you have to pass to setColumnWidth so if you specify "auto" you must specify the path
|
|
|
|
Line 118 [match: FROM ]:
|
|
116: {
|
|
117: // changed this from AUTOSIZE_METHOD_APPROX since it requires calling \PhpOffice\PhpSpreadsheet\Shared\Font::setTrueTypeFontPath() to set where TTF files are on the system
|
|
>> 118: // could detect windows (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') and set "C:/Windows/Fonts/" in this case, but then the behavior would vary from platform to platform (since Linux doens't really have a standard location)
|
|
119: // the other option to have EXACT would be to impose another parameter you have to pass to setColumnWidth so if you specify "auto" you must specify the path
|
|
120: // @TODO: revisit this later if APPROX doesn't work well enough
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\DataExporter\Remote\Response\RemoteDataExporterResponseInterface.php
|
|
================================================================================
|
|
Line 40 [match: FROM ]:
|
|
38:
|
|
39: /**
|
|
>> 40: * Using the data array provided, export the "fieldsToInclude" from that array in the order specified.
|
|
41: * The column headings for these fields should be located in "fieldNames" indexed by the field name.
|
|
42: * Returns the string representation of the file unless a file name has been specified in outputFileToBrowser.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\DataSource\LocalData.php
|
|
================================================================================
|
|
Line 38 [match: FROM ]:
|
|
36: {
|
|
37: if(sizeof($data) !== sizeof($this->_data))
|
|
>> 38: throw new \Exception('LocalData::setData can only be used to modify existing records returned from getData. Adding or removing records is not currently supported');
|
|
39:
|
|
40: $this->_data = $data;
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\Driver\DriverInterface.php
|
|
================================================================================
|
|
Line 62 [match: FROM ]:
|
|
60:
|
|
61: /**
|
|
>> 62: * Tells the driver to always use the currency from the specified culture, regardless of what the default culture code is set to.
|
|
63: * If this is not provided, the currency from the default culture code will be used instead.
|
|
64: *
|
|
|
|
Line 63 [match: FROM ]:
|
|
61: /**
|
|
62: * Tells the driver to always use the currency from the specified culture, regardless of what the default culture code is set to.
|
|
>> 63: * If this is not provided, the currency from the default culture code will be used instead.
|
|
64: *
|
|
65: * @param string $currencyCulture
|
|
|
|
Line 80 [match: FROM ]:
|
|
78: /**
|
|
79: * Tells the driver to add a column to the grid
|
|
>> 80: * type - One of the COLUMNTYPE constants from the Grid class
|
|
81: *
|
|
82: * @param string $dataSourceName
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\Driver\KendoUIDriver.php
|
|
================================================================================
|
|
Line 632 [match: SELECT ]:
|
|
630: {
|
|
631: if($this->_gridInfo['recordSelect']!=='single')
|
|
>> 632: throw new DriverException('Single record select mode for grid is required when the menu is being displayed as buttons');
|
|
633:
|
|
634: if($this->_menuAsButtonsUseDropdown && ((isset($this->_gridInfo['viewActionMenuItemIndex']) && sizeof($this->_gridMenuItems) > 2) || (!isset($this->_gridInfo['viewActionMenuItemIndex']) && sizeof($this->_gridMenuItems) > 1)))
|
|
|
|
Line 821 [match: SELECT ]:
|
|
819: if(sizeof($this->_gridMenuItems) && ($this->_menuAsButtons === FALSE))
|
|
820: {
|
|
>> 821: $template .= '<select id="'.$this->_gridID.'_toolbar-select" class="kendo-dropdown">
|
|
822: <option value="">Choose Action</option>';
|
|
823: foreach($this->_gridMenuItems as $menuItem)
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\Menu\Template\AbstractMenuTemplate.php
|
|
================================================================================
|
|
Line 27 [match: SELECT ]:
|
|
25: $this->addAction($actionRef, $action);
|
|
26: }
|
|
>> 27: $this->_recordSelect = $requiresRecordSelection;
|
|
28: $this->_multiRecords = $canSelectMultipleRecords;
|
|
29: }
|
|
|
|
Line 86 [match: SELECT ]:
|
|
84: public function requiresRecordSelection()
|
|
85: {
|
|
>> 86: return $this->_recordSelect ? true : false;
|
|
87: }
|
|
88:
|
|
|
|
Line 91 [match: SELECT ]:
|
|
89: public function canSelectMultipleRecords()
|
|
90: {
|
|
>> 91: return ($this->_recordSelect && $this->_multiRecords) ? true : false;
|
|
92: }
|
|
93:
|
|
|
|
Line 99 [match: SELECT ]:
|
|
97: public function setRequiresRecordSelection($requiresRecordSelection)
|
|
98: {
|
|
>> 99: $this->_recordSelect = $requiresRecordSelection;
|
|
100: }
|
|
101:
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\RemoteResponse\Driver\DriverInterface.php
|
|
================================================================================
|
|
Line 41 [match: FROM ]:
|
|
39:
|
|
40: /**
|
|
>> 41: * Based on the provided parameters from the grid request, indicates if field sorting is present
|
|
42: *
|
|
43: * @param array $params
|
|
|
|
Line 50 [match: FROM ]:
|
|
48:
|
|
49: /**
|
|
>> 50: * Gets an array of fields to sort on (indexed by field name) and the value containing direction (DIR_ASC or DIR_DESC constant from \Savvior\Metadata\Ordering\OrderByField)
|
|
51: *
|
|
52: * @param array $params
|
|
|
|
Line 59 [match: FROM ]:
|
|
57:
|
|
58: /**
|
|
>> 59: * Based on the provided parameters from the grid request, indicates if field filtering is present
|
|
60: *
|
|
61: * @param array $params
|
|
|
|
Line 68 [match: FROM ]:
|
|
66:
|
|
67: /**
|
|
>> 68: * Based on the provided parameters from the grid request, will configure the provided empty filter group with specified filters
|
|
69: *
|
|
70: * @param \Savvior\Metadata\Filter\FilterGroup $FilterGroup
|
|
|
|
Line 87 [match: FROM ]:
|
|
85:
|
|
86: /**
|
|
>> 87: * Based on the provided parameters from the grid request, will return an array of field names for export, or null if not found
|
|
88: *
|
|
89: * @param array $params
|
|
|
|
Line 96 [match: FROM ]:
|
|
94:
|
|
95: /**
|
|
>> 96: * Based on the provided parameters from the grid request, will return an array of field display names for the export, or null if not found
|
|
97: * These titles will be indexed by the field names returned from getExportFieldNames
|
|
98: *
|
|
|
|
Line 97 [match: FROM ]:
|
|
95: /**
|
|
96: * Based on the provided parameters from the grid request, will return an array of field display names for the export, or null if not found
|
|
>> 97: * These titles will be indexed by the field names returned from getExportFieldNames
|
|
98: *
|
|
99: * @param array $params
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\RemoteResponse\Driver\KendoUIDriver.php
|
|
================================================================================
|
|
Line 434 [match: FROM ]:
|
|
432: switch ($kendoToken)
|
|
433: {
|
|
>> 434: case 'd': // The day of the month, from 1 through 31
|
|
435: return 'j';
|
|
436: case 'dd': // The day of the month, from 01 through 31.
|
|
|
|
Line 436 [match: FROM ]:
|
|
434: case 'd': // The day of the month, from 1 through 31
|
|
435: return 'j';
|
|
>> 436: case 'dd': // The day of the month, from 01 through 31.
|
|
437: return 'd';
|
|
438: case 'ddd': // The abbreviated name of the day of the week.
|
|
|
|
Line 442 [match: FROM ]:
|
|
440: case 'dddd': // The full name of the day of the week.
|
|
441: return 'l';
|
|
>> 442: case 'M': // The month, from 1 through 12.
|
|
443: return 'n';
|
|
444: case 'MM': // The month, from 01 through 12.
|
|
|
|
Line 444 [match: FROM ]:
|
|
442: case 'M': // The month, from 1 through 12.
|
|
443: return 'n';
|
|
>> 444: case 'MM': // The month, from 01 through 12.
|
|
445: return 'm';
|
|
446: case 'MMM': // The abbreviated name of the month.
|
|
|
|
Line 450 [match: FROM ]:
|
|
448: case 'MMMM': // The full name of the month.
|
|
449: return 'F';
|
|
>> 450: case 'h': // The hour, using a 12-hour clock from 1 to 12.
|
|
451: return 'g';
|
|
452: case 'hh': // The hour, using a 12-hour clock from 01 to 12.
|
|
|
|
Line 452 [match: FROM ]:
|
|
450: case 'h': // The hour, using a 12-hour clock from 1 to 12.
|
|
451: return 'g';
|
|
>> 452: case 'hh': // The hour, using a 12-hour clock from 01 to 12.
|
|
453: return 'h';
|
|
454: case 'H': // The hour, using a 24-hour clock from 1 to 23.
|
|
|
|
Line 454 [match: FROM ]:
|
|
452: case 'hh': // The hour, using a 12-hour clock from 01 to 12.
|
|
453: return 'h';
|
|
>> 454: case 'H': // The hour, using a 24-hour clock from 1 to 23.
|
|
455: return 'G';
|
|
456: case 'HH': // The hour, using a 24-hour clock from 01 to 23.
|
|
|
|
Line 456 [match: FROM ]:
|
|
454: case 'H': // The hour, using a 24-hour clock from 1 to 23.
|
|
455: return 'G';
|
|
>> 456: case 'HH': // The hour, using a 24-hour clock from 01 to 23.
|
|
457: return 'H';
|
|
458: case 'mm': // The minute, from 00 through 59.
|
|
|
|
Line 458 [match: FROM ]:
|
|
456: case 'HH': // The hour, using a 24-hour clock from 01 to 23.
|
|
457: return 'H';
|
|
>> 458: case 'mm': // The minute, from 00 through 59.
|
|
459: return 'i';
|
|
460: case 'ss': // The second, from 00 through 59.
|
|
|
|
Line 460 [match: FROM ]:
|
|
458: case 'mm': // The minute, from 00 through 59.
|
|
459: return 'i';
|
|
>> 460: case 'ss': // The second, from 00 through 59.
|
|
461: return 's';
|
|
462: case 'tt': // The AM/PM designator.
|
|
|
|
Line 464 [match: FROM ]:
|
|
462: case 'tt': // The AM/PM designator.
|
|
463: return 'A';
|
|
>> 464: case 'yy': // The last two characters from year value.
|
|
465: return 'y';
|
|
466: case 'yyyy': // The year full value.
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\RemoteResponse\GridResponse.php
|
|
================================================================================
|
|
Line 21 [match: FROM ]:
|
|
19: use ConvertsMetadataTypesToGridTypes;
|
|
20:
|
|
>> 21: const RESPONSE_MODE_GRID = 1; // the response from the driver needed to populate the grid
|
|
22: const RESPONSE_MODE_EXPORT = 2; // a file download of the grid data
|
|
23: const RESPONSE_MODE_LOCAL_DATA_OBJECT = 3; // the local data object if it needs manipulated by the calling script before being sent to the grid or exported
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\Grid\Grid.php
|
|
================================================================================
|
|
Line 518 [match: FROM ]:
|
|
516: private function _getPotentialColumnNamesInDisplayMask(EntityMetadataInterface $EntityMetadata, $fieldPrefix = '')
|
|
517: {
|
|
>> 518: // this method will be "greedy" when calculating possible field names (not considering which fields will actually be on the grid), since these determinations will already be made when the columns are setup from the metadata
|
|
519: $FieldsInDisplayMask = [];
|
|
520: $DisplayMask = $EntityMetadata->getDisplayMask();
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\lib\RecordDisplay\Driver\FormBuilderDriver.php
|
|
================================================================================
|
|
Line 102 [match: FROM ]:
|
|
100: {
|
|
101: if(!is_null($fieldGroupRef))
|
|
>> 102: throw new DriverException('Nested displays cannot be in a group for the from builder record display driver');
|
|
103: if(!is_null($parentFieldRef))
|
|
104: throw new DriverException('Nested displays cannot be in another nested display for the form builder record display driver');
|
|
|
|
|
|
================================================================================
|
|
FILE: C:\inetpub\portal-live\vendor\savvior\ui\public\form\js\file-upload\server\php\UploadHandler.php
|
|
================================================================================
|
|
Line 139 [match: FROM ]:
|
|
137: // Make sure that this directory doesn't allow execution of files if you
|
|
138: // don't pose any restrictions on the type of uploaded files, e.g. by
|
|
>> 139: // copying the .htaccess file from the files directory for Apache:
|
|
140: //'upload_dir' => dirname($this->get_server_var('SCRIPT_FILENAME')).'/thumb/',
|
|
141: //'upload_url' => $this->get_full_url().'/thumb/',
|
|
|
|
Line 1189 [match: FROM ]:
|
|
1187: }
|
|
1188: $file_path = $this->get_upload_path($file_name, $this->get_version_param());
|
|
>> 1189: // Prevent browsers from MIME-sniffing the content-type:
|
|
1190: $this->header('X-Content-Type-Options: nosniff');
|
|
1191: if (!preg_match($this->options['inline_file_types'], $file_name)) {
|
|
|
|
Line 1226 [match: FROM ]:
|
|
1224: $this->header('Cache-Control: no-store, no-cache, must-revalidate');
|
|
1225: $this->header('Content-Disposition: inline; filename="files.json"');
|
|
>> 1226: // Prevent Internet Explorer from MIME-sniffing the content-type:
|
|
1227: $this->header('X-Content-Type-Options: nosniff');
|
|
1228: if ($this->options['access_control_allow_origin']) {
|
|
|