Skip to content
Snippets Groups Projects
Commit d7384f98 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#503 - only show button for transactions

parent b62c1553
Branches
Tags
No related merge requests found
......@@ -82,7 +82,7 @@
<@iconSelectMacros.iconSelect id="template-icon" item=template/>
<#-- buttons -->
<@newTransactionMacros.buttons "/templates"/>
<@newTransactionMacros.buttons cancelURL="/templates" includeContinueButton=false/>
</form>
</div>
</@header.content>
......
......@@ -303,7 +303,7 @@
</div>
</#macro>
<#macro buttons cancelURL>
<#macro buttons cancelURL includeContinueButton>
<br>
<hr>
<br>
......@@ -311,7 +311,9 @@
<div class="row hide-on-small-only">
<div class="col s12 center-align">
<@buttonCancel cancelURL/>&nbsp;
<#if includeContinueButton>
<@buttonSaveAndContinue/>&nbsp;
</#if>
<@buttonSave/>
</div>
</div>
......@@ -322,11 +324,13 @@
<@buttonCancel cancelURL/>
</div>
</div>
<#if includeContinueButton>
<div class="row center-align">
<div class="col s12">
<@buttonSaveAndContinue/>
</div>
</div>
</#if>
<div class="row center-align">
<div class="col s12">
<@buttonSave/>
......
......@@ -76,7 +76,7 @@
<@newTransactionMacros.transactionRepeating transaction currentDate/>
<#-- buttons -->
<@newTransactionMacros.buttons '/transactions'/>
<@newTransactionMacros.buttons cancelURL='/transactions' includeContinueButton=true/>
<@newTransactionMacros.buttonTransactionActions isEdit true changeTypeInProgress/>
</form>
......
......@@ -82,7 +82,7 @@
<@newTransactionMacros.transactionRepeating transaction currentDate/>
<#-- buttons -->
<@newTransactionMacros.buttons '/transactions'/>
<@newTransactionMacros.buttons cancelURL='/transactions' includeContinueButton=true/>
<@newTransactionMacros.buttonTransactionActions isEdit true changeTypeInProgress/>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment