Ejemplo n.º 1
0
 /**
  * Echo the estimate po_number
  * @param  integer $id
  * @return string
  */
 function si_estimate_po_number($id = 0)
 {
     if (!$id) {
         $id = get_the_ID();
     }
     echo apply_filters('si_estimate_po_number', si_get_estimate_po_number($id), $id);
 }
Ejemplo n.º 2
0
								<dl class="estimate_number">
									<dt><span class="dt_heading"><?php 
    si_e('Estimate Number');
    ?>
</span></dt>
									<dd><?php 
    si_estimate_id();
    ?>
</dd>
								</dl>
							<?php 
}
?>

							<?php 
if (si_get_estimate_po_number()) {
    ?>
								<dl class="estimate_po_number">
									<dt><span class="dt_heading"><?php 
    si_e('PO Number');
    ?>
</span></dt>
									<dd><?php 
    si_estimate_po_number();
    ?>
</dd>
								</dl>
							<?php 
}
?>
Ejemplo n.º 3
0
 /**
  * Echo the estimate po_number
  * @param  integer $id 
  * @return string      
  */
 function si_estimate_po_number($id = 0)
 {
     if (!$id) {
         global $post;
         $id = $post->ID;
     }
     echo apply_filters('si_estimate_po_number', si_get_estimate_po_number($id), $id);
 }