diff --git a/AstuteSystem/sql/astute.sql b/AstuteSystem/sql/astute.sql index 90b3869..db57c73 100644 --- a/AstuteSystem/sql/astute.sql +++ b/AstuteSystem/sql/astute.sql @@ -260,6 +260,8 @@ CREATE TABLE IF NOT EXISTS `invoice` ( -- Dumping data for table astute.invoice: ~0 rows (approximately) /*!40000 ALTER TABLE `invoice` DISABLE KEYS */; +INSERT INTO `invoice` (`inv_no`, `inv_date`, `PO_num`, `bill_amt`, `special_notes`, `certification`, `inv_status`, `pmt_status`) VALUES + ('VDO-01_DRAFT_559', '2018-09-23', 'VDOT-54321', 3500, 'First Invoice', 'Certified that the above items and rates are in accordance with the contractual agreement as verified by the undersigned', 1, 0); /*!40000 ALTER TABLE `invoice` ENABLE KEYS */; -- Dumping structure for table astute.invoice_detail @@ -280,6 +282,11 @@ CREATE TABLE IF NOT EXISTS `invoice_detail` ( -- Dumping data for table astute.invoice_detail: ~0 rows (approximately) /*!40000 ALTER TABLE `invoice_detail` DISABLE KEYS */; +INSERT INTO `invoice_detail` (`inv_num`, `line_item_num`, `PO_line_item_num`, `service_type_id`, `description`, `qty`, `fee`, `fee_type_id`) VALUES + ('VDO-01_DRAFT_559', 1, 1, 1, 'Study existing designs', 0.25, 1000, 1), + ('VDO-01_DRAFT_559', 2, 2, 2, 'Modify design', 0.25, 2000, 1), + ('VDO-01_DRAFT_559', 3, 3, 4, 'Cost estimation', 0.25, 1000, 1), + ('VDO-01_DRAFT_559', 4, 4, 3, 'Peer Review', 25, 100, 2); /*!40000 ALTER TABLE `invoice_detail` ENABLE KEYS */; -- Dumping structure for table astute.invoice_notes @@ -401,11 +408,10 @@ CREATE TABLE IF NOT EXISTS `po_detail` ( -- Dumping data for table astute.po_detail: ~5 rows (approximately) /*!40000 ALTER TABLE `po_detail` DISABLE KEYS */; INSERT INTO `po_detail` (`PO_num`, `line_item_no`, `service_desc`, `fee_type_id`, `qty`, `service_type_id`, `fee`, `remaining_qty`) VALUES - ('VDOT-54321', 1, 'Study existing designs', 1, 1, 1, 1000, 1), + ('VDOT-54321', 1, 'Study existing designs', 1, 1, 1, 1000, 0.75), ('VDOT-54321', 2, 'Modify design', 1, 1, 2, 2000, 1), ('VDOT-54321', 3, 'Cost estimation', 1, 1, 4, 1000, 1), - ('VDOT-54321', 4, 'Peer Review', 2, 100, 3, 100, 100), - ('VDOT-54321', 5, 'Forensic Investigation', 2, 50, 5, 100, 50); + ('VDOT-54321', 4, 'Peer Review', 2, 100, 3, 100, 100); /*!40000 ALTER TABLE `po_detail` ENABLE KEYS */; -- Dumping structure for table astute.service_type