ERP on PHP and Yii framework