Merge branch '390-resq-modifications-to-importsapbatterycommand' into 'master'

Resolve "Resq - modifications to ImportSAPBatteryCommand"

Closes #390

See merge request jankstudio/resq!434
This commit is contained in:
Kendrick Chan 2020-04-29 08:43:22 +00:00
commit f180214876

View file

@ -187,21 +187,21 @@ class ImportSAPBatteryCommand extends Command
throw new Exception('The file "' . $report_file . '" could be opened.');
}
fputs($fh, 'Brands not added: ' . "\n");
fputs($fh, 'Brands Already in Database: ' . "\n");
foreach ($brands as $brand)
{
fputs($fh, $brand, strlen($brand));
fputs($fh, "\n");
}
fputs($fh, 'Sizes not added: ' . "\n");
fputs($fh, 'Sizes Already in Database: ' . "\n");
foreach ($sizes as $size)
{
fputs($fh, $size, strlen($size));
fputs($fh, "\n");
}
fputs($fh, 'SKUs not added: ' . "\n");
fputs($fh, 'SAP Codes Already in Database: ' . "\n");
foreach ($batts as $batt)
{
fputs($fh, $batt, strlen($batt));