Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-leaflet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-leaflet
Commits
c046a8ad
Commit
c046a8ad
authored
Nov 06, 2023
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Including sub-types of customer invoice
parent
ecff9b4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
leaflet-customer-component.tcl
lib/leaflet-customer-component.tcl
+2
-1
No files found.
lib/leaflet-customer-component.tcl
View file @
c046a8ad
...
...
@@ -44,7 +44,8 @@ set customer_sql "
THEN 1 ELSE 0 END as needs_update_p,
( select greatest(round(coalesce(sum(co.amount),0.0)), 0.0)
from im_costs co
where co.cost_type_id = 3700 and co.customer_id = c.company_id
where co.cost_type_id in (select * from im_sub_categories(
[
im_cost_type_invoice
]
)) and
co.customer_id = c.company_id
) as invoice_amount
from im_companies c,
im_offices o,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment