SHARE
TWEET

Untitled

a guest Jan 19th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. setTransferHistory(senderId, recipientId, amountMoney, transferTitle);
  2. setWidgetStatus(senderId);
  3. setWidgetStatus(recipientId);
  4.    
  5. function setTransferHistory(
  6.     senderId,
  7.     recipientId,
  8.     amountMoney,
  9.     transferTitle,
  10.   ) {
  11.     Transaction.create({
  12.       id_sender: senderId,
  13.       id_recipient: recipientId,
  14.       date_time: getTodayDate(),
  15.       amount_money: amountMoney,
  16.       transfer_title: transferTitle,
  17.     }).then(() => {
  18.       setWidgetStatus(senderId);
  19.       setWidgetStatus(recipientId);
  20.     });
  21.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top