Navigation Menu

Skip to content

Commit

Permalink
Update client.php (#306)
Browse files Browse the repository at this point in the history
* Update client.php

* Update owa_env.php

* Update owa_entity.php

* Update configuration.php

* corrected currency view between unit price and qty
  • Loading branch information
SkipperHosting authored and padams committed Feb 5, 2018
1 parent 2228f4e commit 1b877c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/base/classes/client.php
Expand Up @@ -392,7 +392,7 @@ public function setAllGlobalEventProperties( $event ) {

// add custom variables to global properties if not there already
for ( $i=1; $i <= owa_coreAPI::getSetting('base', 'maxCustomVars'); $i++ ) {
$cv_param_name = 'cv' + $i;
$cv_param_name = 'cv' . $i;
$cv_value = '';

// if the custom var is not already a global property
Expand Down Expand Up @@ -918,4 +918,4 @@ public function addOrganicSearchEngine( $domain, $query_param, $prepend = '' ) {
}
}

?>
?>
4 changes: 2 additions & 2 deletions modules/base/templates/report_transaction_detail.php
Expand Up @@ -72,8 +72,8 @@
<tr>
<td><?php $this->out( $li['product_name'] ); ?> (<?php $this->out( $li['category'] ); ?>)</td>
<td><?php $this->out( $li['sku'] ); ?></td>
<td><?php $this->out( $li['unit_price'] ); ?></td>
<td><?php $this->out( $this->formatCurrency( $li['quantity'] ) ); ?></td>
<td><?php $this->out( $this->formatCurrency( $li['unit_price'] ) ); ?></td>
<td><?php $this->out( $li['quantity'] ); ?></td>
<td><?php $this->out( $this->formatCurrency( $li['item_revenue'] ) ); ?></td>
</tr>
<?php endforeach; ?>
Expand Down

0 comments on commit 1b877c0

Please sign in to comment.