Skip to content

Conversation

rokorolov
Copy link

No description provided.

* @method static self|null findOne($condition)
* @method static self[] findAll($condition)
*/
class StoreTransactions extends BaseStoreTransactions
Copy link
Contributor

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,
Copy link
Contributor

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
Copy link
Contributor

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()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kam šis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants