app\models\Invoice::calcLink PHP Method