Added support for displaying more than 1 of each CredType per customer
Added support for displaying more than 1 of each CredType per customer

--- a/views/Customer/view.php
+++ b/views/Customer/view.php
@@ -75,10 +75,11 @@
 <th></th><th></th><th></th></tr>
 
 <?php
-
+$x = 0;
 
 
 foreach ($customers as $customer){
+$x++;
 ob_start();
 $cname = $crypt->decrypt($customer->CredName,'CredType');
 ?>
@@ -124,7 +125,14 @@
 
 <?php
 
+if (!isset($custs[$cname])){
 $custs[$cname] = ob_get_clean();
+}else{
+$custs[$cname."-".$x] = ob_get_clean();
+
+}
+
+
 }
 ksort($custs);
 echo implode("\n",$custs);