Skip to content

Commit

Permalink
Fix for IP-284
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed May 18, 2015
1 parent c8e0379 commit 5ec37f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion application/modules/invoices/views/modal_create_invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
<?php
$i=0;
foreach ($clients as $client){
echo "{id: ".$i.", text: '".str_replace("","",$client->client_name)."'}";
echo "{
id: '".str_replace("","",$client->client_name)."',
text: '".str_replace("","",$client->client_name)."'
}";
if (($i+1) != count($clients)) echo ',';
$i++;
}
Expand Down
5 changes: 4 additions & 1 deletion application/modules/quotes/views/modal_create_quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
<?php
$i=0;
foreach ($clients as $client){
echo "{id: ".$i.", text: '".str_replace("","",$client->client_name)."'}";
echo "{
id: '".str_replace("","",$client->client_name)."',
text: '".str_replace("","",$client->client_name)."'
}";
if (($i+1) != count($clients)) echo ',';
$i++;
}
Expand Down

0 comments on commit 5ec37f6

Please sign in to comment.