Nra commited on
Commit
9b5f024
·
verified ·
1 Parent(s): 4f6bf7b

Upload 15 files

Browse files
Files changed (7) hide show
  1. Invoice_greatlearning.html +24 -2
  2. Invoice_msft.html +23 -1
  3. Invoice_visualpath.html +24 -2
  4. invoice.js +3 -3
  5. prompt.txt +25 -0
  6. text.txt +133 -0
  7. utils.js +11 -2
Invoice_greatlearning.html CHANGED
@@ -309,7 +309,7 @@
309
  font-size: 9pt;
310
  line-height: 1.2;
311
  -webkit-print-color-adjust: exact;
312
- color-adjust: exact;
313
  }
314
 
315
  .container {
@@ -390,7 +390,29 @@
390
  </div>
391
  <div>
392
  <label for="invoiceNumber">Invoice Number:</label>
393
- <input type="text" id="invoiceNumber" placeholder="e.g., xxx/06/2025" required>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  </div>
395
  <div>
396
  <label for="courseTopicSelect">Topic & Amount:</label>
 
309
  font-size: 9pt;
310
  line-height: 1.2;
311
  -webkit-print-color-adjust: exact;
312
+ print-color-adjust: exact;
313
  }
314
 
315
  .container {
 
390
  </div>
391
  <div>
392
  <label for="invoiceNumber">Invoice Number:</label>
393
+ <select id="invoiceNumber" required>
394
+ <option value="" disabled selected>Select Invoice Number</option>
395
+ <option value="001">001</option>
396
+ <option value="002">002</option>
397
+ <option value="003">003</option>
398
+ <option value="004">004</option>
399
+ <option value="005">005</option>
400
+ <option value="006">006</option>
401
+ <option value="007">007</option>
402
+ <option value="008">008</option>
403
+ <option value="009">009</option>
404
+ <option value="010">010</option>
405
+ <option value="011">011</option>
406
+ <option value="012">012</option>
407
+ <option value="013">013</option>
408
+ <option value="014">014</option>
409
+ <option value="015">015</option>
410
+ <option value="016">016</option>
411
+ <option value="017">017</option>
412
+ <option value="018">018</option>
413
+ <option value="019">019</option>
414
+ <option value="020">020</option>
415
+ </select>
416
  </div>
417
  <div>
418
  <label for="courseTopicSelect">Topic & Amount:</label>
Invoice_msft.html CHANGED
@@ -390,7 +390,29 @@
390
  </div>
391
  <div>
392
  <label for="invoiceNumber">Invoice Number:</label>
393
- <input type="text" id="invoiceNumber" placeholder="e.g., xxx/06/2025" required>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  </div>
395
  <div>
396
  <label for="courseTopicSelect">Topic & Amount:</label>
 
390
  </div>
391
  <div>
392
  <label for="invoiceNumber">Invoice Number:</label>
393
+ <select id="invoiceNumber" required>
394
+ <option value="" disabled selected>Select Invoice Number</option>
395
+ <option value="001">001</option>
396
+ <option value="002">002</option>
397
+ <option value="003">003</option>
398
+ <option value="004">004</option>
399
+ <option value="005">005</option>
400
+ <option value="006">006</option>
401
+ <option value="007">007</option>
402
+ <option value="008">008</option>
403
+ <option value="009">009</option>
404
+ <option value="010">010</option>
405
+ <option value="011">011</option>
406
+ <option value="012">012</option>
407
+ <option value="013">013</option>
408
+ <option value="014">014</option>
409
+ <option value="015">015</option>
410
+ <option value="016">016</option>
411
+ <option value="017">017</option>
412
+ <option value="018">018</option>
413
+ <option value="019">019</option>
414
+ <option value="020">020</option>
415
+ </select>
416
  </div>
417
  <div>
418
  <label for="courseTopicSelect">Topic & Amount:</label>
Invoice_visualpath.html CHANGED
@@ -309,7 +309,7 @@
309
  font-size: 9pt;
310
  line-height: 1.2;
311
  -webkit-print-color-adjust: exact;
312
- color-adjust: exact;
313
  }
314
 
315
  .container {
@@ -390,7 +390,29 @@
390
  </div>
391
  <div>
392
  <label for="invoiceNumber">Invoice Number:</label>
393
- <input type="text" id="invoiceNumber" placeholder="e.g., xxx/06/2025" required>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  </div>
395
  <div>
396
  <label for="courseTopicSelect">Topic & Amount:</label>
 
309
  font-size: 9pt;
310
  line-height: 1.2;
311
  -webkit-print-color-adjust: exact;
312
+ print-color-adjust: exact;
313
  }
