· 7 years ago · Mar 01, 2019, 01:20 PM
1-- Adminer 4.7.1 MySQL dump
2
3SET NAMES utf8;
4SET time_zone = '+00:00';
5SET foreign_key_checks = 0;
6SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
7
8DROP TABLE IF EXISTS `document`;
9CREATE TABLE `document` (
10 `document_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
11 `document_name` varchar(100) NOT NULL,
12 PRIMARY KEY (`document_id`)
13) ENGINE=InnoDB DEFAULT CHARSET=latin1;
14
15INSERT INTO `document` (`document_id`, `document_name`) VALUES
16(1, 'Paspor'),
17(2, 'Visa'),
18(3, 'KTP'),
19(4, 'Kartu Keluarga');
20
21DROP TABLE IF EXISTS `document_information`;
22CREATE TABLE `document_information` (
23 `document_information_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
24 `information_id` int(10) unsigned NOT NULL,
25 `language_id` int(10) unsigned NOT NULL,
26 `document_product_id` int(10) unsigned NOT NULL,
27 `document_information_title` varchar(100) DEFAULT NULL,
28 `document_information_content` text NOT NULL,
29 `document_information_order` int(8) DEFAULT NULL,
30 PRIMARY KEY (`document_information_id`),
31 KEY `document.document_information?document.information` (`information_id`),
32 KEY `document.document_information?document.document_product` (`document_product_id`),
33 KEY `language_id` (`language_id`),
34 CONSTRAINT `document.document_information?document.document_product` FOREIGN KEY (`document_product_id`) REFERENCES `document_product` (`document_product_id`),
35 CONSTRAINT `document.document_information?document.information` FOREIGN KEY (`information_id`) REFERENCES `information` (`information_id`),
36 CONSTRAINT `document_information_ibfk_1` FOREIGN KEY (`language_id`) REFERENCES `api`.`language` (`language_id`)
37) ENGINE=InnoDB DEFAULT CHARSET=latin1;
38
39INSERT INTO `document_information` (`document_information_id`, `information_id`, `language_id`, `document_product_id`, `document_information_title`, `document_information_content`, `document_information_order`) VALUES
40(13, 1, 1, 13, 'persyaratan', '<p>1. Passport Asli ( Untuk Perpanjang Passport)<br />\r\n2. Copy E-KTP (KTP harus<strong> </strong>berupa<strong> Elektronik </strong><strong>KTP</strong>, jika belum memiliki <strong> E-KTP</strong>maka harus melampirkan <strong>resi KTP, </strong> dimana menerangkan bahwa sedang dalam pengurusan/proses <strong>E-KTP</strong>.)<br />\r\n3. Copy KK<br />\r\n4. Copy Akte Lahir<br />\r\n5. Copy STTB SMA<br />\r\n6. Copy WNI ( Untuk Keturunan )<br />\r\n7. Copy Ganti Nama<br />\r\n8. Copy Akte Nikah<br />\r\n9. Surat Sponsor (Karyawan) : Harus Dengan Kop Surat / Cap Perusahaan Dengan Mencantumkan Alamat, Nomor Telepon, Jabatan, Tujuan dan Kapan Keberangkatan<br />\r\n*Bila Proses Paspor Baru, Dipastikan Belum Pernah Mohon Paspor di Imigrasi Manapun<br />\r\n*Dipastikan Surat-Surat Asli Ada Saat Foto</p>', 1),
41(14, 2, 1, 13, 'persyaratan', '<p>1. Passport Asli ( Untuk Perpanjang Passport)<br />\r\n2. Copy Passport Kedua Orang Tua<br />\r\n3. Copy KTP Kedua Orang Tua<br />\r\n4. Copy KK ( Nama Anak Harus Sudah Tercantum Didalamnya )<br />\r\n5. Copy Akte Nikah Orang Tua<br />\r\n6. Copy Akte Lahir Anak<br />\r\n7. Pada Saat Foto di Imigrasi Kedua Orang Tua Harus Mendampingi, Jika Salah Satu Orang Tua Tidak Bisa Mendampingi Harus Melampirkan Surat Kuasa di Atas Meterai dan KTP Asli<br />\r\n*Bila Proses Paspor Baru, Dipastikan Belum Pernah Mohon Paspor di Imigrasi Manapun<br />\r\n*Dipastikan Surat-Surat Asli Ada Saat Foto</p>', 2),
42(15, 5, 1, 14, 'syarat dan ketentuan', '<p>Lamanya proses visa dihitung setelah semua persyaratan dokumen kami terima lengkap dan diterima oleh kedutaan. Visa dikabulkan atau ditolak merupakan kewenangan dari pihak kedutaan sepenuhnya. Tidak ada pengembalian biaya visa apabila ada pembatalan dari pihak pemohon atau visa ditolak kedutaan.</p>', 1),
43(16, 6, 1, 14, 'persyaratan', '<ol>\r\n <li>Passport Baru yang masih berlaku minimal 8 bulan + Paspor Lama.</li>\r\n <li>Pas Photo berwarna ukuran <strong>4 x 6 cm </strong>sebanyak <strong>2 lembar terbaru background putih </strong>dan tulis nama masing-masing tamu dibelakang foto dengan jelas</li>\r\n <li>Surat Sponsor dari perusahaan / tempat usaha lengkap dengan Kop Surat perusahaan dengan tanda tangan penjamin dan cap perusahaan dalam bahasa inggris.</li>\r\n <li>Jika Perusahaan / tempat usaha milik sendiri harus melampirkan copy SIUP / Surat ijin yang lain</li>\r\n <li>Fotocopy KK, A.nikah,A. lahir + Ganti nama ( jika ada )</li>\r\n <li>Bukti Keuangan 3 bln terakhir asli ( dilampirkan selama proses visa ) / copy yang harus dilegalisir perorang dan perlembar sesuai dengan aslinya oleh pihak bank ( meskipun 1 keluarga ).</li>\r\n <li>Print Out Ticket</li>\r\n <li>Konfirmasi hotel selama di Afrika</li>\r\n <li>Isi dan Tanda tangan formulir memakai tinta Bolpen hitam.</li>\r\n <li>Anak bepergian tidak dengan kedua orang tuanya , harus melampirkan Form Parental Consent yang dilegalisir oleh Notaris. Dan pada saat berangkat harus membawa akte lahir asli.</li>\r\n</ol>', 3),
44(17, 7, 1, 14, 'notes', '<p>Harga dan Persyaratan Visa dapat berubah sewaktu-waktu.</p>\r\n\r\n<p><strong>HARAP DIPERHATIKAN MASA BERLAKU VISA DAN TANGGAL KEBERANGKATAN.</strong></p>\r\n\r\n<p>Informasi lengkap mengenai pengurusan visa, silahkan menghubungi kami di <strong>(021) 62319838</strong></p>', 4);
45
46DROP TABLE IF EXISTS `document_pax`;
47CREATE TABLE `document_pax` (
48 `document_pax_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
49 `document_pax_name` varchar(20) NOT NULL,
50 PRIMARY KEY (`document_pax_id`)
51) ENGINE=InnoDB DEFAULT CHARSET=latin1;
52
53INSERT INTO `document_pax` (`document_pax_id`, `document_pax_name`) VALUES
54(1, 'adult'),
55(2, 'child'),
56(3, 'infant');
57
58DROP TABLE IF EXISTS `document_price`;
59CREATE TABLE `document_price` (
60 `document_price_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
61 `document_process_id` int(10) unsigned NOT NULL,
62 `document_pax_id` int(10) unsigned NOT NULL,
63 `supplier_id` int(10) unsigned NOT NULL,
64 `document_price_currency` varchar(5) NOT NULL,
65 `document_price_value` double NOT NULL,
66 PRIMARY KEY (`document_price_id`),
67 KEY `document.document_price?document_process` (`document_process_id`),
68 KEY `document.document_price?document_pax` (`document_pax_id`),
69 KEY `document.document_price?api.supplier` (`supplier_id`),
70 CONSTRAINT `document.document_price?api.supplier` FOREIGN KEY (`supplier_id`) REFERENCES `api`.`supplier` (`supplier_id`),
71 CONSTRAINT `document.document_price?document_pax` FOREIGN KEY (`document_pax_id`) REFERENCES `document_pax` (`document_pax_id`),
72 CONSTRAINT `document.document_price?document_process` FOREIGN KEY (`document_process_id`) REFERENCES `document_process` (`document_process_id`)
73) ENGINE=InnoDB DEFAULT CHARSET=latin1;
74
75INSERT INTO `document_price` (`document_price_id`, `document_process_id`, `document_pax_id`, `supplier_id`, `document_price_currency`, `document_price_value`) VALUES
76(18, 5, 1, 289, 'idr', 15000),
77(19, 5, 2, 289, 'idr', 3000),
78(20, 5, 3, 289, 'idr', 2000),
79(21, 6, 1, 289, 'idr', 3000),
80(22, 6, 2, 289, 'idr', 3000),
81(23, 6, 3, 289, 'idr', 3000),
82(24, 7, 1, 289, 'idr', 3000),
83(25, 7, 2, 289, 'idr', 2000),
84(26, 7, 3, 289, 'idr', 1000),
85(27, 8, 1, 289, 'idr', 1000),
86(28, 8, 2, 289, 'idr', 3000),
87(29, 8, 3, 289, 'idr', 3000);
88
89DROP TABLE IF EXISTS `document_process`;
90CREATE TABLE `document_process` (
91 `document_process_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
92 `document_type_id` int(10) unsigned NOT NULL,
93 `document_process_name` varchar(100) NOT NULL,
94 `document_process_slug` varchar(100) NOT NULL,
95 PRIMARY KEY (`document_process_id`),
96 KEY `document.document_process?document_type` (`document_type_id`),
97 CONSTRAINT `document.document_process?document_type` FOREIGN KEY (`document_type_id`) REFERENCES `document_type` (`document_type_id`)
98) ENGINE=InnoDB DEFAULT CHARSET=latin1;
99
100INSERT INTO `document_process` (`document_process_id`, `document_type_id`, `document_process_name`, `document_process_slug`) VALUES
101(5, 14, '12', '12'),
102(6, 15, '3', '3'),
103(7, 16, '12', '12'),
104(8, 17, '12', '12');
105
106DROP TABLE IF EXISTS `document_product`;
107CREATE TABLE `document_product` (
108 `document_product_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
109 `document_id` int(10) unsigned NOT NULL,
110 `document_product_name` varchar(100) NOT NULL,
111 `document_product_image` varchar(100) DEFAULT NULL,
112 `document_product_created_date` datetime NOT NULL,
113 `document_product_updated_date` datetime NOT NULL,
114 `document_product_created_by` int(10) unsigned NOT NULL,
115 `document_product_updated_by` int(10) unsigned NOT NULL,
116 `document_product_slug` varchar(100) DEFAULT NULL,
117 PRIMARY KEY (`document_product_id`),
118 KEY `document.document_product?document.document` (`document_id`),
119 CONSTRAINT `document.document_product?document.document` FOREIGN KEY (`document_id`) REFERENCES `document` (`document_id`)
120) ENGINE=InnoDB DEFAULT CHARSET=latin1;
121
122INSERT INTO `document_product` (`document_product_id`, `document_id`, `document_product_name`, `document_product_image`, `document_product_created_date`, `document_product_updated_date`, `document_product_created_by`, `document_product_updated_by`, `document_product_slug`) VALUES
123(13, 1, 'paspor', NULL, '2018-10-25 11:29:15', '2018-10-25 11:29:15', 859, 859, 'paspor'),
124(14, 2, 'Afrika Selatan', 'Vega.png', '2018-10-25 11:35:04', '2018-10-25 11:35:04', 859, 859, 'eropa/afrika-selatan');
125
126DROP TABLE IF EXISTS `document_type`;
127CREATE TABLE `document_type` (
128 `document_type_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
129 `document_product_id` int(10) unsigned NOT NULL,
130 `document_type_name` varchar(50) NOT NULL,
131 `document_type_slug` varchar(100) NOT NULL,
132 PRIMARY KEY (`document_type_id`),
133 KEY `document.document_type?document_product_id` (`document_product_id`),
134 CONSTRAINT `document.document_type?document_product_id` FOREIGN KEY (`document_product_id`) REFERENCES `document_product` (`document_product_id`)
135) ENGINE=InnoDB DEFAULT CHARSET=latin1;
136
137INSERT INTO `document_type` (`document_type_id`, `document_product_id`, `document_type_name`, `document_type_slug`) VALUES
138(14, 14, 'single', 'single'),
139(15, 14, 'double', 'double'),
140(16, 13, 'Paspor', 'paspor'),
141(17, 13, 'E-Paspor', 'e-paspor');
142
143-- 2019-02-26 05:09:58