Fix copyOrder (#788)
* Fix copyOrder * create order with the same customer Co-authored-by: elsiosanchez <elsiosanche@gmail.com>pull/3759/head
							parent
							
								
									975e75a09a
								
							
						
					
					
						commit
						f16e2c9afa
					
				|  | @ -180,7 +180,7 @@ export default { | |||
|           this.$store.dispatch('processPos', { | ||||
|             action: action, // process metadata | ||||
|             parentUuid: this.parentUuid, | ||||
|             idProcess: this.$store.getters.posAttributes.currentOrder.id, | ||||
|             idProcess: this.$store.getters.posAttributes.currentPointOfSales.currentOrder.id, | ||||
|             containerUuid: this.containerUuid, | ||||
|             panelType: this.panelType, // determinate if get table name and record id (window) or selection (browser) | ||||
|             parametersList: this.$store.getters.getPosParameters | ||||
|  |  | |||
|  | @ -474,7 +474,7 @@ export default { | |||
|       this.$store.dispatch('addParametersProcessPos', parametersList) | ||||
|       requestCreateOrder({ | ||||
|         posUuid, | ||||
|         customerUuid: this.currentPointOfSales.businessPartner.uuid, | ||||
|         customerUuid: this.currentOrder.businessPartner.uuid, | ||||
|         salesRepresentativeUuid: this.currentPointOfSales.salesRepresentative.uuid | ||||
|       }) | ||||
|         .then(order => { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Elsio Sanchez
						Elsio Sanchez