314
 
315
  .container {
 
390
  </div>
391
  <div>
392
  <label for="invoiceNumber">Invoice Number:</label>
393
+ <select id="invoiceNumber" required>
394
+ <option value="" disabled selected>Select Invoice Number</option>
395
+ <option value="001">001</option>
396
+ <option value="002">002</option>
397
+ <option value="003">003</option>
398
+ <option value="004">004</option>
399
+ <option value="005">005</option>
400
+ <option value="006">006</option>
401
+ <option value="007">007</option>
402
+ <option value="008">008</option>
403
+ <option value="009">009</option>
404
+ <option value="010">010</option>
405
+ <option value="011">011</option>
406
+ <option value="012">012</option>
407
+ <option value="013">013</option>
408
+ <option value="014">014</option>
409
+ <option value="015">015</option>
410
+ <option value="016">016</option>
411
+ <option value="017">017</option>
412
+ <option value="018">018</option>
413
+ <option value="019">019</option>
414
+ <option value="020">020</option>
415
+ </select>
416
  </div>
417
  <div>
418
  <label for="courseTopicSelect">Topic & Amount:</label>
invoice.js CHANGED
@@ -7,11 +7,11 @@ document.addEventListener('DOMContentLoaded', () => {
7
  invoiceDateInput.value = today;
8
 
9
  // Set default invoice number
10
- invoiceNumberInput.value = generateInvoiceNumber();
11
 
12
  // Event Listeners for input changes
13
  invoiceDateInput.addEventListener('change', updateInvoice);
14
- invoiceNumberInput.addEventListener('input', updateInvoice);
15
  courseTopicSelect.addEventListener('change', updateInvoice); // Listen to new dropdown
16
 
17
  // Print button functionality with validation
@@ -42,7 +42,7 @@ document.addEventListener('DOMContentLoaded', () => {
42
  clearBtn.addEventListener('click', () => {
43
  // Clear all input fields and reset the invoice display
44
  invoiceDateInput.value = today;
45
- invoiceNumberInput.value = generateInvoiceNumber();
46
  courseTopicSelect.value = '';
47
  // Call updateInvoice to reset displayed values to their defaults
48
  updateInvoice();
 
7
  invoiceDateInput.value = today;
8
 
9
  // Set default invoice number
10
+ invoiceNumberInput.value = "001";
11
 
12
  // Event Listeners for input changes
13
  invoiceDateInput.addEventListener('change', updateInvoice);
14
+ invoiceNumberInput.addEventListener('change', updateInvoice);
15
  courseTopicSelect.addEventListener('change', updateInvoice); // Listen to new dropdown
16
 
17
  // Print button functionality with validation
 
42
  clearBtn.addEventListener('click', () => {
43
  // Clear all input fields and reset the invoice display
44
  invoiceDateInput.value = today;
45
+ invoiceNumberInput.value = "001";
46
  courseTopicSelect.value = '';
47
  // Call updateInvoice to reset displayed values to their defaults
48
  updateInvoice();
prompt.txt ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ clone app_V2 and create new v3 version.
2
+
3
+ Make the following changes.
4
+
5
+ I need another Invoice Template for Visual Path Vendor.
6
+
7
+ Keep the original Invoice call it invoice for Great Learning.
8
+
9
+ Create a new Invoice for Visual PAth. Replace the GST details of Buyer Great LEarning with the following details of Visual path
10
+
11
+ ISUALPATH
12
+ GSTIN: 36AAUFV6630R1Z1
13
+ FLATNO-205,NilgiriBlock,AdithyaEnclaveAmeerpet,
14
+ Hyderabad - 500016.
15
+ Mobile: +91 9989971070
16
+ Email: malathi@visualpath.in
17
+ malathi.visualpath@gmail.com
18
+
19
+
20
+ Also rename the data file to data for great learning. and make the necessary changes in the original code to refer correct files.
21
+
22
+ MAke a new data for visual path vendor and I will then update it later.
23
+
24
+
25
+ So in nut shell when i open the application. I should be able to print invoice for Great LEarning and Visual path separately. Should have those optons in the index file as well.
text.txt ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+
4
+ Operational Excellence with LLMOps
5
+ 0 / 30 Videos Completed
6
+ ·
7
+ 0 / 26 Assessments Completed
8
+ ·
9
+ 0 / 29 Resources Viewed
10
+ 0%
11
+ START LEARNING
12
+ LLMOps Foundations and Lifecycle - Learning Objectives and Agenda
13
+
14
+ Learning
15
+
16
+ Mandatory Assessments
17
+
18
+ Recordings
19
+
20
+ Groups
21
+
22
+ Notes
23
+ Week 13: Foundations of LLMOps
24
+ 30 Videos · 25 Assessments · 1 Resource
25
+ LLMOps Foundations and Lifecycle - Learning Objectives and Agenda
26
+ 3 Mins 34 Secs
27
+ Introduction to MLOps
28
+ 8 Mins 14 Secs
29
+ Introduction to MLOps - Test Your Understanding
30
+ The Foundational Equation - MLOps
31
+ 15 Mins 35 Secs
32
+ The Foundational Equation – MLOps - Test Your Understanding
33
+ Semantics of Dev Staging and Production Environment
34
+ 7 Mins 59 Secs
35
+ Semantics of Dev, Staging and Production Environment - Test Your Understanding
36
+ ML Deployment Patterns
37
+ 7 Mins 15 Secs
38
+ ML Deployment Patterns - Test Your Understanding
39
+ Multi Environment Workflow - Development
40
+ 8 Mins 54 Secs
41
+ Multi Environment Workflow - Staging and Production
42
+ 17 Mins 37 Secs
43
+ Multi Environment Workflow – Development, Staging and Production - Test Your Understanding
44
+ What Changes with LLMs
45
+ 11 Mins 31 Secs
46
+ What Changes with LLMs - Test Your Understanding
47
+ The Goals of LLM Ops
48
+ 23 Mins 37 Secs
49
+ The Goals of LLMOps - Test Your Understanding
50
+ Key Components of LLM Apps and Prompt Engineering
51
+ 11 Mins 30 Secs
52
+ Key Components of LLM Apps and Prompt Engineering - Test Your Understanding
53
+ Leveraging your own Data
54
+ 17 Mins 18 Secs
55
+ Leveraging your own Data - Test Your Understanding
56
+ Model Evaluation in LLM
57
+ 10 Mins 18 Secs
58
+ Model Evaluation in LLM - Test Your Understanding
59
+ Packaging Models and Pipelines for Deployment
60
+ 6 Mins 35 Secs
61
+ Packaging Models and Pipelines for Deployment - Test Your Understanding
62
+ Introduction to LLM Inference
63
+ 9 Mins 23 Secs
64
+ Introduction to LLM Inference - Test Your Understanding
65
+ Managing Cost and Performance Trade-Offs
66
+ 11 Mins 25 Secs
67
+ Managing Cost and Performance Trade-Offs - Test Your Understanding
68
+ Automating LLM Lifecycle
69
+ 6 Mins 20 Secs
70
+ Automating LLM Lifecycle - Test Your Understanding
71
+ LLMOps Foundations and Lifecycle - Summary and Learning Outcomes
72
+ 4 Mins 27 Secs
73
+ Additional Recorded Content
74
+ Automating LLM Lifecycle - Data Engineering
75
+ 12 Mins 16 Secs
76
+ Automating LLM Lifecycle – Data Engineering - Test Your Understanding
77
+ Automating LLM Lifecycle - Pre-Training
78
+ 8 Mins 43 Secs
79
+ Automating LLM Lifecycle – Pre-Training - Test Your Understanding
80
+ Automating LLM Lifecycle - LLM Router
81
+ 8 Mins 59 Secs
82
+ Automating LLM Lifecycle – LLM Router - Test Your Understanding
83
+ Automating LLM Lifecycle - Domain Adaptation
84
+ 11 Mins 39 Secs
85
+ Automating LLM Lifecycle – Domain Adaptation - Test Your Understanding
86
+ Automating LLM Lifecycle - Evaluation
87
+ 8 Mins 45 Secs
88
+ Automating LLM Lifecycle – Evaluation - Test Your Understanding
89
+ Automating LLM Lifecycle - Integration and Orchestration
90
+ 7 Mins 19 Secs
91
+ Automating LLM Lifecycle – Integration and Orchestration - Test Your Understanding
92
+ Automating LLM Lifecycle - Security and Reliability
93
+ 10 Mins 33 Secs
94
+ Automating LLM Lifecycle – Security and Reliability - Test Your Understanding
95
+ Deployment and Monitoring - Deployment Methods
96
+ 6 Mins 15 Secs
97
+ Deployment and Monitoring – Deployment Methods - Test Your Understanding
98
+ Deployment and Monitoring - Model Serving
99
+ 12 Mins 31 Secs
100
+ Deployment and Monitoring – Model Serving - Test Your Understanding
101
+ Deployment and Monitoring - Deployment Strategies
102
+ 9 Mins 22 Secs
103
+ Deployment and Monitoring – Deployment Strategies - Test Your Understanding
104
+ Deployment and Monitoring - Monitoring
105
+ 8 Mins 26 Secs
106
+ Deployment and Monitoring – Monitoring - Test Your Understanding
107
+ Case Study - Specialized Regulatory Claims Assistance
108
+ 4 Mins 30 Secs
109
+ AAF Claims Assistance Illustration
110
+ 7 Mins 11 Secs
111
+ REFERENCE MATERIALS
112
+ LLMOps Foundations and Lifecycle.pdf
113
+ 3 MB
114
+ Week 13: Graded Quiz - Foundations of LLMOps
115
+ 1 Assessment
116
+ Week 13: LLMOps Reference Guide
117
+ 4 Resources
118
+ Week 13: Foundations of LLMOps - Hands-on Handbook (No Code Track)
119
+ 3 Resources
120
+ Week 13: LLMOps Foundations and Lifecycle - MLS (Code Track)
121
+ 4 Resources
122
+ Week 13: LLMOps Foundations and Lifecycle - MLS (Code Track) (Only for Mentors)
123
+ 4 Resources
124
+ VS Code Setup and Walkthrough
125
+ 3 Resources
126
+ Week 13: LLMOps Foundations and Lifecycle - MLS (No Code Track)
127
+ 5 Resources
128
+ Week 13: LLMOps Foundations and Lifecycle - MLS (No Code Track) (Only for Mentors)
129
+ 5 Resources
130
+ ·
131
+ Privacy
132
+ ·
133
+ Terms
utils.js CHANGED
@@ -77,17 +77,26 @@ function generateInvoiceNumber() {
77
  function updateInvoice() {
78
  // Get selected values
79
  const selectedDate = invoiceDateInput.value;
80
- const selectedInvoiceNo = invoiceNumberInput.value;
81
 
82
  // Get selected topic name and its associated amount
83
  const selectedOption = courseTopicSelect.options[courseTopicSelect.selectedIndex];
84
  const selectedTopic = selectedOption ? selectedOption.textContent : 'INV_TOPIC';
85
  const baseAmount = parseFloat(selectedOption ? selectedOption.value : 0) || 0;
86
 
 
 
 
 
 
 
 
 
 
87
  // Update display elements
88
  displayInvoiceDate.textContent = selectedDate ? new Date(selectedDate).toLocaleDateString('en-GB') : 'INV_DATE';
89
  displayTopic.textContent = 'Education Services : ' + selectedTopic;
90
- displayInvoiceNo.textContent = selectedInvoiceNo || 'INV_NUMBER';
91
  displayBaseAmount.textContent = baseAmount.toFixed(2);
92
 
93
  // --- Calculations for GST at 18% ---
 
77
  function updateInvoice() {
78
  // Get selected values
79
  const selectedDate = invoiceDateInput.value;
80
+ const seq = invoiceNumberInput.value;
81
 
82
  // Get selected topic name and its associated amount
83
  const selectedOption = courseTopicSelect.options[courseTopicSelect.selectedIndex];
84
  const selectedTopic = selectedOption ? selectedOption.textContent : 'INV_TOPIC';
85
  const baseAmount = parseFloat(selectedOption ? selectedOption.value : 0) || 0;
86
 
87
+ // Generate full invoice number
88
+ let fullInvoiceNo = 'INV_NUMBER';
89
+ if (selectedDate && seq) {
90
+ const date = new Date(selectedDate);
91
+ const month = String(date.getMonth() + 1).padStart(2, '0');
92
+ const year = date.getFullYear();
93
+ fullInvoiceNo = `${seq}/${month}/${year}`;
94
+ }
95
+
96
  // Update display elements
97
  displayInvoiceDate.textContent = selectedDate ? new Date(selectedDate).toLocaleDateString('en-GB') : 'INV_DATE';
98
  displayTopic.textContent = 'Education Services : ' + selectedTopic;
99
+ displayInvoiceNo.textContent = fullInvoiceNo;
100
  displayBaseAmount.textContent = baseAmount.toFixed(2);
101
 
102
  // --- Calculations for GST at 18% ---