mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	Fix an issue with due date + expiry date not setting correctly & mark as sent button issue
This commit is contained in:
		
				
					committed by
					
						 Mohit Panjwani
						Mohit Panjwani
					
				
			
			
				
	
			
			
			
						parent
						
							4a85a5d2ab
						
					
				
				
					commit
					848970fc08
				
			| @ -101,6 +101,7 @@ async function onMarkAsSent() { | ||||
|         invoiceData.value.status = 'SENT' | ||||
|         isMarkAsSent.value = true | ||||
|       } | ||||
|       isMarkAsSent.value = false | ||||
|     }) | ||||
| } | ||||
|  | ||||
|  | ||||
| @ -186,9 +186,6 @@ const rules = { | ||||
|   invoice_date: { | ||||
|     required: helpers.withMessage(t('validation.required'), required), | ||||
|   }, | ||||
|   due_date: { | ||||
|     required: helpers.withMessage(t('validation.required'), required), | ||||
|   }, | ||||
|   reference_number: { | ||||
|     maxLength: helpers.withMessage( | ||||
|       t('validation.price_maxlength'), | ||||
|  | ||||
| @ -26,8 +26,6 @@ | ||||
|       <BaseInputGroup | ||||
|         :label="$t('invoices.due_date')" | ||||
|         :content-loading="isLoading" | ||||
|         required | ||||
|         :error="v.due_date.$error && v.due_date.$errors[0].$message" | ||||
|       > | ||||
|         <BaseDatePicker | ||||
|           v-model="invoiceStore.newInvoice.due_date" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user