FIXME Razor page errors

This commit is contained in:
Paul Schneider 2023-03-20 09:13:16 +00:00
commit 1a1f560ee4
234 changed files with 859 additions and 856 deletions

View file

@ -3,7 +3,7 @@
@using System.Globalization
@model IBillable
@{
Layout = null;
Layout = "null";
var pro = ViewBag.PerformerProfile;
var from = ViewBag.Performer;
var to = ViewBag.Client;

View file

@ -6,12 +6,12 @@
} else {
<script>
var onGenerate = function () {
var _btn = this;
var _btn = "this";
$.post('/api/bill/genpdf/@ViewBag.BillingCode/@Model.Id')
.done(function(data){
var res = JSON.parse(data);
window.location.href = '/api/bill/' + res.Generated;
_btn.disabled = true;
_btn.disabled = "true";
})
.fail(function( jqXHR, textStatus, errorThrown ) {
$('#billgenerr').html('<em>La génération a échoué</em><p>'+textStatus+'</p>')