mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Code for #3057
This commit is contained in:
		
							
								
								
									
										2
									
								
								public/v1/js/create_transaction.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/v1/js/create_transaction.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -87,7 +87,7 @@ | ||||
|                                             v-on:select:account="selectedDestinationAccount(index, $event)" | ||||
|                                             :error="transaction.errors.destination_account" | ||||
|                                     ></account-select> | ||||
|                                     <standard-date | ||||
|                                     <standard-date v-if="0===index" | ||||
|                                             v-model="transaction.date" | ||||
|                                             :index="index" | ||||
|                                             :error="transaction.errors.date" | ||||
| @@ -263,10 +263,7 @@ | ||||
|                     'debt': 'Debt', | ||||
|                     'mortgage': 'Mortgage' | ||||
|                 }; | ||||
|                 let value = arr[searchType] ?? searchType; | ||||
|  | ||||
|                 // console.log('FULL account type: ' + value); | ||||
|                 return value; | ||||
|                 return arr[searchType] ?? searchType; | ||||
|             }, | ||||
|             convertData: function () { | ||||
|                 // console.log('Now in convertData()'); | ||||
| @@ -303,6 +300,12 @@ | ||||
|                         data.transactions.push(this.convertDataRow(this.transactions[key], key, transactionType)); | ||||
|                     } | ||||
|                 } | ||||
|  | ||||
|                 // overrule group title in case its empty: | ||||
|                 if(''===data.group_title && data.transactions.length > 1) { | ||||
|                     data.group_title = data.transactions[0].description; | ||||
|                 } | ||||
|  | ||||
|                 return data; | ||||
|             }, | ||||
|             convertDataRow(row, index, transactionType) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user