Commit 7638cc53 authored by Shakarim Sapa's avatar Shakarim Sapa

- Debugging

parent 65081e91
......@@ -181,7 +181,7 @@ class DefaultController extends BaseController
$sendedToUser=false;
// Получили дату для дальнейшего сравнения
$deliveryDate = new \DateTime($user->delivery_date);
echo $date->format('d.m.Y').':'.$deliveryDate->format('d.m.Y');
echo $user->email.':'.$date->format('d.m.Y').':'.$deliveryDate->format('d.m.Y').'<br>';
// Если пользователь подписан и дата соответствует требованиям
if (Bid::find()->where(['email' => $user->email])->exists() && $deliveryDate<=$date) {
// Перебираем все записи
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment