Skip to content

Instantly share code, notes, and snippets.

View zoonooz's full-sized avatar
🏠
Home sweet home

Amornchai Kanokpullwad zoonooz

🏠
Home sweet home
View GitHub Profile
@zoonooz
zoonooz / Line sticker sale
Created August 1, 2014 02:58
script to show the sum of revenue in the month. Pass it in console at sell report page
var sum = 0;
$('.mdCMN18Total').each(function(element){
var str = $(this).html();
var money = str.split(" ")[1];
sum += parseInt(money);
});
console.log(sum)