hello,
I want to view sites from my database ,The number of sites varies by company.
The display is as follows
now i want for each site adding information like :total outgoing call in my view is in french Total Appels sortants
for design this page i use the next code :
- class="row" id="MySite" style=" background-color: mintcream">
- and function javascript:
- function fillSiteWidget(AllSite) {
- ;
- var wrapperSite = document.getElementById("MySite");
- AllSite.forEach(allsite => {
- var myname = allsite.site;
- myHTML += '''
- myHTML += '
' - myHTML += '
''- myHTML += '
- myHTML += '
''- myHTML += '
''- myHTML += '
'
+ 'Site :' + ' + myname + '\');"> ' + allsite.libellé + ' '- myHTML += ' '
- myHTML += '
'
+ allsite.site;- myHTML += ' '
- myHTML += '
- myHTML += '
- myHTML += '
- myHTML += '
- '
- myHTML += '
- '
- myHTML += '
''- myHTML += '
Total Appels Entrants:
'- myHTML += '
- myHTML += ' '
- myHTML += '
''- myHTML += '
Coût Total:
'- myHTML += '
- myHTML += '
'- myHTML += '
- '
- myHTML += '
'- myHTML += ' '
- myHTML += ''
- myHTML += ''
- myHTML += '
- myHTML += '
- myHTML += '

Mouhssine tahriPosted Apr 26, 2021, 11:49 AM
Du ' + formatDate(document.getElementById("datedebut").value) + ' Au ' + formatDate(document.getElementById("datefin").value) + '
Appels Locaux :
Appels nationaux :
Appels Internationaux :
Appels GSM :
Appels Numéros spéciaux :" + data-toggle="tooltip" data-html="true"
class="author fw-semi-bold" >Total Appels sortants : "AppelSortant">
''
+ 'Site :' + ' + myname + '\');"> ' + allsite.libellé + ' ''
+ allsite.site;'
'
Total Appels Entrants:
'Du ' + formatDate(document.getElementById("datedebut").value) + ' Au ' + formatDate(document.getElementById("datefin").value) + '
Appels Locaux :
Appels nationaux :
Appels Internationaux :
Appels GSM :
Appels Numéros spéciaux :" + data-toggle="tooltip" data-html="true"
class="author fw-semi-bold" >Total Appels sortants : "AppelSortant">CountAppelSortant
'Coût Total:
'