Beispiel #1
0
</dd>
								</dl>
							<?php 
}
?>

							<?php 
if (si_get_invoice_due_date()) {
    ?>
								<dl class="date">
									<dt><span class="dt_heading"><?php 
    _e('Invoice Due', 'sprout-invoices');
    ?>
</span></dt>
									<dd><?php 
    si_invoice_due_date();
    ?>
</dd>
								</dl>
							<?php 
}
?>

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

							<?php 
if (si_has_invoice_deposit()) {
    ?>
								<dl class="doc_total_with_deposit">
                ?>
</small>
								<?php 
            } elseif (si_get_invoice_balance($invoice_id)) {
                ?>
  	<!-- Invoice has a balance -->
									<span class="badge balance_badge"><?php 
                si_invoice_balance($invoice_id);
                ?>
</span>
									<br/>
									<?php 
                if (si_get_invoice_due_date($invoice_id)) {
                    ?>
										<small><time datetime="<?php 
                    si_invoice_due_date($invoice_id);
                    ?>
"><?php 
                    printf(__('<b>Due:</b> %s', 'sprout-invoices'), date_i18n(apply_filters('si_client_dash_date_format', 'M. jS'), si_get_invoice_due_date($invoice_id)));
                    ?>
</time></small>
									<?php 
                }
                ?>
								<?php 
            } else {
                ?>
 <!-- Invoice is paid -->
									<span class="badge"><?php 
                si_invoice_payments_total($invoice_id);
                ?>