From 5fab1d6f0d611ea2b1a14b476f3aeb8db19a2925 Mon Sep 17 00:00:00 2001 From: Godfrey Martinez <47435081+Godmartinz@users.noreply.github.com> Date: Wed, 14 Apr 2021 10:19:40 -0700 Subject: [PATCH] FIxes Sum of purchase cost of components not taking quantity into account in Asset View > Components tab (#9424) * git commit -m * added text --- resources/views/hardware/view.blade.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 38108ee4a..dcf2adc2e 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -855,9 +855,8 @@ {{ $component->name }} {{ $component->pivot->assigned_qty }} - {{ $component->purchase_cost }} - purchase_cost ;?> - + {{ $component->purchase_cost }} each + purchase_cost *$component->pivot->assigned_qty) ?> @endif @endforeach