Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
57 | public function initFrom() |
||
58 | { |
||
59 | return $this->from('zbill zb') |
||
60 | ->leftJoin('gref bt', 'bt.obj_id = zb.type_id') |
||
61 | ->leftJoin('obj tj', 'tj.obj_id = zb.object_id') |
||
62 | ->leftJoin('zref tt', 'tt.obj_id = tj.class_id') |
||
63 | ->leftJoin('purse bp', 'bp.obj_id = zb.purse_id') |
||
64 | ->leftJoin('zclient zc', 'zc.obj_id = bp.client_id') |
||
65 | ->leftJoin('zclient cr', 'cr.obj_id = zc.seller_id') |
||
66 | ->leftJoin('zref py', 'py.obj_id = bp.currency_id') |
||
67 | ->leftJoin('zref qu', 'qu.obj_id = zb.unit_id'); |
||
68 | } |
||
70 |