Search found 145 matches

by Moh Youba
2019-08-28 23:22
Forum: Bugs/annoyances
Topic: Hide / Show
Replies: 3
Views: 1301

Hide / Show

Hello

Do you have same problem, hide / show is not working for me
hide-show.jpg
hide-show.jpg (83.04 KiB) Viewed 1301 times
Any help
by Moh Youba
2019-08-28 23:04
Forum: Advanced Customizations > Hooks
Topic: Add button on table view page
Replies: 22
Views: 2468

Add button on table view page

Hello

Is it possible to add new button in table view to print custom page? if yes, please how?
button.jpg
button.jpg (62.57 KiB) Viewed 2468 times
Thank you
by Moh Youba
2019-08-28 14:07
Forum: Advanced Customizations > Hooks
Topic: Random code
Replies: 3
Views: 692

Re: Random code

Great thanks, working as expected.
Thanks again for your support
by Moh Youba
2019-08-28 14:00
Forum: Advanced Customizations > Hooks
Topic: Random code
Replies: 3
Views: 692

Re: Random code

Hi
thank you for your help, I am goind to give a try.

Best regards,
by Moh Youba
2019-08-26 01:56
Forum: Advanced Customizations > Hooks
Topic: Random code
Replies: 3
Views: 692

Random code

Hello I am trying this code to generate random code, but I have a problem. When I open existing record and make change the random code change. Please how can I edit the code to change only new records, not existing record. Here the code I am using function transferts_argent_dv($selectedID, $memberIn...
by Moh Youba
2019-08-13 11:25
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

Re: SUM OF COLUMN

Hello guys, I hope you all are doing well ! Please have a look on this and advice. Is it good practice to work on dml file instead of hooks This solve my problem, but am not sure if it is good practice. Thank you Screen Shot 2019-08-13 at 11.22.04 AM.png Screen Shot 2019-08-13 at 11.21.51 AM.png
by Moh Youba
2019-07-29 16:12
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

Re: SUM OF COLUMN

OK, try your code and now there is no error message function clients_after_insert($data, $memberInfo, &$args){ $id = makeSafe($data['selectedID']); $idclient = makeSafe($data['matricule']); $total_entrees = sqlValue("SELECT IFNULL(total_tous_entree,0) FROM entrees WHERE matricule = '$id' "); $total_...
by Moh Youba
2019-07-29 15:35
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

Re: SUM OF COLUMN

Hi
Thank you for comment, trying and back to you
Regards,
by Moh Youba
2019-07-29 00:46
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

Re: SUM OF COLUMN

Hello, here what I have done for now, but still have some error sorties.php function sorties_after_insert($data, $memberInfo, &$args){ $id = makeSafe($data['matricule']); $tots = sqlValue("SELECT SUM(total_sortie) FROM sorties WHERE matricule='$id' "); sql("UPDATE sorties SET total_tous_sortie = '$t...
by Moh Youba
2019-07-28 21:51
Forum: Advanced Customizations > Hooks
Topic: Date calculation
Replies: 7
Views: 857

Re: Date calculation

Hi
Thank you for your support, yes that start_date and end_date are datepicker fields.
I am going to try and back to you
Regards,
by Moh Youba
2019-07-28 16:33
Forum: Advanced Customizations > Hooks
Topic: Date calculation
Replies: 7
Views: 857

Re: Date calculation

ok sorry for my bad English, I will try to explain Table name : training 3 fields (start_date - end_date - duration) start_date (date type) end_date (date type) duration (integer type) I want to display date base on this calculation start_date + duration = end_date for exemple start_date : 1/1/2019 ...
by Moh Youba
2019-07-28 08:13
Forum: Advanced Customizations > Hooks
Topic: Date calculation
Replies: 7
Views: 857

Re: Date calculation

I try with something like this but do not work !!! $j(function(){ $j('#dateOfStart').prop('readonly' , true); $j('#dateOfStar-dd, #dateOfStar-mm, #dateOfStar').change(function(){ var dos = get_date('dateOfStare'); var today = new Date(); var duration= Math.abs(age_dt.getUTCFullYear() + today); $j('#...
by Moh Youba
2019-07-28 08:09
Forum: Advanced Customizations > Hooks
Topic: Date calculation
Replies: 7
Views: 857

Re: Date calculation

Hello
I want to display via JS in the front-end, in the table view
Thank you
by Moh Youba
2019-07-28 06:36
Forum: Advanced Customizations > Hooks
Topic: Date calculation
Replies: 7
Views: 857

Date calculation

Hello

Please I need help with date calculation. I want to calculate date from duration.

Date of start : 1/1/2000
Duration : 2 (from field)
End of training = date of start + duration (1/1/2002)

Thank you
by Moh Youba
2019-07-24 19:11
Forum: Advanced Customizations > Hooks
Topic: Center login box
Replies: 9
Views: 1487

Re: Center login box

login_page.jpg
login_page.jpg (120.39 KiB) Viewed 1444 times
working fine
Thanks !
by Moh Youba
2019-07-24 11:29
Forum: Advanced Customizations > Hooks
Topic: Center login box
Replies: 9
Views: 1487

Re: Center login box

Hi Jan
Once again thank you for your great support, it is exactly what I want.
Best regards,
by Moh Youba
2019-07-23 22:54
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

Re: SUM OF COLUMN

Hello Jan
Thank you for your support, this is a good lesson for me. I am going to practice and back to you with results.

Best regards,
by Moh Youba
2019-07-23 17:26
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

Re: SUM OF COLUMN

Hi
as you can see, I have 3 tables
I want to display the total of amount column for table "incomes" and "expenses" on the table clients and then calculate the balance

sorry for my very bad English
by Moh Youba
2019-07-23 14:23
Forum: Advanced Customizations > Hooks
Topic: Center login box
Replies: 9
Views: 1487

Center login box

Hello

How to center the login box
login.jpg
login.jpg (32.3 KiB) Viewed 1487 times
Thank you
by Moh Youba
2019-07-23 14:21
Forum: Advanced Customizations > Hooks
Topic: SUM OF COLUMN
Replies: 9
Views: 1487

SUM OF COLUMN

Hello
Any easy solution to display total of
  • INCOME
    EXPENSE
    BALANCE
budgety.jpg
budgety.jpg (70.45 KiB) Viewed 1487 times
Thank you
by Moh Youba
2019-07-20 20:00
Forum: Advanced Customizations > Hooks
Topic: Set default sort "desc" when click table header column
Replies: 1
Views: 486

Re: Set default sort "desc" when click table header column

Hello
You have check this ...
descending.jpg
descending.jpg (103.83 KiB) Viewed 462 times
by Moh Youba
2019-07-07 15:32
Forum: Advanced Customizations > Hooks
Topic: Align caption text to center of table
Replies: 10
Views: 1712

Re: Align caption text to center of table

ok working fine.
first I put inside <?php ... ?>
now I put oustise and it is working fine
thank you for your great help and support

You give me also opportunity to learn new thing

best regards,
by Moh Youba
2019-07-07 15:29
Forum: Advanced Customizations > Hooks
Topic: Align caption text to center of table
Replies: 10
Views: 1712

Re: Align caption text to center of table

humm !!! I put in the hooks/footer-extars.php but still align in left
hooks-1.jpg
hooks-1.jpg (13.11 KiB) Viewed 1697 times
hooks-2.jpg
hooks-2.jpg (41.93 KiB) Viewed 1697 times
by Moh Youba
2019-07-07 14:05
Forum: Advanced Customizations > Hooks
Topic: Align caption text to center of table
Replies: 10
Views: 1712

Re: Align caption text to center of table

Hello

Thank you. Yes I want to apply to all tables.
Please, where to put this code

Thank you
by Moh Youba
2019-07-07 14:04
Forum: Advanced Customizations > Hooks
Topic: How to create printable page with data form different tables
Replies: 2
Views: 544

Re: How to create printable page with data form different tables

Hi
I want to have just datas, there are not sort, just normal information
OK, thank you, let me try your solution to see

Regards,