@driveflux/pdf 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,87 +1,87 @@
1
1
  var enTranslation = {
2
- quotation: "Quotation",
2
+ quotation: 'Quotation',
3
3
  date: 'Date',
4
4
  customer: {
5
- title: "Customer",
6
- name: "Name",
7
- email: "Email",
8
- address: "Address"
5
+ title: 'Customer',
6
+ name: 'Name',
7
+ email: 'Email',
8
+ address: 'Address'
9
9
  },
10
10
  subscription: {
11
- title: "Subscription",
12
- vehicleName: "Vehicle",
13
- plan: "Subscription Plan",
14
- mileagePackage: "Mileage Package"
11
+ title: 'Subscription',
12
+ vehicleName: 'Vehicle',
13
+ plan: 'Subscription Plan',
14
+ mileagePackage: 'Mileage Package'
15
15
  },
16
16
  subIncludes: {
17
17
  title: "What's Included:",
18
18
  content: [
19
- "Comprehensive insurance",
20
- "Road tax",
21
- "Regularly scheduled maintenance",
22
- "Selective wear & tear",
23
- "Ability to swap vehicles",
24
- "Doorstep delivery",
25
- "24/7 nationwide roadside assistance",
26
- "Theft recovery services",
27
- "Independently rated vehicle inspection",
28
- "Option to purchase the vehicle at the end of the subscription"
19
+ 'Comprehensive insurance',
20
+ 'Road tax',
21
+ 'Regularly scheduled maintenance',
22
+ 'Selective wear & tear',
23
+ 'Ability to swap vehicles',
24
+ 'Doorstep delivery',
25
+ '24/7 nationwide roadside assistance',
26
+ 'Theft recovery services',
27
+ 'Independently rated vehicle inspection',
28
+ 'Option to purchase the vehicle at the end of the subscription'
29
29
  ]
30
30
  },
31
31
  pricing: {
32
- title: "Pricing",
32
+ title: 'Pricing',
33
33
  fees: {
34
34
  upfront: {
35
- title: "Upfront Fees",
35
+ title: 'Upfront Fees',
36
36
  content: [
37
37
  {
38
- title: "Booking Fee",
38
+ title: 'Booking Fee',
39
39
  key: 'reservationFee'
40
40
  },
41
41
  {
42
- title: "Activation Fee",
42
+ title: 'Activation Fee',
43
43
  key: 'startFee'
44
44
  },
45
45
  {
46
- title: "Refundable Deposit",
46
+ title: 'Refundable Deposit',
47
47
  key: 'deposit'
48
48
  }
49
49
  ]
50
50
  },
51
51
  monthly: {
52
- title: "Monthly Fees",
52
+ title: 'Monthly Fees',
53
53
  content: [
54
54
  {
55
- title: "Subscription Fee",
55
+ title: 'Subscription Fee',
56
56
  key: 'subscriptionFee'
57
57
  }
58
58
  ]
59
59
  },
60
60
  dueToday: {
61
- title: "Due Today",
62
- description: "Grand Total is due before your subscription start. Monthly fee is due on the first day of every cycle period.",
63
- subTotal: "Upfront Fees + Monthly Fee",
64
- serviceFee: "Service Fee (8%)",
65
- grandTotal: "Grand Total"
61
+ title: 'Due Today',
62
+ description: 'Grand Total is due before your subscription start. Monthly fee is due on the first day of every cycle period.',
63
+ subTotal: 'Upfront Fees + Monthly Fee',
64
+ serviceFee: 'Service Fee (8%)',
65
+ grandTotal: 'Grand Total'
66
66
  },
67
- extraCharge: "Extra Charge",
68
- promo: "Promo",
67
+ extraCharge: 'Extra Charge',
68
+ promo: 'Promo',
69
69
  gfv: {
70
- title: "Guaranteed Future Value (GFV)"
70
+ title: 'Guaranteed Future Value (GFV)'
71
71
  }
72
72
  }
73
73
  },
74
74
  terms: {
75
- title: "Terms",
75
+ title: 'Terms',
76
76
  content: [
77
- "This quotation is valid for 7 days.",
78
- "All vehicles proposed are unique and are available to our customers on a first come first served basis.",
79
- "The Mileage Package is the monthly mileage cap for the vehicle. If you exceed this cap for any given month, excess mileage charges will be incurred.",
80
- "Initial payment to be made within 7 days of the invoice date.",
81
- "Subscription starts on the date of the car delivery.",
82
- "The upfront fees are billed one-time per subscription, before the subscription starts.",
83
- "All monthly recurring fees are billed on the same date as the delivery of the vehicle.",
84
- "Scheduling delivery will only commence Grand Total is fully paid, 7 - 30+ days after payment and subject to vehicle availability."
77
+ 'This quotation is valid for 7 days.',
78
+ 'All vehicles proposed are unique and are available to our customers on a first come first served basis.',
79
+ 'The Mileage Package is the monthly mileage cap for the vehicle. If you exceed this cap for any given month, excess mileage charges will be incurred.',
80
+ 'Initial payment to be made within 7 days of the invoice date.',
81
+ 'Subscription starts on the date of the car delivery.',
82
+ 'The upfront fees are billed one-time per subscription, before the subscription starts.',
83
+ 'All monthly recurring fees are billed on the same date as the delivery of the vehicle.',
84
+ 'Scheduling delivery will only commence Grand Total is fully paid, 7 - 30+ days after payment and subject to vehicle availability.'
85
85
  ]
86
86
  }
87
87
  };
@@ -39,32 +39,32 @@ export var formatAddress = function(originalAddress) {
39
39
  export var getSimplifiedPlanTranslation = function(plan) {
40
40
  switch(plan){
41
41
  case 'plan60':
42
- return "60 Months";
42
+ return '60 Months';
43
43
  case 'plan36':
44
- return "36 Months";
44
+ return '36 Months';
45
45
  case 'plan24':
46
- return "24 Months";
46
+ return '24 Months';
47
47
  case 'plan12':
48
- return "12 Months";
48
+ return '12 Months';
49
49
  case 'plan1':
50
- return "Monthly";
50
+ return 'Monthly';
51
51
  case 'planWeekly':
52
- return "Weekly";
52
+ return 'Weekly';
53
53
  default:
54
- return "Unknown Plan";
54
+ return 'Unknown Plan';
55
55
  }
56
56
  };
57
57
  export var getMileagePackageTranslation = function(mileagePackage) {
58
58
  switch(mileagePackage){
59
59
  case 'lite':
60
- return "Lite";
60
+ return 'Lite';
61
61
  case 'standard':
62
- return "Standard";
62
+ return 'Standard';
63
63
  case 'plus':
64
- return "Plus";
64
+ return 'Plus';
65
65
  case 'unlimited':
66
- return "Unlimited";
66
+ return 'Unlimited';
67
67
  default:
68
- return "Unknown Mileage Package";
68
+ return 'Unknown Mileage Package';
69
69
  }
70
70
  };