public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->uses(DataObjectFactory::Factory('EngineeringResource'), false);
     $this->_templateobject = DataObjectFactory::Factory('WorkSchedule');
     $this->uses($this->_templateobject);
 }
Example #2
0
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('Vat');
     $this->uses($this->_templateobject);
     $this->titles = array(4 => 'Inputs', 6 => 'Outputs', 8 => 'EU Sales', 9 => 'EU Purchases');
 }
Example #3
0
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->uses(DataObjectFactory::Factory('PInvoiceLine'), FALSE);
     $this->_templateobject = DataObjectFactory::Factory('PInvoice');
     $this->uses($this->_templateobject);
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = new CalendarEvent();
     $this->uses(new CalendarEventAttendee());
     $this->uses($this->_templateobject);
 }
Example #5
0
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('Lead');
     $this->uses($this->_templateobject);
     $this->related['addresses'] = array('clickaction' => 'edit');
 }
Example #6
0
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->uses(DataObjectFactory::Factory('SOrderLine'), FALSE);
     $this->_templateobject = DataObjectFactory::Factory('SOrder');
     $this->uses($this->_templateobject);
     $this->action_checks = ['move_new_lines' => ['methods' => ['post'], 'xhr' => TRUE], 'review_line_notes' => ['methods' => ['post'], 'xhr' => TRUE]];
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('PLTransaction');
     $this->uses($this->_templateobject);
     // Define parameters for bulk output Remittances
     // used by select_for_output function
     $this->output_types = array('remittance' => array('search_do' => '', 'search_method' => '', 'search_defaults' => array(), 'collection' => 'PLTransactionCollection', 'collection_fields' => array('id', 'payee_name', 'currency', 'email_remittance as email'), 'display_fields' => array('payee_name', 'currency', 'email'), 'identifier' => 'payee_name', 'title' => 'Select Remittances for ', 'filename' => 'Remittance', 'printaction' => 'print_supplier_remittances'));
 }
Example #8
0
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->uses(DataObjectFactory::Factory('SInvoiceLine'), FALSE);
     $this->_templateobject = DataObjectFactory::Factory('SInvoice');
     $this->uses($this->_templateobject);
     // Define parameters for bulk output of posted Invoices
     // used by select_for_output function
     $this->output_types = array('invoice' => array('search_do' => 'sinvoicesSearch', 'search_method' => 'invoices', 'search_defaults' => array(), 'collection' => 'SInvoiceCollection', 'collection_fields' => array('id', 'invoice_number', 'invoice_date', 'customer', 'currency', 'gross_value', 'invoice_method as method', 'email_invoice as email'), 'display_fields' => array('invoice_number', 'invoice_date', 'customer', 'gross_value', 'currency', 'email'), 'identifier' => 'invoice_number', 'title' => 'Select Invoices for ', 'filename' => 'Invoice', 'printaction' => 'batch_print_invoices'));
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('SOPackingSlip');
     $this->uses($this->_templateobject);
 }
Example #10
0
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = new GLCentre();
     $this->uses($this->_templateobject);
 }
Example #11
0
 public function __construct($module = NULL, $action = NULL)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('User');
     $this->uses($this->_templateobject);
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = new SODespatchEvent();
     $this->uses($this->_templateobject);
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('POReceivedLine');
     $this->uses($this->_templateobject);
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = new PeriodicPayment();
     $this->uses($this->_templateobject);
 }
 public function __construct($module = null, $action = null)
 {
     parent::__construct($module, $action);
     $this->_templateobject = DataObjectFactory::Factory('GLTransactionHeader');
     $this->uses($this->_templateobject);
 }