control-number-calc Script for calculating control number of Land and Mortgage Registry. The get_control_number function takes two strings as arguments it is: Land and Mortgage Register number Court Department number # sample usage get_control_number('0000XXXX', 'OPXX')