From 74513014d65fdbc3b6f20c66188e21c0f0786ef1 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 6 Aug 2023 17:19:13 -0600 Subject: [PATCH] Calculate weight by page count, add restricted delivery, add custom mailing date --- nbproject/project.properties | 1 + source/pages/index.html | 35 +- source/static/assets/css/main.css | 22 + source/static/assets/css/main.css.map | 2 +- source/static/assets/js/shipment.js | 10 +- .../static/assets/sass/components/_form.scss | 590 +++++++++--------- source/static/makeshipment.php | 45 +- source/static/papertemplate-restricted.png | Bin 0 -> 224887 bytes source/static/papertemplate.svg | 63 +- source/static/payshipment.php | 8 +- source/static/restricted_delivery.png | Bin 0 -> 15222 bytes source/static/restricted_delivery.svg | 95 +++ 12 files changed, 543 insertions(+), 328 deletions(-) create mode 100644 source/static/papertemplate-restricted.png create mode 100644 source/static/restricted_delivery.png create mode 100644 source/static/restricted_delivery.svg diff --git a/nbproject/project.properties b/nbproject/project.properties index cc0417d..cff779b 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -1,3 +1,4 @@ +auxiliary.org-netbeans-modules-css-prep.sass_2e_configured=true include.path=${php.global.include.path} php.version=PHP_82 source.encoding=UTF-8 diff --git a/source/pages/index.html b/source/pages/index.html index d24e40d..b30951b 100644 --- a/source/pages/index.html +++ b/source/pages/index.html @@ -113,6 +113,20 @@ +
+
+
+

Page Count:

+ +

We use this to estimate your letter's weight and calculate the correct postage price.

+
+
+

Mailing Date:

+ +

Letters should be mailed on the date selected.

+
+
+

Options:

@@ -140,9 +154,14 @@ +
+
+ +
@@ -191,16 +210,8 @@ or slide it into your cluster mailbox's outgoing mail slot.

Tracking Number: -
You should write this number down or bookmark the tracking link, - we won't show it again after you leave the page.

Warning: Do not print and mail - multiple copies of the same PDF. - It's fraud, forgery, theft, and a violation of multiple federal laws, - such as 18 U.S. Code ยง 501, 1001, 1341, 1720, 1725, and 3802. - If two letters with the same barcode are detected by the mail sorting system, - they will be automatically reported to USPIS, the federal postal police. - If your PDF doesn't print correctly, first cancel the misprinted postage by drawing - an X through all the barcodes or destroying the paper, then try printing again. + multiple copies of the same PDF. It's considered counterfeiting and is a violation of federal law.