Fix PHPCS

This commit is contained in:
Laurent Destailleur 2015-07-28 18:33:43 +02:00
parent a8d2aab291
commit fff86c0769
2 changed files with 10 additions and 9 deletions

View File

@ -271,4 +271,3 @@ print '
llxFooter();
$db->close();
?>

View File

@ -250,13 +250,15 @@ else
}
print '
<script type="text/javascript">
$(document).ready(function() {
$("#totalMargin").html("'. price($totalMargin, null, null, null, null, $rounding).'");
$("#marginRate").html("'.(($marginRate === '')?'n/a':price($marginRate, null, null, null, null, $rounding)."%").'");
$("#markRate").html("'.(($markRate === '')?'n/a':price($markRate, null, null, null, null, $rounding)."%").'");
});
</script>
';
llxFooter();
$db->close();
?>
<script type="text/javascript">
$(document).ready(function() {
$("#totalMargin").html("<?php echo price($totalMargin, null, null, null, null, $rounding); ?>");
$("#marginRate").html("<?php echo (($marginRate === '')?'n/a':price($marginRate, null, null, null, null, $rounding)."%"); ?>");
$("#markRate").html("<?php echo (($markRate === '')?'n/a':price($markRate, null, null, null, null, $rounding)."%"); ?>");
});
</script>