Sfoglia il codice sorgente

added payment successful.

Peter Muturi 1 anno fa
parent
commit
405abd17c0

+ 1 - 0
config/app.php

@@ -17,6 +17,7 @@ return [
     'url' => env('APP_URL', null),
     'internalName' => env('APP_INTERNAL_NAME'),
     'phoneNumber' => env('PHONE_NUMBER'),
+    'supportEmail' => env('SUPPORT_EMAIL'),
     'sessionKeyName' => env('SESSION_KEY_NAME', 'limeSessionKey'),
     'backendUrl' => env('BACKEND_URL', 'http://localhost:8080'),
     'stripeKey' => env('STRIPE_KEY'),

+ 10 - 8
config/constants.php

@@ -2,15 +2,17 @@
 return [
 
   'lbs' => [
-      'name' => "Let's Be Safe",
-      'supportEmail' => 'service@basicnutrition.com',
-      'supportPhone' => '(800) 750-4540',
+      'name' => "LetsBeSafe",
+      'productName' => "LetsBeSafe",
+      'supportEmail' => config('app.supportEmail'),
+      'supportPhone' => config('app.phoneNumber'),
+      'standardUnitPrice' => '49.50',
+      'standardShipping' => '0',
+      'expeditedShipping' => '18.00',
       'favicon' => '/lbs/img/icon.png',
-      'logo' => '/lbs/img/logo.jpg',
-      'logoWhite' => '/lbs/img/logo.jpg',
-      'primaryColor' => '#1C3D80',
-      'productUrl' => 'https://letsbesafe.com',
-      'clientUrl' => 'https://letsbesafe.com'
+      'logo' => '/lbs/img/lbs-logo.svg',
+      'primaryColor' => '#24315E',
+      'productUrl' => config('app.url')
     ],
 
     'tests' => [

BIN
public/lbs/img/icon.png


BIN
public/lbs/img/lbs-logo.png


+ 20 - 0
public/lbs/img/lbs-logo.svg

@@ -0,0 +1,20 @@
+<svg width="149" height="45" viewBox="0 0 149 45" fill="none" xmlns="http://www.w3.org/2000/svg">
+<mask id="mask0_1403_56" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="9" width="146" height="27">
+<path d="M147.323 9.7832H2V35.7223H147.323V9.7832Z" fill="white"/>
+</mask>
+<g mask="url(#mask0_1403_56)">
+<path d="M32.0916 14.5762V30.9547H35.3293V35.0524H26.7666V14.5762H32.0916Z" fill="#24315E"/>
+<path d="M48.0404 26.9584H41.4255V30.5882C41.4255 31.347 41.4802 31.8361 41.5897 32.0556C41.6992 32.2751 41.9102 32.3846 42.2227 32.3841C42.6101 32.3841 42.8684 32.2387 42.9975 31.9479C43.1266 31.6571 43.1919 31.0941 43.1935 30.2589V28.0462H48.0373V29.2858C48.0373 30.3235 47.972 31.1205 47.8413 31.6767C47.7106 32.233 47.4049 32.827 46.924 33.4587C46.4521 34.0868 45.8227 34.5791 45.0994 34.8858C44.3618 35.2019 43.4365 35.36 42.3234 35.36C41.2439 35.36 40.2912 35.205 39.4653 34.8951C38.6394 34.5852 37.9964 34.1573 37.5362 33.6113C37.0889 33.0908 36.7628 32.4774 36.5817 31.8154C36.404 31.1626 36.3154 30.2119 36.3159 28.9635V24.0616C36.3159 22.5952 36.514 21.438 36.9102 20.5899C37.3063 19.7418 37.9556 19.0925 38.8579 18.6421C39.7603 18.1912 40.7974 17.9658 41.9694 17.9658C43.4027 17.9658 44.5852 18.2377 45.517 18.7816C46.4488 19.3255 47.1027 20.0463 47.4787 20.9439C47.8537 21.8416 48.0412 23.1045 48.0412 24.7325L48.0404 26.9584ZM42.9185 24.2266V22.9994C42.9185 22.1306 42.872 21.57 42.779 21.3174C42.686 21.0648 42.4965 20.939 42.2103 20.9401C41.856 20.9401 41.6367 21.0478 41.5525 21.2631C41.4684 21.4785 41.4263 22.0581 41.4263 23.0017V24.2289L42.9185 24.2266Z" fill="#24315E"/>
+<path d="M55.0975 16.0303V18.6738H56.4758V21.3274H55.0975V30.31C55.0975 31.4148 55.1543 32.0302 55.2679 32.1562C55.3816 32.2823 55.856 32.3455 56.6912 32.346V35.0523H54.6295C53.4658 35.0523 52.6353 35.004 52.1379 34.9074C51.6444 34.8128 51.1878 34.5805 50.8208 34.2372C50.4625 33.9225 50.2144 33.5015 50.1127 33.0356C50.0197 32.5847 49.9735 31.5243 49.974 29.8544V21.3274H48.873V18.6738H49.974V16.0303H55.0975Z" fill="#24315E"/>
+<path d="M68.036 23.6311H63.5083V22.7215C63.5083 21.9468 63.4642 21.4561 63.3758 21.2495C63.2875 21.0429 63.0662 20.9396 62.7119 20.9396C62.4242 20.9396 62.209 21.0346 62.0665 21.2247C61.9239 21.4148 61.8521 21.6988 61.8511 22.0769C61.8511 22.5909 61.887 22.9682 61.9588 23.2089C62.0306 23.4496 62.2457 23.713 62.6042 23.9991C62.9621 24.2858 63.6976 24.7031 64.8107 25.2511C66.2951 25.9743 67.269 26.6573 67.7323 27.3004C68.1956 27.9434 68.4281 28.875 68.4296 30.095C68.4296 31.4606 68.2527 32.4916 67.8989 33.1878C67.5451 33.8841 66.9527 34.4194 66.1216 34.7939C65.291 35.1689 64.2898 35.3564 63.1178 35.3564C61.8193 35.3564 60.7088 35.1542 59.7863 34.7497C58.8639 34.3453 58.2283 33.7965 57.8797 33.1034C57.5341 32.4123 57.3613 31.3669 57.3613 29.9671V29.1583H61.8891V30.2213C61.8891 31.1231 61.9461 31.7091 62.0603 31.9792C62.1744 32.2493 62.3999 32.3841 62.7366 32.3836C63.0982 32.3836 63.3513 32.293 63.4959 32.1117C63.6405 31.9304 63.7121 31.5489 63.7105 30.9673C63.7105 30.1662 63.6178 29.6645 63.4324 29.462C63.2382 29.2595 62.2475 28.6609 60.4604 27.6661C58.9589 26.8231 58.0439 26.0579 57.7154 25.3705C57.3869 24.683 57.2227 23.8672 57.2227 22.923C57.2227 21.5826 57.3996 20.594 57.7534 19.9572C58.1072 19.3203 58.7079 18.8296 59.5555 18.4851C60.4031 18.1396 61.3875 17.9668 62.5089 17.9668C63.6225 17.9668 64.569 18.1081 65.3484 18.3906C66.1278 18.6731 66.7264 19.0463 67.1443 19.5101C67.5616 19.975 67.8147 20.405 67.9036 20.8001C67.9924 21.1953 68.0366 21.8151 68.036 22.6596V23.6311Z" fill="#24315E"/>
+<path d="M69.9468 14.5762H75.2586C76.9367 14.5762 78.2078 14.7068 79.0719 14.9682C79.9361 15.2296 80.6334 15.7582 81.1638 16.5541C81.6953 17.3506 81.9608 18.6336 81.9603 20.4032C81.9603 21.5994 81.7728 22.4336 81.3978 22.9057C81.0228 23.3777 80.2829 23.7393 79.1781 23.9903C80.4089 24.2687 81.2436 24.7305 81.6821 25.3756C82.1206 26.0207 82.3399 27.0101 82.3399 28.3437V30.2419C82.3399 31.6256 82.1818 32.6506 81.8657 33.3169C81.7209 33.6362 81.512 33.9223 81.252 34.1574C80.992 34.3925 80.6864 34.5716 80.3542 34.6836C79.6631 34.9284 78.2466 35.0506 76.1046 35.0501H69.9468V14.5762ZM75.2717 18.0796V22.6329C75.4995 22.6247 75.6764 22.6203 75.8024 22.6198C76.3257 22.6198 76.6588 22.4906 76.8019 22.2324C76.945 21.9741 77.0165 21.2384 77.0165 20.0251C77.0165 19.3846 76.9576 18.9355 76.8398 18.6778C76.7221 18.42 76.5671 18.2578 76.375 18.1912C76.187 18.1256 75.8197 18.0884 75.2717 18.0796ZM75.2717 25.8203V31.5497C76.0217 31.5244 76.5 31.4061 76.7066 31.1949C76.9132 30.9836 77.0165 30.4653 77.0165 29.6399V27.7301C77.0165 26.852 76.9238 26.3208 76.7384 26.1364C76.5529 25.952 76.0638 25.8469 75.271 25.8211L75.2717 25.8203Z" fill="#24315E"/>
+<path d="M95.669 26.9584H89.054V30.5882C89.054 31.347 89.109 31.8361 89.219 32.0556C89.3291 32.2751 89.5398 32.3846 89.8513 32.3841C90.2386 32.3841 90.4969 32.2387 90.626 31.9479C90.7552 31.6571 90.8205 31.0941 90.822 30.2589V28.0462H95.669V29.2858C95.669 30.3235 95.6036 31.1205 95.4729 31.6767C95.3423 32.233 95.0368 32.827 94.5564 33.4587C94.084 34.0866 93.4544 34.5788 92.7311 34.8858C91.9924 35.2019 91.0669 35.36 89.9543 35.36C88.8748 35.36 87.9221 35.205 87.0962 34.8951C86.2703 34.5852 85.6275 34.1573 85.1678 33.6113C84.7203 33.0909 84.394 32.4774 84.2125 31.8154C84.0359 31.1626 83.9473 30.2119 83.9468 28.9635V24.0616C83.9468 22.5952 84.1449 21.438 84.541 20.5899C84.9372 19.7418 85.5867 19.0925 86.4896 18.6421C87.3914 18.1912 88.4283 17.9658 89.6002 17.9658C91.0336 17.9658 92.2161 18.2377 93.1479 18.7816C94.0797 19.3255 94.7333 20.0463 95.1088 20.9439C95.4822 21.8416 95.669 23.1058 95.669 24.7364V26.9584ZM90.547 24.2266V22.9994C90.547 22.1306 90.5005 21.57 90.4075 21.3174C90.3146 21.0648 90.125 20.9383 89.8389 20.9377C89.484 20.9377 89.2648 21.0454 89.1811 21.2608C89.0974 21.4762 89.0551 22.0557 89.054 22.9994V24.2266H90.547Z" fill="#24315E"/>
+<path d="M108.774 20.773H103.829V19.2553C103.829 18.5471 103.766 18.096 103.64 17.9017C103.513 17.7075 103.302 17.6107 103.007 17.6112C102.861 17.6048 102.717 17.6379 102.589 17.7069C102.461 17.776 102.354 17.8784 102.28 18.0032C102.115 18.2651 102.033 18.6618 102.033 19.1933C102.033 19.8766 102.125 20.3913 102.31 20.7374C102.487 21.084 102.988 21.5013 103.815 21.9894C106.185 23.3964 107.678 24.5508 108.294 25.4526C108.909 26.3544 109.217 27.8089 109.217 29.8161C109.217 31.2747 109.046 32.3498 108.705 33.0414C108.364 33.733 107.704 34.3125 106.725 34.78C105.747 35.2479 104.608 35.4822 103.31 35.4827C101.885 35.4827 100.669 35.2128 99.6611 34.6731C98.6534 34.1333 97.9941 33.4461 97.6831 32.6114C97.3732 31.7762 97.2183 30.5916 97.2183 29.0576V27.7165H102.164V30.2081C102.164 30.9761 102.233 31.4694 102.372 31.6879C102.511 31.9064 102.756 32.0167 103.106 32.0187C103.461 32.0187 103.724 31.8795 103.897 31.6011C104.069 31.3227 104.156 30.9095 104.156 30.3615C104.156 29.156 103.992 28.3675 103.663 27.9961C103.325 27.6258 102.495 27.006 101.171 26.1367C99.8478 25.2586 98.9698 24.622 98.5369 24.2269C98.1041 23.8318 97.7477 23.2835 97.4677 22.5821C97.1857 21.8822 97.0445 20.9887 97.0439 19.9014C97.0439 18.3328 97.2444 17.1859 97.6452 16.4607C98.046 15.7355 98.6932 15.1673 99.5867 14.7562C100.48 14.3471 101.559 14.1426 102.824 14.1426C104.207 14.1426 105.386 14.366 106.36 14.8128C107.334 15.2595 107.979 15.8225 108.297 16.5017C108.613 17.1804 108.771 18.3333 108.771 19.9603L108.774 20.773Z" fill="#F13C1F"/>
+<path d="M115.301 24.7705H110.507V23.6448C110.507 22.3463 110.657 21.345 110.956 20.641C111.255 19.937 111.856 19.3151 112.759 18.7754C113.659 18.2356 114.832 17.9658 116.278 17.9658C118.006 17.9658 119.309 18.2715 120.186 18.8831C121.063 19.4946 121.59 20.2449 121.767 21.1338C121.944 22.0242 122.032 23.856 122.033 26.6292V35.0524H117.062V33.5571C116.752 34.1568 116.349 34.6066 115.854 34.9067C115.359 35.2068 114.771 35.3566 114.09 35.3561C113.212 35.361 112.354 35.0986 111.63 34.6038C110.883 34.1023 110.51 33.0039 110.51 31.3087V29.9273C110.51 28.6717 110.709 27.8158 111.105 27.3598C111.501 26.9037 112.482 26.3725 114.049 25.7661C115.726 25.108 116.624 24.6654 116.743 24.4381C116.861 24.2109 116.92 23.746 116.919 23.0436C116.919 22.1655 116.854 21.5945 116.723 21.3306C116.668 21.206 116.576 21.1011 116.46 21.0299C116.344 20.9587 116.209 20.9244 116.072 20.9316C115.726 20.9316 115.511 21.0434 115.427 21.267C115.343 21.4907 115.301 22.0705 115.301 23.0064V24.7705ZM116.919 27.0723C116.102 27.6715 115.627 28.173 115.497 28.5769C115.366 28.9808 115.301 29.5627 115.301 30.3225C115.301 31.1907 115.358 31.7514 115.471 32.0045C115.585 32.2576 115.811 32.3841 116.148 32.3841C116.469 32.3841 116.677 32.2849 116.774 32.0866C116.871 31.8883 116.92 31.3676 116.919 30.5247V27.0723Z" fill="#F13C1F"/>
+<path d="M130.301 14.5762V17.1693C129.247 17.1693 128.625 17.2176 128.435 17.3142C128.246 17.4108 128.151 17.6871 128.151 18.1432V18.6739H130.301V21.3275H129.087V35.0524H123.973V21.3275H122.924V18.6739H123.973C123.973 17.5701 124.011 16.8323 124.087 16.4604C124.169 16.0796 124.365 15.7331 124.65 15.4679C124.95 15.1766 125.369 14.9553 125.909 14.8039C126.448 14.6526 127.288 14.5767 128.426 14.5762H130.301Z" fill="#F13C1F"/>
+<path d="M142.847 26.9584H136.232V30.5882C136.232 31.347 136.287 31.8361 136.397 32.0556C136.506 32.2751 136.717 32.3846 137.029 32.3841C137.417 32.3841 137.675 32.2387 137.804 31.9479C137.932 31.6571 137.997 31.0941 138 30.2589V28.0462H142.844V29.2858C142.844 30.3235 142.779 31.1205 142.648 31.6767C142.517 32.233 142.212 32.827 141.731 33.4587C141.259 34.0864 140.63 34.5787 139.908 34.8858C139.17 35.2019 138.245 35.36 137.132 35.36C136.053 35.36 135.1 35.205 134.274 34.8951C133.447 34.5852 132.804 34.1573 132.345 33.6113C131.895 33.0892 131.567 32.4733 131.385 31.8085C131.208 31.1556 131.12 30.205 131.12 28.9566V24.0616C131.12 22.5952 131.318 21.438 131.714 20.5899C132.11 19.7418 132.759 19.0925 133.662 18.6421C134.564 18.1912 135.601 17.9658 136.773 17.9658C138.206 17.9658 139.389 18.2377 140.321 18.7816C141.253 19.3255 141.906 20.0463 142.281 20.9439C142.656 21.8416 142.844 23.1045 142.844 24.7325L142.847 26.9584ZM137.724 24.2266V22.9994C137.724 22.1306 137.678 21.57 137.586 21.3174C137.493 21.0648 137.304 20.9383 137.016 20.9377C136.662 20.9377 136.443 21.0454 136.359 21.2608C136.274 21.4762 136.232 22.0557 136.232 22.9994V24.2266H137.724Z" fill="#F13C1F"/>
+<path d="M9.67007 20.6689C9.36437 20.5794 9.054 20.5068 8.74035 20.4512C7.81063 20.2885 6.20455 20.5349 5.48092 21.1291C4.50937 21.9279 3.24727 24.9123 6.95297 27.1576C8.20422 27.9153 10.5332 28.2732 11.3381 28.3894C12.4515 28.5498 14.6317 28.7892 15.7659 28.8024C16.4229 28.8179 17.0915 28.907 17.6819 29.2564C18.6775 29.8382 19.0098 30.9896 18.9765 32.0758C18.9626 33.6586 17.5471 35.3933 15.9836 35.6846C15.4543 35.7823 14.9075 35.6851 14.4442 35.4111C13.2169 34.6898 13.4966 32.732 13.6988 31.5544C13.8396 30.8057 14.0238 30.0658 14.2505 29.3385C14.4308 28.7245 14.6609 28.1262 14.9385 27.5496C15.5002 26.4866 16.161 25.3345 16.7127 24.2816C17.9717 21.8799 19.7343 18.6592 18.1328 16.0622C17.4797 15.017 16.395 14.5382 15.1934 14.9085C14.4961 15.1084 13.4935 15.8026 12.9543 16.6185C12.0835 17.9356 11.7077 19.2774 11.4373 21.0114C11.3767 21.3716 11.3557 21.7374 11.3745 22.1022L11.3381 22.1092C11.2489 21.7446 11.2049 21.3704 11.2072 20.9951C11.1948 19.0125 11.1212 16.7029 12.4577 15.1844C13.3262 14.1857 14.5201 13.3753 15.8906 13.297C17.4859 13.1847 19.0145 14.1408 19.8079 15.4966C22.0012 19.1047 19.4918 24.239 17.0466 27.1088C16.7266 27.5023 16.3997 27.8734 16.0874 28.2608C15.7599 28.7198 15.4761 29.2085 15.2398 29.7205C14.7184 30.8385 14.283 32.0448 14.2327 33.2844C14.2265 33.7353 14.2706 34.2606 14.5929 34.5883C14.69 34.6769 14.8061 34.7421 14.9323 34.7789C15.3468 34.9184 15.7628 34.8076 16.1169 34.5465C16.7762 34.0568 17.3015 33.0744 17.3844 32.2594C17.3964 31.969 17.3798 31.6781 17.3348 31.3909C17.248 30.864 17.0381 30.51 16.5461 30.2845C15.9728 30.0188 15.2422 29.9266 14.5836 29.8491C13.8584 29.7716 13.1116 29.7267 12.3631 29.6678C10.8702 29.5338 9.38496 29.4129 7.89973 29.1549C5.22525 28.6978 2.62591 27.5682 2.089 24.6047C1.99138 24.0292 1.96898 23.4435 2.02237 22.8623C2.12542 21.3902 2.79714 19.9104 4.08402 19.0938C5.84816 17.9572 8.19027 18.0595 10.1442 18.5577L10.3147 18.6065L9.67007 20.6689Z" fill="#24315E"/>
+<path d="M7.31042 15.9855C6.98989 16.3816 6.5708 16.6863 6.09524 16.8692C5.61968 17.052 5.10438 17.1065 4.6011 17.0271C4.09781 16.9478 3.62426 16.7375 3.228 16.4172C2.83173 16.0969 2.5267 15.6781 2.34354 15.2026C2.16038 14.7272 2.10554 14.2119 2.18451 13.7086C2.26349 13.2053 2.47351 12.7316 2.79349 12.3351C3.11346 11.9386 3.53212 11.6333 4.00743 11.4498C4.48273 11.2663 4.99795 11.2111 5.50134 11.2897C5.1811 11.6865 4.97091 12.1606 4.89186 12.6643C4.81282 13.1681 4.86771 13.6838 5.05102 14.1596C5.23433 14.6354 5.5396 15.0546 5.9362 15.3751C6.33279 15.6956 6.80672 15.9062 7.31042 15.9855Z" fill="#24315E"/>
+<path d="M8.86964 15.5918C10.4734 15.5918 11.7735 14.2917 11.7735 12.688C11.7735 11.0842 10.4734 9.78418 8.86964 9.78418C7.2659 9.78418 5.96582 11.0842 5.96582 12.688C5.96582 14.2917 7.2659 15.5918 8.86964 15.5918Z" fill="#24315E"/>
+</g>
+</svg>

+ 3 - 3
resources/views/emails/layout.blade.php

@@ -304,15 +304,15 @@
                         <table class="email-body_inner" align="center" width="650" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; padding: 0;" border="0" bgcolor="#FFFFFF">
                             <!-- Body content -->
                             <tr>
-                                <td class="content-cell" style="color: #000; font-family:Arial, sans-serif; font-size: 16px; padding: 15px 15px; word-break: break-word;">
+                                <td class="content-cell" style="color: #000; font-family:Arial, sans-serif; font-size: 17px; padding: 15px 15px; word-break: break-word;">
                                     <div>
 
 
-                                        <p style=" font-weight: bold; color: #000; font-size: 20px; padding: 0 15px; line-height: 58px; margin: .1em 0;">@yield('salutation')</p>
+                                        <p style=" font-weight: bold; color: #000; font-size: 16px; padding: 0 15px; line-height: 58px; margin: .1em 0;">@yield('salutation')</p>
 
                                         @yield('content')
 
-                                        <p style="color: #000; line-height: 1.625; margin: .4em 0 1.1875em;padding: 0 15px;">If you have any questions, feel free to <a href="mailto:{{ $stringMappingConfig['supportEmail'] }}">email our customer success team</a>. <br> (We're lightning quick at replying.)</p>
+                                        <p style="color: #000; line-height: 1.625; font-size: 15px; margin: .4em 0 1.1875em;padding: 0 15px;">If you have any questions, feel free to <a href="mailto:{{ $stringMappingConfig['supportEmail'] }}">email our customer success team</a>. <br> (We're lightning quick at replying.)</p>
 
 
 

+ 5 - 5
resources/views/emails/templates/user-failed-order-charge.blade.php

@@ -4,10 +4,10 @@
 @endsection
 
 @section('content')
-    <p class="f-fallback" style="color: #000; font-size: 17px; padding: 0 15px; line-height: 30px; margin: .4em 0 1.1875em;">We attempted to charge the card you have on file but were unable to do so.<br />
+    <p class="f-fallback" style="color: #000; font-size: 15px; padding: 0 15px; line-height: 24px; margin: .4em 0 1.1875em;">We attempted to charge the card you have on file but were unable to do so.<br />
 
     Please confirm your card details are correct and up to date.</p>
-    
-    @include('emails.call-to-action-button', ['link'=>$stringMappingConfig['clientUrl'].'/my-account/payment-methods', 'label' => 'Confirm Payment Method'])
-    
-@endsection
+
+    @include('emails.call-to-action-button', ['link'=>$stringMappingConfig['productUrl'].'/my-account/payment-methods', 'label' => 'Confirm Payment Method'])
+
+@endsection

+ 5 - 5
resources/views/emails/templates/user-order-shipped.blade.php

@@ -4,10 +4,10 @@
 @endsection
 
 @section('content')
-    <p class="f-fallback" style="color: #000; font-size: 17px; padding: 0 15px; line-height: 30px; margin: .4em 0 1.1875em;">Your order is on the way.<br />
+    <p class="f-fallback" style="color: #000; font-size: 15px; padding: 0 15px; line-height: 24px; margin: .4em 0 1.1875em;">Your order is on the way.<br />
 
     Your tracking number is: <b>{{ @$shippingDetails->tracking_number }}</b>.</p>
-    
-    @include('emails.call-to-action-button', ['link'=>$stringMappingConfig['clientUrl'].'/my-account', 'label' => 'View Order'])
-    
-@endsection
+
+    @include('emails.call-to-action-button', ['link'=>$stringMappingConfig['productUrl'].'/my-account', 'label' => 'View Order'])
+
+@endsection

+ 47 - 0
resources/views/emails/templates/user-payment-successful.blade.php

@@ -0,0 +1,47 @@
+@extends('emails.layout')
+@section('salutation')
+    Hello, {{$user->displayName()}}
+@endsection
+
+@section('content')
+<p class="f-fallback" style="color: #000; font-size: 15px; padding: 0 15px; line-height: 24px; margin: .4em 0 1.1875em;">Your order payment has been processed successfully. Thank you for your order and looking forward to serve you again.</p>
+<table border="0" cellspacing="0" cellpadding="0" width="600" style="border-collapse:collapse;border-spacing:0;margin-bottom:30px;margin-top:0px;margin-inline:auto;">
+    <tbody>
+      <tr>
+        <td colspan="5" style="padding-bottom:10px"><span style="color:#24315E">Payment Details</span></td>
+      </tr>
+        <tr>
+            <td style="padding:10px 15px;background:rgb(250,250,250);border:1px solid #eee;">
+                <table border="0" cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-spacing:0;width:100%;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                    <tbody>
+                      <tr>
+                        <td colspan="3" style="padding:0 0 10px 0px;font-size:14px;vertical-align:top;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                          <span style="font-weight:300;">Order</span>
+                        </td>
+                        <td align="right" valign="top" style="padding:0 5px;font-size:14px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                          <span style="font-weight:500;white-space:nowrap;display:block;">#<a style="color:#000" href="{{$stringMappingConfig['productUrl'] .'/my-account'}}" target="_blank">{{$storeOrder->orderNumber()}}</a></span>
+                        </td>
+                      </tr>
+                        <tr>
+                          <td colspan="3" style="padding:0 0 10px 0px;font-size:14px;vertical-align:top;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                            <span style="font-weight:300;">Amount Paid</span>
+                          </td>
+                          <td align="right" valign="top" style="padding:0 5px;font-size:14px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                            <span style="font-weight:500;white-space:nowrap;display:block;">${{$storeOrder->total()}}</span>
+                          </td>
+                        </tr>
+                        <tr>
+                          <td colspan="3" style="padding:0 0 10px 0px;font-size:14px;vertical-align:top;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                            <span style="font-weight:300;">Payment Date</span>
+                          </td>
+                          <td align="right" valign="top" style="padding:0 5px;font-size:14px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">
+                            <span style="font-weight:500;white-space:nowrap;display:block;"><?= date('m/d/Y') ?></span>
+                          </td>
+                        </tr>
+                    </tbody>
+                </table>
+            </td>
+        </tr>
+    </tbody>
+</table>
+@endsection

+ 4 - 4
resources/views/emails/templates/user-reset-password.blade.php

@@ -4,8 +4,8 @@
 @endsection
 
 @section('content')
-    <p class="f-fallback" style="color: #000; font-size: 17px; padding: 0 15px; line-height: 30px; margin: .4em 0 1.1875em;">We have received a request to change your password. If it was not from you, ignore this email. To reset your password, click the link below.</p>
-    
+    <p class="f-fallback" style="color: #000; font-size: 15px; padding: 0 15px; line-height: 24px; margin: .4em 0 1.1875em;">We have received a request to change your password. If it was not from you, ignore this email. To reset your password, click the link below.</p>
+
     @include('emails.call-to-action-button', ['link'=>$appUrl.'/reset-password/'.$user->password_reset_token, 'label' => 'Reset your password'])
-    
-@endsection
+
+@endsection

+ 4 - 4
resources/views/emails/templates/user-welcome.blade.php

@@ -5,14 +5,14 @@
 
 @section('content')
     @if($temporaryPassword)
-        <p class="f-fallback" style="color: #000; font-size: 17px; padding: 0 15px; line-height: 30px; margin: .4em 0 0.1875em;">Thank you for signing up. Below is your temporary password to login.<br />
+        <p class="f-fallback" style="color: #000; font-size: 15px; padding: 0 15px; line-height: 24px; margin: .4em 0 0.1875em;">Thank you for signing up. Below is your temporary password to login.<br />
         <span><b>{{ $temporaryPassword }}</b></span>
     </p>
     @else
-        <p class="f-fallback" style="color: #000; font-size: 17px; padding: 0 15px; line-height: 30px; margin: .4em 0 0.1875em;">Thank you for signing up. We’re thrilled to have you onboard. Please click the link below to complete the process.</p>
+        <p class="f-fallback" style="color: #000; font-size: 15px; padding: 0 15px; line-height: 24px; margin: .4em 0 0.1875em;">Thank you for signing up. We’re thrilled to have you onboard. Please click the link below to complete the process.</p>
     @endif
-    
 
-    @include('emails.call-to-action-button', ['link'=>$stringMappingConfig['clientUrl'] .'/my-account', 'label' => 'Access your account'])
+
+    @include('emails.call-to-action-button', ['link'=>$stringMappingConfig['productUrl'] .'/my-account', 'label' => 'Access your account'])
 
 @endsection