diff --git a/templates/job-order/form.html.twig b/templates/job-order/form.html.twig index edbd97a0..afebb564 100644 --- a/templates/job-order/form.html.twig +++ b/templates/job-order/form.html.twig @@ -1266,6 +1266,9 @@ $(function() { $('#map_lat').val(lat); $('#map_lng').val(lng); + // regenerate invoice + generateInvoice(); + } osm_map.on('click', function(e) {