Visa & Resident Permit are two different things. Visa is more related to total allowable duration of stay. Once the visa expires, it gets renewal from the Labor Department and it takes one week time. After that, your RP can be stamped within one day.