﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="09/27/2013 16:01:23" ReportInfo.Modified="05/15/2014 14:27:14" ReportInfo.CreatorVersion="1.6.57.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {

          

    private void btnOk_Click(object sender, EventArgs e)
    {
      txtSignature_Form.Text = txtSignature.Text;
      txtSendActivationCodeTo.Text = txtReturnDetails.Text;
    }
  }
}
</ScriptText>
  <Dictionary>
    <MySqlDataConnection Name="Connection" ConnectionString="rijcmlqomabmqtwD7y3BaVO988XroIbYGeNW23p16IFWThuS3xBVOPTYAE4oIR9diWpnFejzJ55Qxa686IHPgqro4an5A==">
      <TableDataSource Name="companies" DataType="System.Int32" Enabled="true" TableName="companies" SelectCommand="select * from companies where ID = @CompanyID">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="Name" DataType="System.String"/>
        <Column Name="Email" DataType="System.String"/>
        <Column Name="Address" DataType="System.String"/>
        <Column Name="RegNo" DataType="System.String"/>
        <Column Name="VATno" DataType="System.String"/>
        <Column Name="ContactNo" DataType="System.String"/>
        <Column Name="AltNo" DataType="System.String"/>
        <Column Name="FaxNo" DataType="System.String"/>
        <Column Name="CellNo" DataType="System.String"/>
        <Column Name="LogoPath" DataType="System.String"/>
        <Column Name="InvoiceSize" DataType="System.String"/>
        <Column Name="InvoiceStylePath" DataType="System.String"/>
        <Column Name="VATrate" DataType="System.String"/>
        <Column Name="BankingDetails" DataType="System.String"/>
        <Column Name="FinYearStartMonth" DataType="System.String"/>
        <Column Name="Scheme" DataType="System.String"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
      </TableDataSource>
    </MySqlDataConnection>
    <Relation Name="sales_sales_items" ParentDataSource="null" ChildDataSource="null" ParentColumns="ID" ChildColumns="SalesID" Enabled="true"/>
    <Relation Name="sales_companies" ParentDataSource="null" ChildDataSource="null" ParentColumns="CompanyID" ChildColumns="ID" Enabled="true"/>
    <Parameter Name="CompanyID" DataType="System.String"/>
  </Dictionary>
  <ReportPage Name="Page1" RawPaperSize="9">
    <PageHeaderBand Name="PageHeader1" Width="718.2" Height="888.3">
      <TextObject Name="txtInvoice" Left="264.6" Top="9.45" Width="434.7" Height="47.25" Border.Shadow="true" Border.ShadowColor="Transparent" Text="Licence Activation / Renewal Form" HorzAlign="Center" Font="Segoe UI Light, 20pt, style=Bold" TextFill.Color="Olive"/>
      <ShapeObject Name="Shape8" Left="9.45" Top="122.85" Width="689.85" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text79" Left="434.7" Top="94.5" Width="94.5" Height="18.9" Text="Print Date:" HorzAlign="Right" TextFill.Color="DimGray"/>
      <TextObject Name="Text78" Left="538.65" Top="94.5" Width="160.65" Height="18.9" Text="[Date]" TextFill.Color="DimGray"/>
      <TextObject Name="Text80" Left="18.9" Top="132.3" Width="151.2" Height="28.35" Text="Client details:" Font="Segoe UI Light, 11pt, style=Bold" TextFill.Color="DimGray"/>
      <TextObject Name="Text1" Left="160.65" Top="179.55" Width="406.35" Height="18.9" Text="[companies.Name]"/>
      <TextObject Name="Text81" Left="47.25" Top="179.55" Width="94.5" Height="18.9" Text="Name:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text82" Left="47.25" Top="207.9" Width="94.5" Height="18.9" Text="Address:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text2" Left="160.65" Top="207.9" Width="302.4" Height="66.15" Text="[companies.Address]"/>
      <TextObject Name="Text83" Left="47.25" Top="283.5" Width="94.5" Height="18.9" Text="Tel. No:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text3" Left="160.65" Top="283.5" Width="151.2" Height="18.9" Text="[companies.ContactNo]"/>
      <TextObject Name="Text84" Left="47.25" Top="311.85" Width="94.5" Height="18.9" Text="Fax No:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text4" Left="160.65" Top="311.85" Width="151.2" Height="18.9" Text="[companies.FaxNo]"/>
      <TextObject Name="Text8" Left="510.3" Top="283.5" Width="151.2" Height="18.9" Text="[companies.CellNo]"/>
      <TextObject Name="Text9" Left="160.65" Top="340.2" Width="151.2" Height="18.9" Text="[companies.RegNo]"/>
      <TextObject Name="Text10" Left="510.3" Top="340.2" Width="151.2" Height="18.9" Text="[companies.VATno]"/>
      <TextObject Name="Text11" Left="160.65" Top="368.55" Width="463.05" Height="18.9" Text="[companies.Email]"/>
      <TextObject Name="Text85" Left="396.9" Top="283.5" Width="94.5" Height="18.9" Text="Cell No:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text86" Left="47.25" Top="340.2" Width="94.5" Height="18.9" Text="Co Reg. No:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text87" Left="396.9" Top="340.2" Width="94.5" Height="18.9" Text="VAT No:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text88" Left="47.25" Top="368.55" Width="94.5" Height="18.9" Text="Email:" Font="Segoe UI Light, 11pt" TextFill.Color="DimGray"/>
      <ShapeObject Name="Shape9" Left="9.45" Top="415.8" Width="689.85" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text89" Left="18.9" Top="425.25" Width="151.2" Height="28.35" Text="Terms and conditions:" Font="Segoe UI Light, 11pt, style=Bold" TextFill.Color="DimGray"/>
      <TextObject Name="Text90" Left="47.25" Top="463.05" Width="642.6" Height="18.9" Text="This licence agreement is valid for 365 (three hundred and sixty five) days from the date of activation." Font="Segoe UI, 9pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text91" Left="47.25" Top="481.95" Width="642.6" Height="18.9" Text="You will be prompted at least 5 (five) days before this licence will expire again. " Font="Segoe UI, 9pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text92" Left="47.25" Top="510.3" Width="642.6" Height="151.2" Text="Liability Limitation. Neither IPD nor its contractual dealers bear any liability for any damages arisen due to using or inability of using of the aforesaid program although if notified of an option of causing such damages. Liability for any potential damage caused by using or inability of using thereof is given by your approval and controlled by the provisions of the Civil Code of the South African Republic. In case of any damage for compensation of which IPD or a contractual dealer thereof should be made liable to reimburse as well as in case where a jurisdiction of any applicable country should prohibit, exclude or limit in advance a damage compensation, a contractual penalty in the amount equal to a license fee paid by you for the product is agreed upon based on which a certain damage had arisen, or an amount of R 1 if such amount should be greater than the license fee remitted by you provided that such contractual penalty already includes a lump sum compensation for the arisen damage." Font="Segoe UI, 9pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text93" Left="47.25" Top="670.95" Width="642.6" Height="75.6" Text="Liability for Program Updating. For the sake of correct functionality of the program, the manufacturer issues updated versions thereof available on the IPD Company website or by other means. Such updated versions improve properties of the program, remove any potential defaults or maintain updated reports. The user is liable for the process of program updating for the purpose of maintaining the maximum possible extent of reliability thereof." Font="Segoe UI, 9pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text94" Left="47.25" Top="756" Width="642.6" Height="75.6" Text="Decisive Law; Arbitration Clause. This License Agreement is governed by the legislation of the South African Republic with exclusion of conflicting standards. Any and all disputes arisen there from or relating thereto shall finally be settled, excluding competence of general courts. The parties hereto hereby undertake to fulfill any and all duties and obligations imposed thereon by an award and to do so within time limits set forth therein." Font="Segoe UI, 9pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text95" Left="47.25" Top="841.05" Width="642.6" Height="37.8" Text="Personal Data Handling.  In case that data provided during the course of your registration by the IPD Company hereby declares that such personal data shall be handled as confidential data." Font="Segoe UI, 9pt" TextFill.Color="DimGray"/>
    </PageHeaderBand>
    <PageFooterBand Name="PageFooter1" Top="892.3" Width="718.2" Height="132.3">
      <TextObject Name="Text96" Left="283.5" Top="66.15" Width="151.2" Height="18.9" Text="Send activation code to:" Font="Segoe UI Light, 10pt"/>
      <TextObject Name="Text97" Left="18.9" Top="9.45" Width="670.95" Height="47.25" Text="I/We have read and understood the abovementioned terms and conditions and agree to them , and acknowledge that the client details are correct by providing my name as a digital signature." Font="Segoe UI Light, 10pt"/>
      <TextObject Name="Text98" Left="18.9" Top="66.15" Width="56.7" Height="18.9" Text="Name:" Font="Segoe UI Light, 10pt"/>
      <TextObject Name="txtSignature_Form" Left="75.6" Top="66.15" Width="189" Height="18.9" Font="Segoe UI Light, 10pt, style=Bold"/>
      <TextObject Name="txtSendActivationCodeTo" Left="434.7" Top="66.15" Width="255.15" Height="18.9" Font="Segoe UI Light, 10pt, style=Bold"/>
      <TextObject Name="Text100" Left="349.65" Top="103.95" Width="160.65" Height="18.9" Text="Please E-mail this form to " Font="Segoe UI Light, 10pt"/>
      <TextObject Name="Text101" Left="510.3" Top="103.95" Width="141.75" Height="18.9" Text="ppos@live.com" Font="Segoe UI Light, 10pt, style=Bold"/>
    </PageFooterBand>
  </ReportPage>
  <DialogPage Name="Form1" Width="506" Height="290" AcceptButton="btnOk" CancelButton="btnCancel">
    <ButtonControl Name="btnOk" Left="334" Top="230" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="OK" ClickEvent="btnOk_Click" DialogResult="OK"/>
    <ButtonControl Name="btnCancel" Left="417" Top="230" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="Cancel" DialogResult="Cancel"/>
    <LabelControl Name="Label1" Left="44" Top="28" Width="413" Height="45" Font="Tahoma, 10pt" ForeColor="Black" TabIndex="2" Text="Please provide an Email address or Cell number where your activation code should be send to." AutoSize="false"/>
    <LabelControl Name="Label2" Left="40" Top="136" Width="190" Height="17" Font="Tahoma, 10pt" ForeColor="Black" TabIndex="2" Text="Please provide your full name."/>
    <TextBoxControl Name="txtReturnDetails" Left="44" Top="72" Width="340" Height="24" Font="Tahoma, 10pt" TabIndex="4"/>
    <TextBoxControl Name="txtSignature" Left="44" Top="160" Width="240" Height="24" Font="Tahoma, 10pt" TabIndex="4"/>
    <LabelControl Name="Label3" Left="116" Top="188" Width="164" Height="14" Font="Tahoma, 9pt" ForeColor="Black" TabIndex="2" Text="(this is your digital signature)"/>
  </DialogPage>
</Report>
