Sammy30
10/6/2019 - 7:51 PM

funding_goal

<!--
ethis.co.id / httpdocs / wp-content / plugins / wp-crowdfunding / wpneotemplate / woocommerce / ethis / include / loop / funding_goal.php
-->


<li><span class="info-text"><?php _e('Gross Projected Returns', 'wp-crowdfunding') ?>
			<!-- based on <?php the_field('shariah_contract'); ?>--></span>
        <p class="funding-amount"><?php the_field('returns_pa'); ?>%</p>
        </li>
        <li><span class="info-text"><?php _e('Duration', 'wp-crowdfunding') ?></span>
        <p class="funding-amount"><?php the_field('tenure_ca'); ?></p>
        </li>


<div class="wpneo-funding-goal">
	    <div class="wpneo-meta-name"><?php _e('Target', 'wp-crowdfunding'); ?></div>
   		<div class="wpneo-meta-desc"><?php echo wc_price( $funding_goal ); ?></div>
	</div>



Time remaining :

<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly
}
$wpneo_campaign_end_method = get_post_meta(get_the_ID(), 'wpneo_campaign_end_method', true);

if ($wpneo_campaign_end_method == 'target_date' || $wpneo_campaign_end_method == 'target_goal_and_date'){ ?>
	<div class="wpneo-single-sidebar">
	    <h3><?php echo WPNEOCF()->dateRemaining(); ?></h3>
	    <p><?php _e('Days to Go','wp-crowdfunding'); ?></p>
	</div>
<?php } ?>