mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
remove edit wallet reference from facture
This commit is contained in:
parent
0f7238bbba
commit
fc9aeb00a2
@ -210,7 +210,7 @@
|
|||||||
<li ng-click="invoice.reference.help = 'addDay.html'">{{ 'day' | translate }}</li>
|
<li ng-click="invoice.reference.help = 'addDay.html'">{{ 'day' | translate }}</li>
|
||||||
<li ng-click="invoice.reference.help = 'addInvoiceNumber.html'">{{ '#_of_invoice' | translate }}</li>
|
<li ng-click="invoice.reference.help = 'addInvoiceNumber.html'">{{ '#_of_invoice' | translate }}</li>
|
||||||
<li ng-click="invoice.reference.help = 'addOnlineInfo.html'">{{ 'online_sales' | translate }}</li>
|
<li ng-click="invoice.reference.help = 'addOnlineInfo.html'">{{ 'online_sales' | translate }}</li>
|
||||||
<li ng-click="invoice.reference.help = 'addWalletInfo.html'">{{ 'wallet' | translate }}</li>
|
<%# <li ng-click="invoice.reference.help = 'addWalletInfo.html'">{{ 'wallet' | translate }}</li> %>
|
||||||
<li ng-click="invoice.reference.help = 'addRefundInfo.html'">{{ 'refund' | translate }}</li>
|
<li ng-click="invoice.reference.help = 'addRefundInfo.html'">{{ 'refund' | translate }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,7 +69,7 @@ class Invoice < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
# information about wallet (W[text])
|
# information about wallet (W[text])
|
||||||
reference.gsub!(/W\[([^\]]+)\]/, ''.to_s)
|
#reference.gsub!(/W\[([^\]]+)\]/, ''.to_s)
|
||||||
|
|
||||||
# remove information about refunds (R[text])
|
# remove information about refunds (R[text])
|
||||||
reference.gsub!(/R\[([^\]]+)\]/, ''.to_s)
|
reference.gsub!(/R\[([^\]]+)\]/, ''.to_s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user