-
Notifications
You must be signed in to change notification settings - Fork 0
Add additional actions #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
* @method static self|null findOne($condition) | ||
* @method static self[] findAll($condition) | ||
*/ | ||
class StoreTransactions extends BaseStoreTransactions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kapēc šeit jaliek? Šīs Cewood specifiskas konstantes.
'store_stack_to.id = store_transactions.stack_to' | ||
) | ||
->andWhere([ | ||
'store_transactions.ref_id' => AtlikumiConfig::STORE_REF_PACK_ID, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AtlikumiConfig::STORE_REF_PACK_ID arī ir Cewood specifiska konstante
->addSelect([ | ||
'storeIds' => 'CONCAT(IFNULL(store_stack_from.store_id,0),"/",IFNULL(store_stack_to.store_id,0))', | ||
'action' => new Expression( | ||
"CASE store_stack_to.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Šis arī ir Cewood specifisks
), | ||
]); | ||
|
||
if($this->isExtendedAction()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kam šis?
No description provided.