Contractor Payments


[insert_php] remove_filter( ‘the_content’, ‘wpautop’ ); [/insert_php]
[insert_php] remove_filter( ‘the_excerpt’, ‘wpautop’ ); [/insert_php]
[insert_php] remove_filter(‘the_content’, ‘wptexturize’); [/insert_php]
[insert_php] include_once(ABSPATH. ‘/wp-content/custom-php/templates/header.php’); [/insert_php]
[insert_php]
if(!$_SESSION[‘login_user’])
{ /*header(“Location: /log-in/”, true);*/ echo ““; }

// header(‘Cache-Control: no-cache’);
// header(‘Pragma: no-cache’);
[/insert_php]





[insert_php] echo createHeader( “Invoice In” ); [/insert_php]





[insert_php]
if(!function_exists(getConn) )
{ include_once(ABSPATH . ‘wp-content/custom-php/AJAX-UtilityFunctions.php’); }

$connection = getConn();
$result = hgQuery( “SELECT jobs.Name, jobs.JobNumber, jobs.rateTable, rateTables.tableName FROM jobs LEFT JOIN rateTables on jobs.rateTable=rateTables.tableId”, $connection );
if( $result !== false )
{
$list_one = “”;
$list_two = “”;
while( $row = mysqli_fetch_row( $result ) )
{
$list_one .= ““;
$list_two .= ““;
}
echo “$list_two$list_one“;
}
else { echo ““; }

[/insert_php]






Notes






QTY Job Item Unit Price Net GST Purchase Order
To Contractor




Gross Amount
Tax Amount
Net Amount