Exemplo n.º 1
0
 public function url()
 {
     if (isset($_GET['folder']) and isset($_GET['id'])) {
         return 'index.php?page=' . __CLASS__ . '&folder=' . $_GET['folder'] . '&id=' . $_GET['id'];
     } else {
         return parent::url();
     }
 }
 public function url()
 {
     if ($this->cliente) {
         return parent::url() . '&cod=' . $this->cliente->codcliente;
     } else {
         parent::url();
     }
 }
 public function url()
 {
     if ($this->servicio) {
         return parent::url() . '&id=' . $this->servicio->idservicio;
     } else {
         return parent::url();
     }
 }
 public function url()
 {
     if (!isset($this->balance)) {
         return parent::url();
     } else {
         if ($this->balance) {
             return $this->balance->url();
         } else {
             return parent::url();
         }
     }
 }
Exemplo n.º 5
0
 public function url()
 {
     if (!isset($this->marca)) {
         return parent::url();
     } else {
         if ($this->marca) {
             return $this->marca->url();
         } else {
             return $this->page->url();
         }
     }
 }
Exemplo n.º 6
0
 public function url()
 {
     if (!isset($this->fabricante)) {
         return parent::url();
     } else {
         if ($this->fabricante) {
             return $this->fabricante->url();
         } else {
             return $this->page->url();
         }
     }
 }
Exemplo n.º 7
0
 public function url()
 {
     if (!isset($this->modelo)) {
         return parent::url();
     } else {
         if ($this->modelo) {
             return $this->modelo->url();
         } else {
             return $this->page->url();
         }
     }
 }
 public function url()
 {
     if (!isset($this->subcuenta)) {
         return parent::url();
     } else {
         if ($this->subcuenta) {
             return $this->subcuenta->url();
         } else {
             return $this->ppage->url();
         }
     }
 }
Exemplo n.º 9
0
 public function url()
 {
     switch (get_class_name($this->documento)) {
         case 'albaran_cliente':
             return 'index.php?page=' . __CLASS__ . '&albaran=TRUE&id=' . $this->documento->idalbaran;
             break;
         case 'factura_cliente':
             return 'index.php?page=' . __CLASS__ . '&factura=TRUE&id=' . $this->documento->idfactura;
             break;
         default:
             return parent::url();
             break;
     }
 }
Exemplo n.º 10
0
 public function url()
 {
     if (!isset($this->proveedor)) {
         return parent::url();
     } else {
         if ($this->proveedor) {
             return $this->proveedor->url();
         } else {
             return $this->ppage->url();
         }
     }
 }
 public function url($busqueda = FALSE)
 {
     if ($busqueda) {
         $codcliente = '';
         if ($this->cliente) {
             $codcliente = $this->cliente->codcliente;
         }
         $url = $this->url() . "&mostrar=" . $this->mostrar . "&query=" . $this->query . "&codserie=" . $this->codserie . "&codagente=" . $this->codagente . "&codcliente=" . $codcliente . "&desde=" . $this->desde . "&hasta=" . $this->hasta;
         return $url;
     } else {
         return parent::url();
     }
 }
 public function url()
 {
     $url = parent::url();
     if (isset($_REQUEST['doc']) and isset($_REQUEST['id'])) {
         $url .= '&doc=' . $_REQUEST['doc'] . '&id=' . $_REQUEST['id'];
     }
     return $url;
 }
Exemplo n.º 13
0
 public function url()
 {
     if (!isset($this->suser)) {
         return parent::url();
     } else {
         if ($this->suser) {
             return $this->suser->url();
         } else {
             return $this->page->url();
         }
     }
 }
 public function url()
 {
     if (!isset($this->ejercicio)) {
         return parent::url();
     } else {
         if ($this->ejercicio) {
             return $this->ejercicio->url();
         } else {
             return parent::url();
         }
     }
 }
 public function url()
 {
     if ($this->forma_pago) {
         return 'index.php?page=' . __CLASS__ . '&cod=' . $this->forma_pago->codpago;
     } else {
         return parent::url();
     }
 }
 public function url($busqueda = FALSE)
 {
     if ($busqueda) {
         $url = $this->url() . "&desde=" . $this->desde . "&hasta=" . $this->hasta . "&orden=" . $this->orden;
         return $url;
     } else {
         return parent::url();
     }
 }
 public function url()
 {
     if ($this->articulo) {
         return 'index.php?page=' . __CLASS__ . '&ref=' . $this->articulo->referencia;
     } else {
         return parent::url();
     }
 }
 public function url()
 {
     if (!isset($this->familia)) {
         return parent::url();
     } else {
         if ($this->familia) {
             return $this->page->url() . '&fam=' . $this->familia->codfamilia;
         } else {
             return $this->page->url();
         }
     }
 }
