Пример #1
0
</dd>
								</dl>
							<?php 
}
?>

							<?php 
if (si_get_estimate_expiration_date()) {
    ?>
								<dl class="date">
									<dt><span class="dt_heading"><?php 
    si_e('Expiration Date');
    ?>
</span></dt>
									<dd><?php 
    si_estimate_expiration_date();
    ?>
</dd>
								</dl>
							<?php 
}
?>

							<?php 
do_action('si_document_details_totals');
?>

							<dl class="doc_total">
								<dt><span class="dt_heading"><?php 
si_e('Estimate Total');
?>
            if (si_get_estimate_status($estimate_id) == 'pending') {
                ?>
							<td>
								<a href="<?php 
                echo esc_url(add_query_arg(array('dashboard' => 'pay'), get_permalink($estimate_id)));
                ?>
" class="est_action_link"><span class="button label"><?php 
                _e('Accept/Decline', 'sprout-invoices');
                ?>
</span></a>
								<br/>
								<?php 
                if (si_get_estimate_expiration_date($estimate_id)) {
                    ?>
									<small><time datetime="<?php 
                    si_estimate_expiration_date($estimate_id);
                    ?>
"><?php 
                    printf(__('<b>Expiration:</b> %s', 'sprout-invoices'), date_i18n(apply_filters('si_client_dash_date_format', 'M. jS'), si_get_estimate_expiration_date($estimate_id)));
                    ?>
</time></small>
								<?php 
                }
                ?>
							</td>
						<?php 
            } else {
                ?>
  <!-- Estimate is in review -->
							<td>
								<small><?php