|
@@ -63,12 +63,12 @@ |
|
|
block discarded – undo |
|
63
|
63
|
|
|
64
|
64
|
protected function getSQLFrom(): string |
|
65
|
65
|
{ |
|
66
|
|
- return static::MAIN_TABLE . '' |
|
67
|
|
- . ' LEFT JOIN '. static::CLIENTES_TABLE . ' ON ' |
|
68
|
|
- . static::MAIN_TABLE . '.codcliente = ' . static::CLIENTES_TABLE . '.codcliente' |
|
69
|
|
- . ' LEFT JOIN '. static::NCFTIPO_TABLE . ' ON ' |
|
70
|
|
- . static::MAIN_TABLE . '.tipocomprobante = ' . static::NCFTIPO_TABLE . '.tipocomprobante' |
|
71
|
|
- . ' LEFT JOIN ' . static::NCFTIPOPAGO_TABLE . ' ON ' |
|
72
|
|
- . static::MAIN_TABLE . '.ncftipopago = ' . static::NCFTIPOPAGO_TABLE . '.tipopago'; |
|
|
66
|
+ return static::MAIN_TABLE.'' |
|
|
67
|
+ . ' LEFT JOIN '.static::CLIENTES_TABLE.' ON ' |
|
|
68
|
+ . static::MAIN_TABLE.'.codcliente = '.static::CLIENTES_TABLE.'.codcliente' |
|
|
69
|
+ . ' LEFT JOIN '.static::NCFTIPO_TABLE.' ON ' |
|
|
70
|
+ . static::MAIN_TABLE.'.tipocomprobante = '.static::NCFTIPO_TABLE.'.tipocomprobante' |
|
|
71
|
+ . ' LEFT JOIN '.static::NCFTIPOPAGO_TABLE.' ON ' |
|
|
72
|
+ . static::MAIN_TABLE.'.ncftipopago = '.static::NCFTIPOPAGO_TABLE.'.tipopago'; |
|
73
|
73
|
} |
|
74
|
74
|
} |
|
75
|
75
|
\ No newline at end of file |
Please login to merge, or discard this patch.