File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/Picqer/Financials/Exact Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -171,4 +171,22 @@ public function addItem(array $array)
171171 }
172172 $ this ->attributes ['QuotationLines ' ][] = $ array ;
173173 }
174+
175+ public function getQuotationLines ()
176+ {
177+ if (array_key_exists ('__deferred ' , $ this ->attributes ['QuotationLines ' ])) {
178+ $ this ->attributes ['QuotationLines ' ] = (new QuotationLine ($ this ->connection ()))->filter ("QuotationID eq guid' {$ this ->QuotationID }' " );
179+ }
180+
181+ return $ this ->attributes ['QuotationLines ' ];
182+ }
183+
184+ public function getQuotationOrderChargeLines ()
185+ {
186+ if (array_key_exists ('__deferred ' , $ this ->attributes ['QuotationOrderChargeLines ' ])) {
187+ $ this ->attributes ['QuotationOrderChargeLines ' ] = (new QuotationOrderChargeLine ($ this ->connection ()))->filter ("QuotationID eq guid' {$ this ->QuotationID }' " );
188+ }
189+
190+ return $ this ->attributes ['QuotationOrderChargeLines ' ];
191+ }
174192}
You can’t perform that action at this time.
0 commit comments