Запись была добавлена на сервере или на кассе?
Попробуйте на сервере выполнить запрос:
Код:
SELECT cr.name, cr.number, so.number so_number, so.date so_date, so.sale,
so.sreturn, so.cancel, so.cancel_return, so.sale_fiscal,
so.sreturn_fiscal, lso.user_name so_user,
sc.date sc_date, lsc.user_name sc_user, cr.cash_id cash_id, so.id so_id, sc.kkm_shift_number,
sc.kkm_serial_number, sc.kkm_registration_number, sc.kkm_owner_number, sc.eklz_number,
sc.eklz_date_activate, sc.eklz_fast_full
FROM trm_in_pos cr INNER JOIN trm_out_shift_open so ON
so.cash_id = cr.cash_id LEFT JOIN trm_out_shift_close sc ON
sc.cash_id = so.cash_id AND sc.id = so.id INNER JOIN trm_out_login lso ON
lso.cash_id = so.cash_id AND lso.id = so.login LEFT JOIN trm_out_login lsc ON
lsc.cash_id = sc.cash_id AND lsc.id = sc.login
WHERE ".(($sel_cash == 0) ? $_SESSION['current_cashline']." = cr.store_id " : $sel_cash." = cr.cash_id ").
(strlen($date_from) > 0 ? "AND '$date_from 00:00:00' <= so.date " : "").
(strlen($date_to) > 0 ? "AND so.date <= '$date_to 23:59:59' " : "").
Возможно, не хватает еще записи в trm_out_login.