change version to v.0.0.24
This commit is contained in:
parent
55c36d1fca
commit
d1638a19de
@ -16,6 +16,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<?= Html::a(Yii::t('common/product', 'Update'), ['update', 'id' => $model->id_product], ['class' => 'btn btn-primary']) ?>
|
<?= Html::a(Yii::t('common/product', 'Update'), ['update', 'id' => $model->id_product], ['class' => 'btn btn-primary']) ?>
|
||||||
|
<?= Html::a(Yii::t('common/product', 'Új Termék'), ['create' ], ['class' => 'btn btn-primary']) ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?= DetailView::widget([
|
<?= DetailView::widget([
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
-0.0.24
|
||||||
|
- add transfer payment_method
|
||||||
-0.0.23
|
-0.0.23
|
||||||
- fix small bugs
|
- fix small bugs
|
||||||
-0.0.22
|
-0.0.22
|
||||||
|
|||||||
@ -4,7 +4,7 @@ return [
|
|||||||
'supportEmail' => 'rocho02@gmail.com',
|
'supportEmail' => 'rocho02@gmail.com',
|
||||||
'infoEmail' => 'info@rocho-net.hu',
|
'infoEmail' => 'info@rocho-net.hu',
|
||||||
'user.passwordResetTokenExpire' => 3600,
|
'user.passwordResetTokenExpire' => 3600,
|
||||||
'version' => 'v0.0.23',
|
'version' => 'v0.0.24',
|
||||||
'company' => 'movar',//gyor
|
'company' => 'movar',//gyor
|
||||||
'company_name' => "Freimann Kft.",
|
'company_name' => "Freimann Kft.",
|
||||||
'product_visiblity' => 'account',// on reception which products to display. account or global
|
'product_visiblity' => 'account',// on reception which products to display. account or global
|
||||||
|
|||||||
@ -328,7 +328,7 @@ class Transfer extends \common\models\BaseFitnessActiveRecord
|
|||||||
* */
|
* */
|
||||||
public static function createMoneyMovementOutTransfer($account , $moneyMovement ){
|
public static function createMoneyMovementOutTransfer($account , $moneyMovement ){
|
||||||
$transfer = new Transfer();
|
$transfer = new Transfer();
|
||||||
|
$transfer->payment_method = Transfer::PAYMENT_METHOD_CASH;
|
||||||
$transfer->type = Transfer::TYPE_MONEY_MOVEMENT_OUT;
|
$transfer->type = Transfer::TYPE_MONEY_MOVEMENT_OUT;
|
||||||
$transfer->status = Transfer::STATUS_PAID;
|
$transfer->status = Transfer::STATUS_PAID;
|
||||||
if ( $moneyMovement->type == MoneyMovement::TYPE_OUT){
|
if ( $moneyMovement->type == MoneyMovement::TYPE_OUT){
|
||||||
@ -344,6 +344,7 @@ class Transfer extends \common\models\BaseFitnessActiveRecord
|
|||||||
$transfer->id_account = $account->id_account;
|
$transfer->id_account = $account->id_account;
|
||||||
|
|
||||||
$transfer->paid_at = date('Y-m-d H:i:s' ) ;
|
$transfer->paid_at = date('Y-m-d H:i:s' ) ;
|
||||||
|
$transfer->paid_by = \Yii::$app->user->id;
|
||||||
|
|
||||||
return $transfer;
|
return $transfer;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user