Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
eis
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 18d12b6e
authored
Jul 04, 2025
by
Ari Agung Prasetiyo
Committed by
Ari Agung Prasetiyo
Jul 04, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bold oodometer dan sum table
1 parent
a54bda03
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
eispajak/static/css/pcpd.css
eispajak/views/templates/pbb.pt
eispajak/static/css/pcpd.css
View file @
18d12b6
...
...
@@ -91,6 +91,9 @@ div.col-md-6 {
.sub-odometer
{
font-size
:
2.5em
;
}
.odometer-value
{
font-weight
:
bold
;
}
.padding-top-sm
{
padding-top
:
.5em
;
}
...
...
eispajak/views/templates/pbb.pt
View file @
18d12b6
...
...
@@ -186,6 +186,13 @@
<td
class=
"right"
>
789.492.550
</td>
</tr>
</tbody>
<tfoot>
<td
colspan=
"2"
class=
"text-right"
>
Jumlah
</td>
<td><span
id=
"sum_ketetapan"
></span></td>
<td><span
id=
"sum_realisasi"
></span></td>
<td><span
id=
"sum_sisa"
></span></td>
<td><span
id=
"sum_persen"
></span></td>
</tfoot>
</table>
</div>
</div>
...
...
@@ -523,6 +530,10 @@
);
var
tableRefresh
=
function
()
{
table
.
clear
();
var
sum_ketetapan
=
0
;
var
sum_realisasi
=
0
;
var
sum_sisa
=
0
;
var
sum_persen
=
0
;
newData
.
tabel
.
forEach
(
function
(
row
)
{
// console.log(row);
table
.
row
.
add
([
...
...
@@ -533,7 +544,17 @@
row
.
sisa
.
toLocaleString
(
"id-ID"
),
row
.
persen
.
toFixed
(
2
)
]);
sum_ketetapan
+=
row
.
ketetapan
;
sum_realisasi
+=
row
.
realisasi
;
sum_sisa
+=
row
.
sisa
;
sum_persen
+=
row
.
persen
;
});
$
(
'#sum_ketetapan'
).
html
(
sum_ketetapan
.
toLocaleString
(
"id-ID"
));
$
(
'#sum_realisasi'
).
html
(
sum_realisasi
.
toLocaleString
(
"id-ID"
));
$
(
'#sum_sisa'
).
html
(
sum_sisa
.
toLocaleString
(
"id-ID"
));
$
(
'#sum_persen'
).
html
(
sum_persen
.
toLocaleString
(
"id-ID"
));
table
.
draw
();
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment