Skip to content

Instantly share code, notes, and snippets.

Casper Bakker casperbakker

Block or report user

Report or block casperbakker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@casperbakker
casperbakker / order-confirmation.html
Created Apr 30, 2019
Picqer order confirmation PDF HTML
View order-confirmation.html
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body class="order-pdf">
<div id="header">
<div class="document-title">Order confirmation {orderid}</div>
</div>
@casperbakker
casperbakker / purchase-order.html
Last active Mar 28, 2019
Picqer purchase order PDF HTML
View purchase-order.html
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body class="purchaseorder-pdf">
<div id="header">
<div class="barcode barcode-purchaseorder"><img src="example.png"></div>
<div class="document-title">Purchase order {purchaseorderid}</div>
View CurlException.php
<?php
namespace Picqer\Services\Curl;
use Throwable;
class CurlException extends \Exception
{
protected $response = null;
protected $headers = [];
View AddressSplitter.php
<?php
class AddressSplitter {
/**
* Splits an address line in to array of street, houseNumber, houseNumberExtension and additionToAddress
* @param $address
* @return array
*/
public static function splitAddress($address)
You can’t perform that action at this time.