Rules \ Examples
Rule
Code
return (!provider.provider || provider.provider == '' || provider.provider == 'Leclerc.Eshop.MonLeclerc');const { evolutel } = await helper.countProof();
const tas = evolutel * (helper.hasCarteFid() ? 2 : 1);
return { game: 0, tas: tas };return (pdvs.length > 0 && helper.get('shopid') && helper.isEligiblePDV());const orderParticipations = await helper.uniqueParticipation({ "selection": [["item_uid"]], "participation_type": ["normal"] });
return orderParticipations.count == 0;const totParticipations = await helper.uniqueParticipation({ "selection": [["user_uid", "source_type", "order_at"]], "participation_type": ["normal"] });
return totParticipations.count < 2;return (!!helper.get('mail') || !!helper.get('accountId'));return (!!helper.get('shopid') && !!helper.get('cmd') && !!helper.get('date') && !!helper.get('basket')return (poke.segment && poke.segment == 'CIAM');const isInTheList = await helper.isInBurnList(poke.user_uid);Last updated