Proposals currency defaulting to USD throughout the site
Hello,
For some reason all proposals and average proposals are displayed in the default USD currency, and not the currency used by the employer and freelancer. For example, the users agree on a price in EUR, AUD, etc. yet the proposals are displayed in USD. I have not edited the any code. This is directly from HireBee 1.4.7. Can the development team fix this?
I think I may have found the issue, this is the piece of code I have found in
wp-content/themes/hirebee 1.4.7/includes/payments/utils/numbers.php on line 33 to 44:
/**
* Displays a formatted price. See appthemes_get_price
*
* @param int $price The numerical value to format
* @param string $override_currency The currency the value is in (
defaults to 'default_currency')
* @return string The formatted price
*/
function
appthemes_display_price( $price, $override_currency = '', $override_format = '' ){
echo appthemes_get_price( $price, $override_currency, $override_format );
}
This function is then used in
wp-content/themes/hirebee 1.4.7/dashboard-projects-section-projects.php on line 98 and in other files:
<span data-tooltip title="<?php esc_attr_e( 'Avg Proposals', APP_TD ); ?>" class="project-avg-bid"><i class="icon i-avg-proposals-alt"></i><?php echo
appthemes_display_price( appthemes_get_post_avg_bid( get_the_ID() ) ); ?></span>
Thank you for your time!