"Firt release"
This commit is contained in:
@@ -59,3 +59,15 @@ function save_turn() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function update_sheet(turn, slot) {
|
||||
document.location = '/staffsheet/update/'+turn+'/'+slot;
|
||||
return true;
|
||||
}
|
||||
|
||||
function clear_sheet(turn, slot) {
|
||||
if (confirm("Voulez-vous vraiment libérer ce créneau ? \n\n Confirmer ?")) {
|
||||
document.location = '/staffsheet/clear/'+turn+'/'+slot;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -247,3 +247,10 @@ function upload_file_from_ajax(obj, url, err_code) {
|
||||
}
|
||||
xhttp.send(formData);
|
||||
}
|
||||
|
||||
/* **************************************************************************************
|
||||
* Printing
|
||||
* **************************************************************************************/
|
||||
function print_page() {
|
||||
document.location = '/staffsheet/pdf';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user