correction bugs page newFiche
This commit is contained in:
@@ -88,9 +88,24 @@ $(document).ready(function () {
|
||||
calcPrixTotalFrsHorsF();
|
||||
updatePrixTotal();
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
/**
|
||||
* Refus d'un frais HF pour un comptable
|
||||
*/
|
||||
$(document).on('click', '.btnRefuseFraisHf', function () {
|
||||
idFrais = $(this).parent().parent().attr('data-id')
|
||||
fiche = $('#idFiche').attr('data-id')
|
||||
etatLigne = $(this).attr('data-status')
|
||||
console.log(etatLigne)
|
||||
//set on refus
|
||||
$.ajax({
|
||||
url: "../controleurs/c_actionFiche.php?action=refusFraisHF&fiche=" + fiche + "&idFrais=" + idFrais + "&state=" + etatLigne,
|
||||
method: "POST",
|
||||
}).done(function () {
|
||||
location.reload();
|
||||
})
|
||||
})
|
||||
/**
|
||||
* Supprimer fraisHf
|
||||
*/
|
||||
@@ -113,7 +128,7 @@ $(document).on('click', '.btnSuprFraisHf', function () {
|
||||
* PARTIE ENVOIE DE LA FICHE
|
||||
*/
|
||||
$(document).on('click', '#sendFileBtn', function () {
|
||||
|
||||
|
||||
//FRAIS FORFAITAIRES
|
||||
var listeFraisF = []
|
||||
$('tr.fraisForfaitaire').each(function () {
|
||||
|
Reference in New Issue
Block a user