Skip to content

Commit 297a0bd

Browse files
cconard96trasher
authored andcommitted
fix contract_supplier forms
1 parent f9092f1 commit 297a0bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Contract_Supplier.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static function showForSupplier(Supplier $supplier)
148148
nochecklimit: true
149149
}) }}
150150
{% set btn %}
151-
<button type="submit" class="btn btn-primary">{{ btn_label }}</button>
151+
<button type="submit" name='add' class="btn btn-primary">{{ btn_label }}</button>
152152
{% endset %}
153153
{{ fields.htmlField('', btn, null) }}
154154
</div>
@@ -271,7 +271,7 @@ public static function showForContract(Contract $contract)
271271
entity_sons: contract.fields['is_recursive']
272272
}) }}
273273
{% set btn %}
274-
<button type="submit" class="btn btn-primary">{{ btn_label }}</button>
274+
<button type="submit" name='add' class="btn btn-primary">{{ btn_label }}</button>
275275
{% endset %}
276276
{{ fields.htmlField('', btn, null) }}
277277
</div>

0 commit comments

Comments
 (0)