Exemplo n.º 19
0
 public function url($busqueda = FALSE)
 {
     if ($busqueda) {
         $licencia = '';
         if ($this->conductor) {
             $licencia = $this->conductor->licencia;
         }
         $url = $this->url() . "&mostrar=" . $this->mostrar . "&query=" . $this->query . "&conductor=" . $licencia . "&desde=" . $this->desde . "&hasta=" . $this->hasta;
         return $url;
     } else {
         return parent::url();
     }
 }
Exemplo n.º 20
0
 public function url()
 {
     if (isset($_REQUEST['factura'])) {
         return 'index.php?page=' . __CLASS__ . '&factura=TRUE&id=' . $_REQUEST['id'];
     } else {
         if (isset($_REQUEST['albaran'])) {
             return 'index.php?page=' . __CLASS__ . '&albaran=TRUE&id=' . $_REQUEST['id'];
         } else {
             if (isset($_REQUEST['pedido'])) {
                 return 'index.php?page=' . __CLASS__ . '&pedido=TRUE&id=' . $_REQUEST['id'];
             } else {
                 return parent::url();
             }
         }
     }
 }
Exemplo n.º 21
0
 public function url($busqueda = FALSE)
 {
     if ($busqueda) {
         $codproveedor = '';
         if ($this->proveedor) {
             $codproveedor = $this->proveedor->codproveedor;
         }
         $url = $this->url() . "&mostrar=" . $this->mostrar . "&query=" . $this->query . "&codserie=" . $this->codserie . "&codagente=" . $this->codagente . "&codproveedor=" . $codproveedor . "&desde=" . $this->desde . "&estado=" . $this->estado . "&hasta=" . $this->hasta;
         return $url;
     } else {
         return parent::url();
     }
 }
Exemplo n.º 22
0
 public function url()
 {
     if (isset($this->recibo)) {
         return $this->recibo->url();
     } else {
         return parent::url();
     }
 }
Exemplo n.º 23
0
 public function url()
 {
     if (isset($_GET['tipo']) and isset($_GET['cod'])) {
         return 'index.php?page=' . __CLASS__ . '&tipo=' . $_GET['tipo'] . '&cod=' . $_GET['cod'];
     } else {
         return parent::url();
     }
 }
 public function url()
 {
     if (isset($this->cliente_url)) {
         return $this->cliente_url;
     } else {
         return parent::url();
     }
 }
Exemplo n.º 25
0
 public function url()
 {
     if (!isset($this->albaran)) {
         return parent::url();
     } else {
         if ($this->albaran) {
             return $this->albaran->url();
         } else {
             return $this->page->url();
         }
     }
 }
 public function url()
 {
     switch (get_class_name($this->documento)) {
         case 'presupuesto_cliente':
             return 'index.php?page=' . __CLASS__ . '&presu=TRUE&id=' . $this->documento->idpresupuesto;
             break;
         case 'pedido_cliente':
             return 'index.php?page=' . __CLASS__ . '&pedido=TRUE&id=' . $this->documento->idpedido;
             break;
         default:
             return parent::url();
             break;
     }
 }
Exemplo n.º 27
0
 public function url()
 {
     if (!isset($this->presupuesto)) {
         return parent::url();
     } else {
         if ($this->presupuesto) {
             return $this->presupuesto->url();
         } else {
             return $this->page->url();
         }
     }
 }
 public function url()
 {
     if (!isset($this->subcuenta)) {
         return parent::url() . '&' . $this->subcuenta->idcuenta;
     } else {
         if ($this->subcuenta) {
             return 'index.php?page=libro_mayor_generar&idsubcuenta=' . $this->idsubcuenta;
         } else {
             return $this->ppage->url() . '&' . $this->subcuenta->idcuenta;
         }
     }
 }