fix EV3-383 Verzióváltott teszt - Megrendelés elküldése
This commit is contained in:
parent
87722fdb87
commit
01f367fe6f
@ -41,6 +41,14 @@ class OrderController extends Controller
|
|||||||
public function __construct(OrderService $service)
|
public function __construct(OrderService $service)
|
||||||
{
|
{
|
||||||
$this->service = $service;
|
$this->service = $service;
|
||||||
|
/*
|
||||||
|
need debugger
|
||||||
|
$this->logger = Log::build([
|
||||||
|
'driver' => 'single',
|
||||||
|
'path' => storage_path('logs/debug.log'),
|
||||||
|
]);
|
||||||
|
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private function convertWeekProductSelectArrayToDays($Order, $indexed = 'weekDayPointer')
|
private function convertWeekProductSelectArrayToDays($Order, $indexed = 'weekDayPointer')
|
||||||
@ -1524,6 +1532,7 @@ private function updateSend(Request $request, int $orderId): JsonResponse
|
|||||||
|
|
||||||
// return \response()->json(['success'=>true],201);
|
// return \response()->json(['success'=>true],201);
|
||||||
|
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
$attachments = $this->getEmailAttachment($orderData, $fileType);
|
$attachments = $this->getEmailAttachment($orderData, $fileType);
|
||||||
\Mail::send('email.order', [
|
\Mail::send('email.order', [
|
||||||
@ -1561,6 +1570,24 @@ private function updateSend(Request $request, int $orderId): JsonResponse
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* debug mail logging
|
||||||
|
$this->logger->info(__FUNCTION__.':'.__LINE__." ---------------------");
|
||||||
|
try {
|
||||||
|
$symfonyMessage = $m->getSymfonyMessage();
|
||||||
|
|
||||||
|
$debugInfo = [
|
||||||
|
'to' => collect($symfonyMessage->getTo())->map(fn($addr) => $addr->toString())->toArray(),
|
||||||
|
'cc' => collect($symfonyMessage->getCc())->map(fn($addr) => $addr->toString())->toArray(),
|
||||||
|
'bcc' => collect($symfonyMessage->getBcc())->map(fn($addr) => $addr->toString())->toArray(),
|
||||||
|
];
|
||||||
|
|
||||||
|
$this->logger->info("FINAL MAIL RECIPIENTS for Order: " . $orderData['humanId'], $debugInfo);
|
||||||
|
|
||||||
|
} catch (\Exception $e) {
|
||||||
|
$this->logger->error("Debug hiba a címzettek lekérdezésekor: " . $e->getMessage());
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$Order->sentTime = $orderData['sentTime'];
|
$Order->sentTime = $orderData['sentTime'];
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
<label for="inputPassword" class="sr-only">Password</label>
|
<label for="inputPassword" class="sr-only">Password</label>
|
||||||
<input type="password" name="password" id="inputPassword" class="form-control" placeholder="Jelszó" required name>
|
<input type="password" name="password" id="inputPassword" class="form-control" placeholder="Jelszó" required name>
|
||||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Bejelentkezés</button>
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Bejelentkezés</button>
|
||||||
<p class="mt-5 mb-3 text-muted">© 2021-2025</p>
|
<p class="mt-5 mb-3 text-muted">© 2021-2026</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user