Skip to content

Instantly share code, notes, and snippets.

Invoice = Map();
Line = List();
CustomerRef = Map();
CurrencyRef = Map();
BillEmail = Map();
SalesTermRef = Map();
CustomerMemo = Map();
lineCount = 0;
serviceList = List();
for each rec in input.inv_sf
<?php /* Template Name: ClientPortal */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Compassion Funeral Service Payment Portal</title>
<style>
html body {
function add_client_pay_portal() {
?>
<script type="text/javascript" src="https://nuvei.paycenter.app/client_portal.js"></script>
<script type="text/javascript">
window.clientPortal.init('62GHN');
</script>
<?php
}
add_action( 'wp_footer', 'add_client_pay_portal' );
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title></title><style type="text/css" emogrify="no">#outlook a { padding:0; } .ExternalClass { width:100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important; mso-hide:all !important; mso-line-height-rule: exactly; visibility: hidden !important; line-height
@bryanwillis
bryanwillis / studio-t-measure-formula-history.php
Created March 2, 2024 16:44
Code to add measurement and formula history
<?php
/** Studio T Formula History and Measurement History **/
function bw_custom_user_profile_fields( $user ) {
echo '<h3 class="heading">Salon Customer Data</h3>';
?>
<table class="form-table">
<tr>
<th><label for="_sln_bformula">Formula History</label></th>
<td>
@bryanwillis
bryanwillis / great-lakes-golf-shootout.markdown
Created November 1, 2023 23:34
Great Lakes Golf Shootout
<?php
// This will need to use code/variables from here...
// https://gist.github.com/bryanwillis/5c1c4f5ce5a4294ea35c689e3c975a78#file-results-php-L230-L274
// Map Marker positioned above numbers
$result .= '<div class="steps-container">';
// Line with numbers
$result .= '<img src="https://assessment.globalcoachcenter.com/you.png" class="mapmark ' . $total_0 . $total_1 . $total_2 . $total_3 . $total_4 . $total_5 . '"><div class="line"></div>';
@bryanwillis
bryanwillis / cornell-and-associates-payments.markdown
Created March 7, 2023 15:02
Cornell and Associates - Payments
function fillFormEmail(){
const input = document.getElementById('team_name-866'); // replace 'id' with id of email field
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString); //parse the query string
const teamname = urlParams.get('team'); // Store the parsed email address in variable
input.value = teamname; // fill the form with the email address
}
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html class="wp-toolbar"
lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Edit Page &lsaquo; Candid Solutions &#8212; WordPress</title>
<script type="text/javascript">
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
var ajaxurl = '/wp-admin/admin-ajax.php',