Seek prompt review of the actual record and available procedure. Do not continue working solely because the passport or visa shows a later expiry.
Resolve the controlling facts before the current period ends
Provide the relevant approvals, admissions and passport documents together. The appropriate correction or extension route depends on the facts; avoid assuming that travel or an informal request automatically fixes the issue. A visa is a travel document used to request entry; it does not by itself guarantee entry and does not determine how long someone may actually remain once admitted.
The record created at admission, and its own expiration, generally governs status inside the country, separate from whatever validity period appears on the visa itself, so a visa that still looks valid says nothing about whether the underlying admission period has already ended. Treat those two documents as answering different questions: one about entry, the other about ongoing status, and confirm both independently rather than assuming that a longer visa validity period extends the shorter one. Review the admission record itself, not just the visa, when trying to determine exactly how much authorized time actually remains before treating either document as reassurance that everything is still in order.
Ask which document actually controls the current situation before making any plan that relies on it.