Merge branch 'master' into translation_de

This commit is contained in:
Andreas Kaiser 2021-03-06 13:50:39 +01:00
commit ae3a0133eb
2 changed files with 3 additions and 2 deletions

View File

@ -44,8 +44,9 @@
id='new_po_{{ supplier.id }}'
title='Create new purchase order for {{ supplier.name }}'
type='button'
supplierid='{{ supplier.id }}'
onclick='newPurchaseOrderFromOrderWizard()'>
<span supplier-id='{{ supplier.id }}' class='fas fa-plus-circle'></span>
<span supplierid='{{ supplier.id }}' class='fas fa-plus-circle'></span>
</button>
</td>
<td>

View File

@ -59,7 +59,7 @@ function newPurchaseOrderFromOrderWizard(e) {
var src = e.target || e.srcElement;
var supplier = $(src).attr('supplier-id');
var supplier = $(src).attr('supplierid');
launchModalForm("/order/purchase-order/new/", {
modal: '#modal-form-secondary',