Change order link from invoice form to avoid access problems
This commit is contained in:
parent
4f80fd0e8c
commit
b22677eced
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
- if @invoice.delivery
|
- if @invoice.delivery
|
||||||
%p= t('finance.invoices.linked', what_link: link_to(t('finance.invoices.linked_delivery'), [@invoice.supplier,@invoice.delivery])).html_safe
|
%p= t('finance.invoices.linked', what_link: link_to(t('finance.invoices.linked_delivery'), [@invoice.supplier,@invoice.delivery])).html_safe
|
||||||
- if @invoice.order
|
- if @invoice.order
|
||||||
%p= t('finance.invoices.linked', what_link: link_to(t('finance.invoices.linked_order'), @invoice.order)).html_safe
|
%p= t('finance.invoices.linked', what_link: link_to(t('finance.invoices.linked_order'), new_finance_order_path(order_id: @invoice.order.id))).html_safe
|
||||||
|
|
||||||
= f.association :supplier, hint: false
|
= f.association :supplier, hint: false
|
||||||
= f.input :number
|
= f.input :number
|
||||||
|
|
Loading…
Reference in a new issue