mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-01 20:17:35 -04:00 
			
		
		
		
	approve quote with one click, instead of pushing to another page
This commit is contained in:
		
							parent
							
								
									6872057207
								
							
						
					
					
						commit
						5ba725d5e4
					
				| @ -4142,6 +4142,7 @@ $LANG = array( | ||||
|      'recurring_cancellation_request_body' => ':contact from Client :client requested to cancel Recurring Invoice :invoice', | ||||
|      'hello' => 'Hello', | ||||
|      'group_documents' => 'Group documents', | ||||
|      'quote_approval_confirmation_label' => 'Are you sure you want to approve this quote?', | ||||
| ); | ||||
| 
 | ||||
| return $LANG; | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| <form action="{{ route('client.quotes.bulk') }}" method="post"> | ||||
| <form action="{{ route('client.quotes.bulk') }}" method="post" onsubmit="return confirm('{{ ctrans('texts.quote_approval_confirmation_label') }}')"> | ||||
|     @csrf | ||||
|     <input type="hidden" name="action" value="approve"> | ||||
|     <input type="hidden" name="process" value="true"> | ||||
|     <input type="hidden" name="quotes[]" value="{{ $quote->hashed_id }}"> | ||||
| 
 | ||||
|     <div class="bg-white shadow sm:rounded-lg"> | ||||
| @ -11,7 +12,7 @@ | ||||
|                         {{ ctrans('texts.waiting_for_approval') }} | ||||
|                     </h3> | ||||
|                     <div class="mt-2 max-w-xl text-sm leading-5 text-gray-500"> | ||||
|                         <p translate> | ||||
|                         <p> | ||||
|                             {{ ctrans('texts.quote_still_not_approved') }} | ||||
|                         </p> | ||||
|                     </div> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user