mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	fix payment issue & build version 300
This commit is contained in:
		| @ -363,7 +363,7 @@ export default { | ||||
|         let data = { | ||||
|           editData: { | ||||
|             ...this.formData, | ||||
|             payment_method_id: this.formData.payment_method.id, | ||||
|             payment_method_id: this.formData.payment_method ? this.formData.payment_method.id : null, | ||||
|             payment_date: moment(this.formData.payment_date).format('DD/MM/YYYY') | ||||
|           }, | ||||
|           id: this.$route.params.id | ||||
|  | ||||
| @ -503,7 +503,7 @@ | ||||
|                     </tr> | ||||
|                     <tr> | ||||
|                         <td class="textStyle1" style="text-align: left; color: #55547A">Payment Mode</td> | ||||
|                         <td class="textStyle2">  {{$payment->paymentMethod->name}}</td> | ||||
|                         <td class="textStyle2">  {{$payment->paymentMethod ? $payment->paymentMethod->name : '-'}}</td> | ||||
|                     </tr> | ||||
|                     @if ($payment->invoice && $payment->invoice->invoice_number) | ||||
|                         <tr> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user