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 | |
require_once 'vendor/autoload.php'; | |
session_start(); | |
date_default_timezone_set('UTC'); | |
const CLIENT_ID = {Client ID}; | |
const CLIENT_SECRET = {Client Secret}; | |
const REDIRECT_URI_MAIN = 'http://example.com/index.php'; | |
const REDIRECT_URI_OAUTH = 'http://example.comp/callback.php'; |
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
{#https://github.com/merchantos/PrintTemplates/tree/master/receipt#} | |
{# | |
***Begin Custom Options*** | |
Toggle any of the options in this section between 'false' and 'true' in order to enable/disable them in the template | |
#} | |
{# Layout Adjustments #} | |
{% set print_layout = parameters.print_layout == "true" ? true : false %} {# Improves receipt layout for large display/paper size (A4/Letter/Email) #} | |
{% set chrome_right_margin_fix = false %} {# Fixes a potential issue where the right side of receipts are cut off in Chrome #} |
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
1) Go to Rules, scroll to the bottom and click on POS Setup to download a zip file. | |
2) Right click on KngPOSSettings.bat to run it as administrator, say yes | |
3) It will automatically create a folder in C:\kangaroopos and a shortcut on desktop | |
4) Go to desktop, right click on the shortcut, run it as administrator, say yes | |
5) Login as clerk on the tablet | |
6) Login with the same clerk credential on the pos component | |
7) Enter the tablet serial number |
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
name: '[PROJECT NAME]' | |
'on': | |
push: | |
branches: | |
- master | |
- develop | |
- 'releases/**' | |
pull_request: null | |
env: | |
working_directory: ./application |
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
name: APP NAME | |
on: | |
pull_request: | |
branches: [ branches ] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_URL }} | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Tests |
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
name: CI-CD | |
on: | |
push: | |
branches: | |
- production | |
jobs: | |
deploy: | |
name: Deploy to Production |