예제 #1
0
 /**
  * Echo the estimate notes
  * @param  integer $id
  * @return string
  */
 function si_estimate_notes($id = 0)
 {
     if (!$id) {
         $id = get_the_ID();
     }
     echo apply_filters('si_estimate_notes', si_get_estimate_notes($id), $id);
 }
예제 #2
0
										<?php 
sa_formatted_money(si_get_estimate_total());
?>
									</div>
								</div>
							</footer>
						</div><!-- #doc_line_items -->

					</section>

					<section id="doc_notes">
						<?php 
do_action('si_document_notes_pre');
?>
						<?php 
if (strlen(si_get_estimate_notes()) > 1) {
    ?>

						<?php 
    do_action('si_document_notes');
    ?>
						<div id="doc_notes">
							<h2><?php 
    si_e('Notes');
    ?>
</h2>
							<?php 
    si_estimate_notes();
    ?>
						</div><!-- #doc_notes -->
						
예제 #3
0
 /**
  * Echo the estimate notes
  * @param  integer $id 
  * @return string      
  */
 function si_estimate_notes($id = 0)
 {
     if (!$id) {
         global $post;
         $id = $post->ID;
     }
     echo apply_filters('si_estimate_notes', si_get_estimate_notes($id), $id);
 }