1, 'template_page' => 1, ), // lines array( 'function' => 'drawPiecemeal', 'value' => '_____________________________', 'coordinates' => array( array( 'x' => 47, 'y' => 245, 'h' => 5, 'w' => 60, 'halign' => 'L', ), array( 'x' => 147, 'y' => 245, 'h' => 5, 'w' => 60, 'halign' => 'L', ), array( 'x' => 147, 'y' => 255, 'h' => 5, 'w' => 60, 'halign' => 'C', ), ), 'font' => array( 'size' => 10, 'type' => '' ), ), array( 'function' => 'drawSegments', 'value' => array(TTi18n::gettext('Employee Signature').':', TTi18n::gettext('Supervisor Signature').':', TTi18n::gettext('(print name)')), 'coordinates' => array( array( 'x' => 7, 'y' => 245, 'h' => 5, 'w' => 40, 'halign' => 'L', ), array( 'x' => 107, 'y' => 245, 'h' => 5, 'w' => 40, 'halign' => 'R', ), array( 'x' => 140, 'y' => 260, 'h' => 5, 'w' => 60, 'halign' => 'C', ), ), 'font' => array( 'size' => 10, 'type' => '', ), ), // full name 'full_name' => array( 'function' => 'drawPiecemeal', 'coordinates' => array( array( 'x' => 20, 'y' => 28, 'h' => 5, 'w' => 100, 'halign' => 'L', ), array( 'x' => 40, 'y' => 250, 'h' => 5, 'w' => 60, 'halign' => 'C', ), ), 'font' => array( 'size' => 10, 'type' => '' ) ), // amount words and cents 'amount_words_cents' => array( 'function' => array('filterAmountWordsCents', 'drawNormal'), 'coordinates' => array( 'x' => 20, 'y' => 36, 'h' => 5, 'w' => 100, 'halign' => 'J', ), 'font' => array( 'size' => 10, 'type' => '' ) ), // date 'date' => array( 'function' => array('filterDate', 'drawNormal'), 'coordinates' => array( 'x' => 100, 'y' => 18, 'h' => 5, 'w' => 38, 'halign' => 'L', ), 'font' => array( 'size' => 10, 'type' => '' ) ), // amount padded 'amount_padded' => array( 'function' => array('filterAmountPadded', 'drawNormal'), 'coordinates' => array( 'x' => 136, 'y' => 27, 'h' => 5, 'w' => 24, 'halign' => 'L', ), 'font' => array( 'size' => 10, 'type' => '' ) ), // left column 'stub_left_column' => array( 'function' => 'drawPiecemeal', 'coordinates' => array( array( 'x' => 15, 'y' => 105, 'h' => 95, 'w' => 96, 'halign' => 'L', ), array( 'x' => 15, 'y' => 200, 'h' => 45, 'w' => 96, 'halign' => 'L', ), ), 'font' => array( 'size' => 10, 'type' => '' ), 'multicell' => TRUE, ), // right column 'stub_right_column' => array( 'function' => 'drawPiecemeal', 'coordinates' => array( array( 'x' => 111, 'y' => 105, 'h' => 95, 'w' => 96, 'halign' => 'R', ), array( 'x' => 111, 'y' => 200, 'h' => 45, 'w' => 96, 'halign' => 'R', ), ), 'font' => array( 'size' => 10, 'type' => '', ), 'multicell' => TRUE, ), ); if ( isset($template_schema[$name]) ) { return $name; } else { return $template_schema; } } } ?>