This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//$user = User information from app | |
//$account = Account information from app | |
//$payment = Payment information from app | |
$customerInfo = array( | |
'CustomerName' => $user->first_name.' '.$user->last_name, | |
'Email' => $user->email, | |
'Company' => $account->company, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//$user = User information from app | |
//$account = Account information from app | |
$customerInfo = array( | |
'FirstName' => $user->first_name, | |
'LastName' => $user->last_name, | |
'Email' => $user->email, | |
'Company' => $account->company, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('knack-scene-render.scene_3', function(event, scene) { | |
$('#view_4 .view-header').after('<div style="padding:15px"><a href="#" id="webmerge" class="kn-button">Send to WebMerge</a></div>'); | |
// link hander: send to webmerge | |
$('#webmerge').click(function(event) { | |
event.preventDefault(); | |
// get data | |
var data = Knack.models['view_4'].toJSON(); |