/***************STARTING INCORPORATION FORMS**************************/ $sect = $rtf->addSection(); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_CENTER); $sect->writeText('PRIVATE LIMITED COMPANY INCORPORATION
The Companies Act (Chapter 50)
', $font, $parFormat); $sect->writeText('
', $font); $font = new PHPRtfLite_Font(8); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_RIGHT); $sect->writeText('For the purpose of E-filing
', $font, $parFormat); $font = new PHPRtfLite_Font(10); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_CENTER); $table = $sect->addTable(PHPRtfLite_Table::ALIGN_CENTER); $table->addRow(1); $table->addRow(1); $table->addRow(1); $table->addRow(1); $table->addRow(1); $table->addRow(1); $table->addRow(1); $table->addColumnsList(array(8,9.5)); //Merge the first row $table->mergeCellRange(1, 1, 1, 2); // Table border formating $border = new PHPRtfLite_Border( $rtf, new PHPRtfLite_Border_Format(1, '#000000'), new PHPRtfLite_Border_Format(1, '#000000'), new PHPRtfLite_Border_Format(1, '#000000'), new PHPRtfLite_Border_Format(1, '#000000') ); $table->setBorderForCellRange($border, 1, 1, 7, 2); // Write data to the table $table->writeToCell(1, 1, '
Office Details:', $font); $table->writeToCell(2, 1, '
Name of Company:', $font); $table->writeToCell(2, 2, '
'.$this_company['Company']['name'], $font); $table->writeToCell(3, 1, '
Company Limited by:', $font); $table->writeToCell(3, 2, '
'.$this_company['CompanyType']['name'], $font); $table->writeToCell(4, 1, '
Notice of Situation of Registered Office:', $font); $table->writeToCell(4, 2, '
', $font); $table->writeToCell(5, 1, '
Notice of Situation of Office Hours at Registration:', $font); $table->writeToCell(5, 2, '
Mondays to Fridays: 9:00am to 5:00pm', $font); $table->writeToCell(6, 1, '
Address where Register of Members kept if other than the Registered Office:', $font); $table->writeToCell(6, 2, '
', $font); $table->writeToCell(7, 1, '
Principal Activities of the Company:', $font); $table->writeToCell(7, 2, '
'.$this_company['Company']['principal_activity_1'].'
'.$this_company['Company']['principal_activity_2'], $font); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_CENTER); $sect->writeText("
SUMMARY OF SHARE CAPITAL AND SHARES
", $font, $parFormat); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_LEFT); $table_2 = $sect->addTable(PHPRtfLite_Table::ALIGN_CENTER); $table_2->addRow(0.5); $table_2->addRow(0.5); $table_2->addRow(0.5); $table_2->addRow(0.5); $table_2->addRow(0.5); $table_2->addColumnsList(array(8.5,5,4)); //Merge the first row $table_2->mergeCellRange(1, 2, 1, 3); $table_2->setBorderForCellRange($border, 1, 1, 5, 3); $table_2->writeToCell(1, 1, '
Currency :', $font); $table_2->writeToCell(1, 2, 'Singapore Dollars', $font); $table_2->writeToCell(2, 1, 'Class of Shares:', $font); $table_2->writeToCell(2, 2, 'Ordinary', $font); $table_2->writeToCell(2, 3, 'Preference', $font); $table_2->writeToCell(3, 1, 'Number of Shares:', $font); $table_2->writeToCell(3, 2, $this_company['Company']['ordinary_shares'], $font); $table_2->writeToCell(3, 3, $this_company['Company']['preference_shares'], $font); // Merge columns 2 and 3 for the below $table_2->mergeCellRange(4, 2, 4, 3); $table_2->mergeCellRange(5, 2, 5, 3); $table_2->writeToCell(4, 1, 'Issued Share Capital:', $font); $table_2->writeToCell(4, 2, $this_company['Company']['issued_capital'], $font); $table_2->writeToCell(5, 1, 'Paid-up Share Capital:', $font); $table_2->writeToCell(5, 2, $this_company['Company']['paid_up_capital'], $font); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_CENTER); $sect->writeText("
PARTICULARS OF DIRECTORS, MANAGERS, SECRETARIES, AUDITORS,
SHAREHOLDERS AS AT THE DATE OF INCORPORATION

", $font, $parFormat); $parFormat = new PHPRtfLite_ParFormat(PHPRtfLite_ParFormat::TEXT_ALIGN_LEFT); /************Directors table**************/ $table_3 = $sect->addTable(PHPRtfLite_Table::ALIGN_CENTER); $table_3->addRow(0.5); $table_3->addRow(0.5); $table_3->addColumnsList(array(1.5,6.5,4,5.5)); $table_3->mergeCellRange(1,1,1,4); $table_3->writeToCell(1,1, "Directors:", $font); $table_3->writeToCell(2,1, "S/No.", $font); $table_3->writeToCell(2,2, "Name, Address", $font); $table_3->writeToCell(2,3, "Id No.", $font); $table_3->writeToCell(2,4, "Nationality", $font); // Fill in all the directors $directors_ids = array(); foreach($this_company['Director'] as $director){ $directors_ids[] = $director['person_id']; } $this->Director->Person->recursive = 0; $directors = $this->Director->Person->find('all', array( 'conditions' => array( 'OR' => array( 'Person.id' => $directors_ids ) ), 'contain' => array( 'User' => array( 'username' ) ) )); $i = 1; $start_row = 3; foreach($directors as $director){ $table_3->addRow(0.5); $table_3->writeToCell($start_row,1, $i, $font); $table_3->writeToCell($start_row,2, $director['Person']['first_name'].' '.$director['Person']['last_name'].',
'.$director['Person']['address_field_1'].'
'.$this->countryName($director['Person']['address_country']).'-'.$director['Person']['address_postal_code'], $font); $table_3->writeToCell($start_row,3, $director['Person']['nric'], $font); $table_3->writeToCell($start_row,4, $this->countryName($director['Person']['nationality']), $font); $i++; $start_row++; } $table_3->setBorderForCellRange($border, 1, 1, $i+1, 4); $sect->insertPageBreak(); /************Secretaries table**************/ $table_4 = $sect->addTable(PHPRtfLite_Table::ALIGN_CENTER); $table_4->addRow(0.5); $table_4->addRow(0.5); $table_4->addColumnsList(array(1.5,6.5,4,5.5)); $table_4->mergeCellRange(1,1,1,4); $table_4->writeToCell(1,1, "Secretary:"); $table_4->writeToCell(2,1, "S/No."); $table_4->writeToCell(2,2, "Name, Address"); $table_4->writeToCell(2,3, "Id No."); $table_4->writeToCell(2,4, "Nationality"); // Fill in all the Secretaries $secretaries_ids = array(); foreach($this_company['Secretary'] as $secretary){ $secretaries_ids[] = $secretary['person_id']; } $this->Secretary->Person->recursive = 0; $secretaries = $this->Secretary->Person->find('all', array( 'conditions' => array( 'OR' => array( 'Person.id' => $secretaries_ids ) ), 'contain' => array( 'User' => array( 'username' ) ) )); // Print the table. $i = 1; $start_row = 3; foreach($secretaries as $secretary){ $table_4->addRow(0.5); $table_4->writeToCell($start_row,1, $i, $font); $table_4->writeToCell($start_row,2, $secretary['Person']['first_name'].' '.$secretary['Person']['last_name'].',
'.$secretary['Person']['address_field_1'].'
'.$this->countryName($secretary['Person']['address_country']).'-'.$secretary['Person']['address_postal_code'], $font); $table_4->writeToCell($start_row,3, $secretary['Person']['nric'], $font); $table_4->writeToCell($start_row,4, $this->countryName($secretary['Person']['nationality']), $font); $i++; $start_row++; } $table_4->setBorderForCellRange($border, 1, 1, $i+1, 4); $sect->writeText("

"); /************Shareholders table**************/ $table_5 = $sect->addTable(PHPRtfLite_Table::ALIGN_CENTER); $table_5->addRow(0.5); $table_5->addRow(0.5); $table_5->addColumnsList(array(1.5,4,3,3,3,3)); $table_5->mergeCellRange(1,1,1,6); $table_5->writeToCell(1,1, "Share Holder (s):", $font); $table_5->writeToCell(2,1, "S/No.", $font); $table_5->writeToCell(2,2, "Name, Address", $font); $table_5->writeToCell(2,3, "Id No.", $font); $table_5->writeToCell(2,4, "Nationality", $font); $table_5->writeToCell(2,5, "Ordinary Shares Held", $font); $table_5->writeToCell(2,6, "Preference Shares Held", $font); // Fill in all the Shareholders $shareholder_person_ids = array(); $ordinary_shares_per_person = array(); $preference_shares_per_person = array(); $share_certificate_per_person = array(); $amount_paid_per_person = array(); $shareholder_company_ids = array(); $ordinary_shares_per_company = array(); $preference_shares_per_company = array(); $share_certificate_per_company = array(); $amount_paid_per_company = array(); foreach($this_company['Share'] as $shareholder){ if(!empty($shareholder['shareholder_person_id'])){ $shareholder_person_ids[] = $shareholder['shareholder_person_id']; $ordinary_shares_per_person[$shareholder['shareholder_person_id']] = $shareholder['number_of_ordinary_shares_alloted_for']; $preference_shares_per_person[$shareholder['shareholder_person_id']] = $shareholder['number_of_preference_shares_alloted_for']; $share_certificate_per_person[$shareholder['shareholder_person_id']] = $shareholder['certificate_number']; $amount_paid_per_person[$shareholder['shareholder_person_id']] = $shareholder['amount_paid_in_cash_for_ordinary_share'] + $shareholder['amount_paid_in_cash_for_preference_share']; } if(!empty($shareholder['shareholder_company_id'])){ $shareholder_company_ids[] = $shareholder['shareholder_company_id']; $ordinary_shares_per_company[$shareholder['shareholder_company_id']] = $shareholder['number_of_ordinary_shares_alloted_for']; $preference_shares_per_company[$shareholder['shareholder_company_id']] = $shareholder['number_of_preference_shares_alloted_for']; $share_certificate_per_company[$shareholder['shareholder_company_id']] = $shareholder['certificate_number']; $amount_paid_per_company[$shareholder['shareholder_company_id']] = $shareholder['amount_paid_in_cash_for_ordinary_share'] + $shareholder['amount_paid_in_cash_for_preference_share']; } } $this->Share->Person->recursive = 0; $this->Share->Company->recursive = 0; $shareholder_people = $this->Share->Person->find('all', array( 'conditions' => array( 'OR' => array( 'Person.id' => $shareholder_person_ids ) ), 'contain' => array( 'User' => array( 'username' ) ) )); if(!empty($shareholder_company_ids)){ $shareholder_companies = $this->Share->Company->find('all', array( 'conditions' => array( 'OR' => array( 'Company.id' => $shareholder_company_ids ) ), 'contain' => array( 'User' => array( 'username' ) ) )); } // Print the table. $i = 1; $start_row = 3; if(isset($shareholder_people)){ foreach($shareholder_people as $shareholder){ $table_5->addRow(0.5); $table_5->writeToCell($start_row,1, $i, $font); $table_5->writeToCell($start_row,2, $shareholder['Person']['first_name'].' '.$shareholder['Person']['last_name'].',
'.$shareholder['Person']['address_field_1'].'
'.$this->countryName($shareholder['Person']['address_country']).'-'.$shareholder['Person']['address_postal_code'], $font); $table_5->writeToCell($start_row,3, $shareholder['Person']['nric'], $font); $table_5->writeToCell($start_row,4, $this->countryName($shareholder['Person']['nationality']), $font); $table_5->writeToCell($start_row,5, $ordinary_shares_per_person[$shareholder['Person']['id']], $font); $table_5->writeToCell($start_row,6, $preference_shares_per_person[$shareholder['Person']['id']], $font); $i++; $start_row++; } } if(isset($shareholder_companies)){ foreach($shareholder_companies as $shareholder){ $table_5->addRow(0.5); $table_5->writeToCell($start_row,1, $i, $font); $table_5->writeToCell($start_row,2, $shareholder['Company']['name'].',
'.$shareholder['Company']['office_address_field_1'].'
'.$this->countryName($shareholder['Company']['office_address_country']).'-'.$shareholder['Company']['office_address_postal_code'], $font); $table_5->writeToCell($start_row,3, 'Reg. No: '.$shareholder['Company']['number'], $font); $table_5->writeToCell($start_row,4, 'N/A', $font); $table_5->writeToCell($start_row,5, $ordinary_shares_per_company[$shareholder['Company']['id']], $font); $table_5->writeToCell($start_row,6, $preference_shares_per_company[$shareholder['Company']['id']], $font); $i++; $start_row++; } } $table_5->setBorderForCellRange($border, 1, 1, $i+1, 6); $sect->writeText('
'); // Certification: $table_6 = $sect->addTable(PHPRtfLite_Table::ALIGN_CENTER); $table_6->addRow(0.5); $table_6->addRow(0.5); $table_6->addColumnsList(array(17.5)); $table_6->writeToCell(1,1, 'Certification', $font); $table_6->writeToCell(2,1, 'I, the undermentioned officer of the abovementioned company, hereby certify that the particulars of the above company for the purpose of incorporation are true and accurate at registration:

', $font); $table_6->writeToCell(2,1, 'Signature: ______________________

', $font); $table_6->writeToCell(2,1, 'Name of Director: '.$director_1['Person']['first_name'].' '.$director_1['Person']['last_name'].'Date:', $font); $table_6->setBorderForCellRange($border, 1, 1, 2, 1);