This file contains hidden or 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
var EmailType; | |
(function (EmailType) { | |
EmailType["APPLICATION_SUBMISSION"] = "APPLICATION_SUBMISSION"; | |
EmailType["ACCEPT_OFFER_REMINDER_1"] = "ACCEPT_OFFER_REMINDER_1"; | |
EmailType["ACCEPT_OFFER_REMINDER_2"] = "ACCEPT_OFFER_REMINDER_2"; | |
EmailType["ACCEPT_OFFER_REMINDER_3"] = "ACCEPT_OFFER_REMINDER_3"; | |
EmailType["ACCEPT_OFFER_REMINDER_4"] = "ACCEPT_OFFER_REMINDER_4"; | |
EmailType["APPROVAL"] = "APPROVAL"; | |
EmailType["CANCELLATION"] = "CANCELLATION"; | |
EmailType["COMPANY_INFORMATION_REMINDER_1"] = "COMPANY_INFORMATION_REMINDER_1"; |
This file contains hidden or 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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-brown; icon-glyph: magic; | |
function formatDate (date) { | |
const monthNames = [ | |
'January', 'February', 'March', | |
'April', 'May', 'June', 'July', | |
'August', 'September', 'October', | |
'November', 'December' | |
]; |
This file contains hidden or 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 | |
declare(strict_types=1); | |
use Symfony\Component\Filesystem\LockHandler; | |
/** | |
* Class Forklift | |
* | |
* @package C24Shopping\Core\App\Service | |
*/ |
This file contains hidden or 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 | |
namespace Core\App\Service\Money; | |
use Money\Currencies\ISOCurrencies; | |
use Money\Formatter\DecimalMoneyFormatter; | |
use Money\Parser\DecimalMoneyParser; | |
class Money |
This file contains hidden or 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
sklonyator($number, $titles){ | |
$cases = array(2, 0, 1, 1, 1, 2); | |
return $titles[($number % 100 > 4 && $number % 100 < 20) ? 2 : $cases[min($number % 10, 5)]]; | |
} |
This file contains hidden or 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
var ProjectMap = (function () { | |
"use strict"; | |
var _center = {lat: 50.159573, lng: 71.918242}, // map center on load | |
_points = [], | |
_map = null, | |
_useDirectios = false, // generate directions with google.maps.DirectionsService() or use simple google.maps.Polyline | |
_cache = [], // cache for google.maps.Geocoder() | |
_isDraggable = !('ontouchstart' in document.documentElement); | |
// constructor |