New to site?


Login

Lost password? (close)

Already have an account?


Signup

(close)

// Add this to your theme's functions.php or a custom plugin function payslip_form_shortcode() { ob_start(); ?>





Payslip for {$employee_name}"; echo "

ID Number: {$employee_id}

"; echo "

Basic Salary: R {$basic_salary}

"; echo "

Allowances: R {$allowances}

"; echo "

Deductions: R {$deductions}

"; echo "

Net Pay: R {$net_pay}

"; } return ob_get_clean(); } add_shortcode('payslip_form', 'payslip_form_shortcode');