Fix invoice email notification

This commit is contained in:
jekkos authored and GitHub committed 2020-10-22 18:59:34 +02:00
1 parent 3471c0f947
commit c0ac4b3400
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ $(document).ready(function()
$.get('<?php echo site_url() . "sales/send_pdf/" . $sale_id_num; ?>',
function(response)
{
$.notify(response.message, { type: response.success ? 'success' : 'danger'} );
$.notify({ message: response.message }, { type: response.success ? 'success' : 'danger'});
}, 'json'
);
};