Ask, reply and learn. Join the community of Akaunting.
Hello,
I'm creating my own module for testing purposes. I'm considering akaunting as an accounting software for my company and I wanted to know how easy is to develop extra functionalities for it.
I'm using akaunting 2.1.21 and I'm using my-blog project as a guide.
I'm trying to create a form to create procedures. I need to create a group for a date and a group for a select. None of them work. The code I'm using is:
{{ Form::selectGroup('type', 'Type', 'fa fa-pen', $types) }}
{{ Form::dateGroup('due_at', 'My Text', 'calendar', ['id' => 'due_at', 'class' => 'form-control datepicker', 'required' => 'required', 'show-date-format' => company_date_format(), 'date-format' => 'Y-m-d', 'autocomplete' => 'off'], Date::now()) }}
The Form::textGroup function does work as expected though.
None of them render correctly. Two html tags ( and ) are created but nothing is rendered. It also happens for the my-blog project when rendering the page for creating comments.
I attach an image where you can see this behaviour: https://ibb.co/ZKTkTR7.
Thanks
hello Juan, have you found a solution to your problem?
Hit the same problem when converting my custom module from Akaunting 2.0 - all Form::whateverGroup elements don't get rendered properly.
Only Form::textGroup appear on the form at least. Looks some Javascript is missing that processes the group blade output and converts it to proper html.
I see for example the group elements are working in the user edit blade form, but there is a Javascript loaded from the @push section in the end of the blade..
@Akaunting Support: I would appreciate if someone explain how to correctly set up my blade to use these group form elements.
Showing 1 to 3 of 3 discussions