Neaten "void invoices" button
Only want to show this once - not once per invoice. It's not something most people will need to use so it doesn't need to be a button. Restyle it to be a link
This commit is contained in:
		
							parent
							
								
									18047f7549
								
							
						
					
					
						commit
						bd1031e2cd
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -124,8 +124,8 @@ | ||||||
|                               {% endif %} |                               {% endif %} | ||||||
|                                 <a href="{% url "invoice" invoice.id %}" >Invoice {{ invoice.id }}</a> |                                 <a href="{% url "invoice" invoice.id %}" >Invoice {{ invoice.id }}</a> | ||||||
|                                 - ${{ invoice.value }} ({{ invoice.get_status_display }}) |                                 - ${{ invoice.value }} ({{ invoice.get_status_display }}) | ||||||
|                                 <button class="btn btn-lg btn-default" type="button" id="toggle-void-invoices" href="" onclick="toggleVoidInvoices();">Show void invoices</button> |                                 </li> | ||||||
|                               </li> |                                 <a id="toggle-void-invoices" href="" onclick="toggleVoidInvoices();">Show void invoices</a> | ||||||
|                             {% endfor %} |                             {% endfor %} | ||||||
|                           </ul> |                           </ul> | ||||||
|                         </div> |                         </div> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley