[Leave Application Issue]: Applied Leave Aren't Deducted

Help Needed: Submitted Leave Application did not create Attendance and Leave Ledger Entry. Because of this, no leave is deducted.

P.S. No error was shown

Version:
ERPNext: v12.24.0 (version-12)
Frappe Framework: v12.21.1 (version-12)