/** * Send invoice via email to customer * * @param Global $_POST * @return Array */ function sendInvoice() { $uid = $_POST['uid']; $response = WrapperHelper::sendInvoiceEmail($uid); return $response; }