File size: 5,811 Bytes
4fb0c68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import React from 'react';
import Sidebar from '../components/SideBarGPT';

const DocumentManagement = () => {
  return (
    <div className="flex">
      <Sidebar />
      <div className="ml-64 flex-1 p-6 bg-gray-100">
        <div className="p-4 bg-white rounded-lg shadow">
          <h2 className="text-2xl font-bold mb-4">Selected MDL List</h2>
          <div className="space-y-4">
            <div className="p-4 bg-blue-50 rounded-lg">
              <h3 className="font-semibold">Project Details</h3>
            </div>
            <div className="p-4 bg-blue-50 rounded-lg">
              <h3 className="font-semibold">SO Details</h3>
            </div>
            <div className="p-4 bg-blue-50 rounded-lg">
              <h3 className="font-semibold">Master Document List</h3>
              <table className="min-w-full bg-white rounded-lg">
                <thead className="bg-gray-200">
                  <tr>
                    <th className="py-2 px-4">Document Title</th>
                    <th className="py-2 px-4">Planned Date</th>
                    <th className="py-2 px-4">Doc. No</th>
                    <th className="py-2 px-4">Latest Rev No</th>
                    <th className="py-2 px-4">Submission Dt</th>
                    <th className="py-2 px-4">Commented Dt</th>
                    <th className="py-2 px-4">Approved Dt</th>
                    <th className="py-2 px-4">Approval Status</th>
                    <th className="py-2 px-4">Options For Enquiry</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td className="border px-4 py-2">Strainer Drawing</td>
                    <td className="border px-4 py-2">06/17/2017</td>
                    <td className="border px-4 py-2">15201</td>
                    <td className="border px-4 py-2">R1</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">APPROVED</td>
                    <td className="border px-4 py-2">
                      <button className="bg-blue-500 text-white px-2 py-1 rounded">Options</button>
                    </td>
                  </tr>
                  <tr>
                    <td className="border px-4 py-2">Strainer QCP</td>
                    <td className="border px-4 py-2">08/20/2017</td>
                    <td className="border px-4 py-2">EC5024</td>
                    <td className="border px-4 py-2">R4</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">APPROVED</td>
                    <td className="border px-4 py-2">
                      <button className="bg-blue-500 text-white px-2 py-1 rounded">Options</button>
                    </td>
                  </tr>
                  <tr>
                    <td className="border px-4 py-2">Motor GA Drawing</td>
                    <td className="border px-4 py-2">08/30/2017</td>
                    <td className="border px-4 py-2">EC4121</td>
                    <td className="border px-4 py-2">R2</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">05/07/2017</td>
                    <td className="border px-4 py-2">APPROVED</td>
                    <td className="border px-4 py-2">
                      <button className="bg-blue-500 text-white px-2 py-1 rounded">Options</button>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div className="p-4 bg-blue-50 rounded-lg">
              <h3 className="font-semibold">Revision History: Strainer Drawing</h3>
              <table className="min-w-full bg-white rounded-lg">
                <thead className="bg-gray-200">
                  <tr>
                    <th className="py-2 px-4">SR. No</th>
                    <th className="py-2 px-4">Document Title</th>
                    <th className="py-2 px-4">Doc. No</th>
                    <th className="py-2 px-4">Latest Rev No</th>
                    <th className="py-2 px-4">Submission Dt</th>
                    <th className="py-2 px-4">Commented Dt</th>
                    <th className="py-2 px-4">Approved Dt</th>
                    <th className="py-2 px-4">Approval Status</th>
                    <th className="py-2 px-4">Options For Enquiry</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td className="border px-4 py-2">1</td>
                    <td className="border px-4 py-2">Strainer Drawing</td>
                    <td className="border px-4 py-2">15201</td>
                    <td className="border px-4 py-2">R0</td>
                    <td className="border px-4 py-2">02/07/2017</td>
                    <td className="border px-4 py-2">02/07/2017</td>
                    <td className="border px-4 py-2">02/07/2017</td>
                    <td className="border px-4 py-2">Enquiry</td>
                    <td className="border px-4 py-2">
                      <button className="bg-blue-500 text-white px-2 py-1 rounded">Options</button>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
};

export default DocumentManagement;