diff --git a/app/Export/CSV/PurchaseOrderItemExport.php b/app/Export/CSV/PurchaseOrderItemExport.php index 876e5674f1..97770fcee8 100644 --- a/app/Export/CSV/PurchaseOrderItemExport.php +++ b/app/Export/CSV/PurchaseOrderItemExport.php @@ -175,7 +175,7 @@ class PurchaseOrderItemExport extends BaseExport $entity = $this->decorateAdvancedFields($purchase_order, $transformed_items); $entity = array_merge(array_flip(array_values($this->input['report_keys'])), $entity); - $this->storage_array[] = $entity; + $this->storage_array[] = $this->convertFloats($entity); } } @@ -202,7 +202,7 @@ class PurchaseOrderItemExport extends BaseExport } $entity = $this->decorateAdvancedFields($purchase_order, $entity); - $entity = $this->convertFloats($entity); + // $entity = $this->convertFloats($entity); return $entity; } diff --git a/app/Export/CSV/QuoteItemExport.php b/app/Export/CSV/QuoteItemExport.php index 1bdd550d45..3926f82975 100644 --- a/app/Export/CSV/QuoteItemExport.php +++ b/app/Export/CSV/QuoteItemExport.php @@ -207,14 +207,12 @@ class QuoteItemExport extends BaseExport } elseif (array_key_exists($key, $transformed_quote)) { $entity[$key] = $transformed_quote[$key]; } else { - // nlog($key); $entity[$key] = $this->decorator->transform($key, $quote); - // $entity[$key] = $this->resolveKey($key, $quote, $this->quote_transformer); } } $entity = $this->decorateAdvancedFields($quote, $entity); - return $this->convertFloats($entity); + return $entity; } private function decorateAdvancedFields(Quote $quote, array $entity): array diff --git a/phpunit.xml b/phpunit.xml index 0304852db3..cf13635cf5 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -33,7 +33,7 @@ - +