shopp_order_amt_invoiced()

get the current amount invoiced on order

shopp_order_amt_invoiced ( $id, $by )

@param int $id the order id or txn id
@param string $by (optional default:id) lookup by 'id', or 'trans'
@return float|bool float amount invoiced on the order, bool false if order does not exist

Description

get the current amount invoiced on order

Examples

get the current invoiced amount on order by id

// get invoiced amount for order 101
$invoiced = shopp_order_amt_invoiced( 101 );

get the current invoiced amount by transaction id

// get invoiced amount for order with transaction id 2L2ANDF51GKGHSENE
$invoiced = shopp_order_amt_invoiced( '2L2ANDF51GKGHSENE', 'trans' );

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar