Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - ocalle

2
General Discussion / Re: Mail body remains unchanged
Hi , i cant upload the image

Sorry try to explain

In the properties of a page to add, in the sending of mail option after the load, when I modified the text body of the mail, when i see the app controller of that form have the old text that i was put.

Part in controller page, the text is old, i put a new one and no changes.


   $time = datetime_now();
      $site_addr = SITE_ADDR;
      $mailtitle = "Nuevo Pedido de Insumos";
      $mailbody = "Hola buenos dias, un nuevo pedido de insumos se ha realizado.
         Link : <a href='$site_addr#/f2insumos/add/$rec_id'>$rec_id</a>
         Date added : $time
         <br>------------------------------</br>\n
         $modeldata[encargados]>\n
         $modeldata[servicio]>\n
             Cantidad        Producto Descrip  Código LeMeridian>\n
         $modeldata[cant1]  $modeldata[prod1]    $modeldata[codart1]
         Fecha: $modeldata[fecha]>\n
         >\n
         >\n
         <br>------------------------------</br>
         ";
      $rec_email = DEFAULT_EMAIL;
      $mailer = new Mailer;

3
General Discussion / Mail body remains unchanged
Hi, I wanna ask about this

When i modify Mail Body settings in send notifications mail page properties,  never change for a new configuration text.

When i check the form controller maintain the history text.

How can i fix it?

Thanks in Advance
6
General Discussion / How to fill a field from other selection in the same page.
Hello, how are you , be  safe

I need this

I have a table of employees from which I extract surname, first name and the work shift expressed in hours.  This table is absences and I need that when I select an employee the field hours worked is filled automatically from a field of the table employees without user intervention. is this possible?, I need it to avoid loading error values.

Attached is an example.

Thank you so much for any help

sorry canno upload an image
9
Questions / Graphics with parameters
Hello, I wanna know if exist a way to input parameters to fill a graphics below.
Attached an sample idea.

I want fill a chart from a filter in the same page.

Thank you in advance
10
Questions / Re: Select a Table from Range Dates [SOLVED]
The error is on the controller when u add range by date  Need check the source in controller folder

when u use english the filter is  TO
   }
      if(!empty($request->ausentismos_fecha)){
         $vals = explode("to", str_replace(" ", "", $request->ausentismos_fecha));
         $startdate = $vals[0];
         $enddate = $vals[1];
         $db->where("ausentismos.fecha BETWEEN '$startdate' AND '$enddate'");
      }


when u use spanish the filter is  a

   }
      if(!empty($request->ausentismos_fecha)){
         $vals = explode("a", str_replace(" ", "", $request->ausentismos_fecha));
         $startdate = $vals[0];
         $enddate = $vals[1];
         $db->where("ausentismos.fecha BETWEEN '$startdate' AND '$enddate'");
      }

I think in other languages need put the correct word to replace "to"
11
Questions / Re: Select a Table from Range Dates Not Solved Yet
Hello Again,   Date filter in range mode not work.   Single day works, multiple days works, both work fine
but range between days put on 1st January of 1970 and gives an error too

Attached are the screens

I dont know what can i do.

thanks in advance
12
Questions / Re: Select a Table from Range Dates
@barakak thank you that work fine, i have spanish standard date as dd-mm-yy  or d-m-Y, can you help me with how can i check the date filter with phpdatetime format?   The filter ever return empty, i have data.
13
Questions / Select a Table from Range Dates [SOLVED]
Hello, I need do a filter with  dates in a table,   which component would i use?

I cannot find how to pass the parameters   Start Day / End Day

Can someone give me some light about this?

Thanks you in advance

Osvaldo
14
Questions / Listview with images
Hello, expect all are well,  I was wondering if there's a way to insert a list of images into a field when adding data.

attached is an example

Thank you in advance,