Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sib-invoicing
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Components
sib-invoicing
Commits
aa221214
Commit
aa221214
authored
3 years ago
by
Matthieu Fesselier
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into 'master'
bugfix: duplicate with no-render See merge request
!33
parents
2ae20784
617a2929
No related branches found
Branches containing commit
Tags
v7.2.0
Tags containing commit
1 merge request
!33
bugfix: duplicate with no-render
Pipeline
#11436
passed with stage
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
solid-invoicing.js
+3
-0
3 additions, 0 deletions
solid-invoicing.js
with
3 additions
and
0 deletions
solid-invoicing.js
+
3
−
0
View file @
aa221214
...
...
@@ -38,9 +38,11 @@ export class SolidInvoicing extends SolidTemplateElement {
// remove no-render to populate the recap
if
(
e
.
target
===
this
.
querySelector
(
'
#invoice-router
'
)
&&
e
.
detail
.
route
===
"
invoices-summary
"
)
{
const
customerDisplay
=
this
.
querySelector
(
'
#customer-invoices
'
);
const
customerForm
=
this
.
querySelector
(
'
#new-customer-invoice
'
);
const
freelancerDisplay
=
this
.
querySelector
(
'
#freelancer-invoices
'
);
if
(
customerDisplay
.
hasAttribute
(
'
no-render
'
))
customerDisplay
.
removeAttribute
(
'
no-render
'
);
if
(
freelancerDisplay
.
hasAttribute
(
'
no-render
'
))
freelancerDisplay
.
removeAttribute
(
'
no-render
'
);
if
(
customerForm
.
hasAttribute
(
'
no-render
'
))
customerForm
.
removeAttribute
(
'
no-render
'
);
}
if
(
e
.
detail
.
route
===
"
edit-invoice
"
)
{
const
editForm
=
this
.
querySelector
(
'
#edit-customer-invoice
'
);
...
...
@@ -556,6 +558,7 @@ export class SolidInvoicing extends SolidTemplateElement {
<h3 class="text-color-heading">
${
this
.
localize
(
'
title.invoice_create
'
)}
</h3>
<solid-form
id="new-customer-invoice"
class="new-customer-invoice-form segment full whitespace-normal js-calculate-totals"
data-src="
${
dataSrc
}
"
nested-field="customerInvoices"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment