d1635f562869287f9286d116e97e0f69874db5f8,modules/templates/RLPPTM/vouchers.py,VoucherCardLayout,lookup,#Any#Any#Any#,53
Before Change
subject_name = "VoucherInstructions"
query = (ctable.name == subject_name) & \
(ctable.deleted == False)
row = db(query).select(ctable.body,
join = join,
limitby = (0, 1),
).first()
instructions = row.body if row else None
return {"logos": logos,
"root_org_names": root_org_names,
After Change
root_org_names = None
// Get voucher instructions from programs
program_ids = set(item["_row"]["fin_voucher.program_id"] for item in items)
program_ids.discard(None)
ptable = s3db.fin_voucher_program
query = (ptable.id.belongs(program_ids)) & \
(ptable.voucher_instructions != None) & \
(ptable.deleted == False)
programs = db(query).select(ptable.id,
ptable.voucher_instructions,
)
instructions = {p.id: p.voucher_instructions for p in programs}
return {"logos": logos,
"root_org_names": root_org_names,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: sahana/eden
Commit Name: d1635f562869287f9286d116e97e0f69874db5f8
Time: 2021-01-18
Author: dominic@nursix.org
File Name: modules/templates/RLPPTM/vouchers.py
Class Name: VoucherCardLayout
Method Name: lookup
Project Name: bashtage/linearmodels
Commit Name: 8698f9b95638a258c880e0ae25cdf8859f26bfa3
Time: 2017-04-05
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: BetweenOLS
Method Name: _choose_cov
Project Name: OpenMined/Grid
Commit Name: 83d8d58b3867b251c1441fc29c7b719036b14f67
Time: 2021-03-30
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/request_service.py
Class Name:
Method Name: update_request_msg