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
const restify = require('restify'); | |
const events = require('events'); | |
const server = restify.createServer(); | |
const eventEmitter = new events.EventEmitter(); | |
const fs = require('fs'); | |
const path = require('path'); | |
const corsMiddleware = require('restify-cors-middleware'); | |
const nfcCard = require('./lib/nfccard-tool'); | |
const { NFC, TAG_ISO_14443_3, TAG_ISO_14443_4, KEY_TYPE_A, KEY_TYPE_B } = require('nfc-pcsc'); |
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
[2020-06-26 09:25:33] lumen.INFO: Customer: NDwR7sVhH4JTFaR9CNI37svDY5RL9T - Transaction: Normal Points Entry - Accumulated Points: 2.35 - Write Points: 66.14 - Write Amount: 0 | |
[2020-06-26 09:26:00] lumen.INFO: Customer: NDwR7sVhH4JTFaR9CNI37svDY5RL9T - Transaction: Normal Points Entry - Accumulated Points: 2.35 - Write Points: 68.49 - Write Amount: 0 | |
[2020-06-26 09:26:21] lumen.INFO: Customer: NDwR7sVhH4JTFaR9CNI37svDY5RL9T - Transaction: Normal Points Entry - Accumulated Points: 0.47 - Write Points: 68.96 - Write Amount: 0 | |
[2020-06-26 09:26:50] lumen.INFO: Customer: NDwR7sVhH4JTFaR9CNI37svDY5RL9T - Transaction: Normal Points Entry - Accumulated Points: 0.47 - Write Points: 69.42999999999999 - Write Amount: 0 | |
[2020-06-26 09:27:45] lumen.INFO: Customer: NDwR7sVhH4JTFaR9CNI37svDY5RL9T - Transaction: Normal Points Entry - Accumulated Points: 0.24 - Write Points: 69.67 - Write Amount: 0 | |
[2020-06-26 09:27:59] lumen.INFO: Customer: NDwR7sVhH4JTFaR9CNI37svDY5RL9T - Transaction: Normal Points Entry - Accum |
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 | |
public function getWitholdingTax() | |
{ | |
// Check if within minimum wage salary, then 0 tax | |
// Check from general settings | |
$general_settings = Settings::first(); | |
if ($this->getBasicPay() <= $general_settings->minimum_pay) | |
return 0; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Multiple Components</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<meta name="HandheldFriendly" content="True"> | |
<meta name="MobileOptimized" content="320"> | |
<link rel="stylesheet" type="text/css" href=""> |