mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Adds button for creating a new lien item
This commit is contained in:
		| @@ -16,7 +16,13 @@ | |||||||
|         <div class='d-flex flex-wrap'> |         <div class='d-flex flex-wrap'> | ||||||
|             <h4>{% trans "Line Items" %}</h4> |             <h4>{% trans "Line Items" %}</h4> | ||||||
|             {% include "spacer.html" %} |             {% include "spacer.html" %} | ||||||
|             <!-- TODO: Actions --> |             <div class='btn-group' role='group'> | ||||||
|  |                 {% if roles.return_order.add %} | ||||||
|  |                 <button type='button' class='btn btn-success' id='new-so-line'> | ||||||
|  |                     <span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %} | ||||||
|  |                 </button> | ||||||
|  |                 {% endif %} | ||||||
|  |             </div> | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
|     <div class='panel-content'> |     <div class='panel-content'> | ||||||
| @@ -33,7 +39,7 @@ | |||||||
|             <h4>{% trans "Extra Lines" %}</h4> |             <h4>{% trans "Extra Lines" %}</h4> | ||||||
|             {% include "spacer.html" %} |             {% include "spacer.html" %} | ||||||
|             <div class='btn-group' role='group'> |             <div class='btn-group' role='group'> | ||||||
|                 {% if roles.return_order.change %} |                 {% if roles.return_order.add %} | ||||||
|                 <button type='button' class='btn btn-success' id='new-return-order-extra-line'> |                 <button type='button' class='btn btn-success' id='new-return-order-extra-line'> | ||||||
|                     <span class='fas fa-plus-circle'></span> {% trans "Add Extra Line" %} |                     <span class='fas fa-plus-circle'></span> {% trans "Add Extra Line" %} | ||||||
|                 </button> |                 </button> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user