Feature/breadboard #4
@@ -193,6 +193,8 @@
|
|||||||
return `<option value="${d.id}">${app.escapeHtml(label)}</option>`;
|
return `<option value="${d.id}">${app.escapeHtml(label)}</option>`;
|
||||||
}).join('');
|
}).join('');
|
||||||
|
|
||||||
|
const showForms = state.selectedPersonId ? '' : 'style="display:none"';
|
||||||
|
|
||||||
const billsHtml = bills.map(b => {
|
const billsHtml = bills.map(b => {
|
||||||
const meta = [];
|
const meta = [];
|
||||||
if (b.billDate) meta.push(app.formatDate(b.billDate));
|
if (b.billDate) meta.push(app.formatDate(b.billDate));
|
||||||
@@ -249,7 +251,6 @@
|
|||||||
</div>`;
|
</div>`;
|
||||||
}).join('');
|
}).join('');
|
||||||
|
|
||||||
const showForms = state.selectedPersonId ? '' : 'style="display:none"';
|
|
||||||
section.innerHTML = `
|
section.innerHTML = `
|
||||||
<div class="charges-section">
|
<div class="charges-section">
|
||||||
<div class="charges-header">Bills</div>
|
<div class="charges-header">Bills</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user