Загрузка данных
left join ourpension.decision_payment_type dpt and ( :br_date is null or aibd.accepted::date = :br_date::date )