Spaces:
Sleeping

doluong6 commited on
Commit
100d4be
·
verified ·
1 Parent(s): 80653a1

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +2 -2
static/script.js CHANGED
@@ -74,7 +74,7 @@ async function hienThiDanhSachPYC() {
74
 
75
  async function hienThiSoPYCHoanThanh() {
76
  try {
77
- const res = await fetch(/dem_pyc_hoan_thanh");
78
  const data = await res.json();
79
 
80
  if (res.ok && data.tong_so_hoan_thanh !== undefined) {
@@ -89,7 +89,7 @@ async function hienThiSoPYCHoanThanh() {
89
  }
90
  async function hienThiDoanhThuPYC() {
91
  try {
92
- const res = await fetch("/tong_doanh_thu_pyc");
93
  const data = await res.json();
94
  if (res.ok && data.tong_doanh_thu !== undefined) {
95
  const formatted = Number(data.tong_doanh_thu).toLocaleString("vi-VN") + " VND";
 
74
 
75
  async function hienThiSoPYCHoanThanh() {
76
  try {
77
+ const res = await fetch("/dem_pyc_hoan_thanh");
78
  const data = await res.json();
79
 
80
  if (res.ok && data.tong_so_hoan_thanh !== undefined) {
 
89
  }
90
  async function hienThiDoanhThuPYC() {
91
  try {
92
+ const res = await fetch("/doanh_thu_dich_vu");
93
  const data = await res.json();
94
  if (res.ok && data.tong_doanh_thu !== undefined) {
95
  const formatted = Number(data.tong_doanh_thu).toLocaleString("vi-VN") + " VND";