diff --git a/public_html_admin/css/clients.css b/public_html_admin/css/clients.css index 56b7649..2f6bc68 100644 --- a/public_html_admin/css/clients.css +++ b/public_html_admin/css/clients.css @@ -15,7 +15,9 @@ #modalViewClient div.tabAbsences table td.ref { width: 30px; } #modalViewClient div.tabAbsences table td.date { text-align: center; padding: 8px 0; } +#modalViewClient div.tabAbsences table th.debut { width: 130px; } #modalViewClient div.tabAbsences table td.debut { width: 130px; } +#modalViewClient div.tabAbsences table th.fin { width: 122px; } #modalViewClient div.tabAbsences table td.fin { width: 120px; } #modalViewClient div.tabAbsences table tr.editable { background-color: #cce4f9; } diff --git a/public_html_admin/js/clients.js b/public_html_admin/js/clients.js index d4624b4..3301b38 100644 --- a/public_html_admin/js/clients.js +++ b/public_html_admin/js/clients.js @@ -145,8 +145,9 @@ function modalViewClient_initTabAbsences() { // BTN ADD ABSENCES modalViewClient.find("#btnAddAbsence").click(function(e) { e.preventDefault(); $(this).blur(); + if(modalViewClient.find("div.tabAbsences table tbody tr.editable").length>0) return; - var tr = $("
| debut | -fin | +debut | +fin | remarque | ||
|---|---|---|---|---|---|---|
| - | + | + | ||||