-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c0b69a
commit be4157c
Showing
13 changed files
with
2,431 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!DOCTYPE html> | ||
<html dir="ltr"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Revolution Cycle</title> | ||
</head> | ||
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0"> | ||
<div id="wrapper" dir="ltr" style="background-color: #f5f5f5; margin: 0; padding: 70px 0 70px 0; -webkit-text-size-adjust: none !important; width: 100%;"> | ||
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"><tr> | ||
<td align="center" valign="top"> | ||
<div id="template_header_image"> | ||
<p style="margin-top: 0;"><img src="https://revolutioncycle.com/wp-content/uploads/2017/09/NewChainRing_LogoType_Blk_Red.png" alt="Revolution Cycle" style="border: none; display: inline; font-size: 14px; font-weight: bold; height: auto; line-height: 100%; outline: none; text-decoration: none; text-transform: capitalize;"></p> </div> | ||
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container" style="box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important; background-color: #fdfdfd; border: 1px solid #dcdcdc; border-radius: 3px !important;"> | ||
<tr> | ||
<td align="center" valign="top"> | ||
<!-- Header --> | ||
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_header" style='background-color: #cd1b21; border-radius: 3px 3px 0 0 !important; color: #ffffff; border-bottom: 0; font-weight: bold; line-height: 100%; vertical-align: middle; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;'><tr> | ||
<td id="header_wrapper" style="padding: 36px 48px; display: block;"> | ||
<h1 style='color: #ffffff; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 150%; margin: 0; text-align: left; text-shadow: 0 1px 0 #d7494d; -webkit-font-smoothing: antialiased;'>Online Payment Request</h1> | ||
</td> | ||
</tr></table> | ||
<!-- End Header --> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="center" valign="top"> | ||
<!-- Body --> | ||
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body"><tr> | ||
<td valign="top" id="body_content" style="background-color: #fdfdfd;"> | ||
<!-- Content --> | ||
<table border="0" cellpadding="20" cellspacing="0" width="100%"><tr> | ||
<td valign="top" style="padding: 48px;"> | ||
<div id="body_content_inner" style='color: #737373; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 14px; line-height: 150%; text-align: left;'> | ||
<h2 style='color: #cd1b21; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>Hey There [CUSTOMER FIRST NAME]!</h2> | ||
<p style="margin: 0 0 16px;"> </p> | ||
</div> | ||
</td> | ||
</tr></table> | ||
<!-- End Content --> | ||
</td> | ||
</tr></table> | ||
<!-- End Body --> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="center" valign="top"> | ||
<!-- Footer --> | ||
<table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer"><tr> | ||
<td valign="top" style="padding: 0; -webkit-border-radius: 6px;"> | ||
<table border="0" cellpadding="10" cellspacing="0" width="100%"><tr> | ||
<td colspan="2" valign="middle" id="credit" style="padding: 0 48px 48px 48px; -webkit-border-radius: 6px; border: 0; color: #e1767a; font-family: Arial; font-size: 12px; line-height: 125%; text-align: center;"> | ||
<p>Revolution Cycle</p> | ||
</td> | ||
</tr></table> | ||
</td> | ||
</tr></table> | ||
<!-- End Footer --> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr></table> | ||
</div> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- | ||
WILDCARDS: Use the bleow wildcards when making your email template, they are named appropriatley and will be replaced before the email is sent. | ||
--> | ||
[CUSTOMER FIRST NAME] | ||
[PRODUCT NAME HERE] | ||
[PRODUCT LINK] | ||
[SALESPERSON] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- | ||
WILDCARDS: Use the bleow wildcards when making your email template, they are named appropriatley and will be replaced before the email is sent. | ||
--> | ||
[CUSTOMER FIRST NAME] | ||
[PRODUCT NAME HERE] | ||
[ORDER NUMBER], | ||
[BACKORDER ETA] | ||
[ETA] | ||
[SALESPERSON] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- | ||
WILDCARDS: Use the bleow wildcards when making your email template, they are named appropriatley and will be replaced before the email is sent. | ||
--> | ||
[CUSTOMER FIRST NAME] | ||
[PRODUCT NAME HERE] | ||
[ORDER NUMBER] | ||
[SALESPERSON] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- | ||
WILDCARDS: Use the bleow wildcards when making your email template, they are named appropriatley and will be replaced before the email is sent. | ||
--> | ||
[CUSTOMER FIRST NAME] | ||
[PRODUCT NAME HERE] | ||
[ORDER NUMBER] | ||
[ETA] | ||
[SALESPERSON] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- | ||
WILDCARDS: Use the bleow wildcards when making your email template, they are named appropriatley and will be replaced before the email is sent. | ||
--> | ||
[CUSTOMER FIRST NAME] | ||
[PRODUCT NAME HERE] | ||
[ORDER NUMBER] | ||
[SALESPERSON] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
apt-get install python3 | ||
pip install mysql-connector-python PyQt3 woocommerce |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
py -m pip install mysql-connector-python PyQt5 woocommerce validate_email py3DNS |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
from datetime import date | ||
|
||
versionNumber = "v0.1.11" | ||
|
||
sqlConfig = { | ||
'user':'', | ||
'password':'', | ||
'host':'', | ||
'database':'' | ||
} | ||
|
||
wcAPIConfig = { | ||
'url':"", | ||
'consumer_key':"", | ||
'consumer_secret':"", | ||
'wp_api':False, | ||
'version':"" | ||
} | ||
|
||
wcAPILegacyConfig = { | ||
'url':"", | ||
'consumer_key':"", | ||
'consumer_secret':"", | ||
'wp_api':True, | ||
'version':"", | ||
'verify_ssl':True, | ||
'timeout':30, | ||
} | ||
|
||
emailConfig = { | ||
'username':'', | ||
'password':'', | ||
} | ||
|
||
orderTemplate = { | ||
'customerFirstName':'Foo', #Type TEXT | ||
'customerLastName':'Bar', #Type TEXT | ||
'customerPhoneNo':1234567890, #Type BIGINT | ||
'customerEmail' :'foo@bar.com', #Type TEXT | ||
'productDesc' :'Foo Bar', #Type TEXT | ||
'productPartNo' :'42069-01', #Type TEXT | ||
'productSupplier' :'ACME', #Type TEXT | ||
'dateRequested' :date(2018,11,26), #Type DATE | ||
'dateOrdered' :date(2018,11,26), #Type DATE | ||
'orderID' :65902, #Type BIGINT | ||
'orderStatus' :0, #Type TINYINT | ||
'orderDesc' :'ACME part for Foo Bar', #Type Text | ||
'paymentStatus' :1, #Type TINTINT | ||
'isWorkOrder' :False, #Type BOOLEAN | ||
'salesRep':'John Doe', #Type TEXT | ||
'objectID':0, #Type INT | ||
'price':123456.78, #Type FLOAT | ||
'weight':35, #Type INT | ||
'dimLength': 55, #Type INT | ||
'dimWidth':9, #Type INT | ||
'dimHeight':33, #Type INT | ||
} | ||
|
||
staffMembers = [ | ||
'--Choose One--', | ||
'', | ||
] | ||
|
||
suppliers = [ | ||
'--Choose One--', | ||
'', | ||
] |
Oops, something went wrong.