dan3460

Experience

8,630

0 Best Reply Awards

  • Member Since 5 Months Ago
  • 61 Lessons Completed
  • 0 Favorites

4th April, 2018

dan3460 left a reply on Model Not Bringing HasOne Table • 1 month ago

Solve the issue, got to learn more about that. What is the third parameter for?

dan3460 left a reply on Model Not Bringing HasOne Table • 1 month ago

I did what you suggested and i can see that the request to the database is incorrect:

select * from `season` where `season`.`season_id` = '1' and `season`.`season_id` is not null limit 1

is calling for season to be 1 and there is no season 1, the season should be 12. The next field in the growerProgram is the grower and that one is 1. Is it possible that the sequence of the fields got scrambled in the model and need to be reset?

dan3460 left a reply on Model Not Bringing HasOne Table • 1 month ago

Thanks sir

dan3460 left a reply on Model Not Bringing HasOne Table • 1 month ago

i thought so but i checked , don't understand why. If i do this:

select a.season_name from growerProgram s join season a on s.season_id=a.season_id

returns the correct value. I'm pretty sure that im doing something wrong but don't know what.

dan3460 started a new conversation Model Not Bringing HasOne Table • 1 month ago

I have the following model:

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class GrowerProgram extends Model
{
    protected $table='growerProgram';
    protected $primaryKey='growerProgram_id';

    public function grower()
    {
        return $this->hasOne('App\Grower','grower_id');
    }

    public function commodity()
    {
        return $this->hasOne('App\Commodity','commodity_id');
    }

    public function season()
    {
        return $this->hasOne('App\Season','season_id');
    }
}

And i have the following blade showing the data from growerprogram:

<tbody>
    @foreach ($programs as $program)
    <tr>
        {{dd($program->grower)}}
        <td>{{$program->growerProgram_id}}</td>
        <td>{{$program->season_id}}</td>
        <td>{{$program->season->season_name}}</td>
        <td>{{$program->grower_id}}</td>
        <td>{{$program->grower->grower_name}}</td>
        <td>{{$program->commodity_id}}</td>
        <td>{{$program->commodity->commodity_name}}</td>
        <td>{{$program->growerProgram_cases}}</td>
    </tr>
    @endforeach
</tbody>

As you see i have a dump showing the grower table, works fine. If i do the commodity shows the commodity table, works fine. But when i put season give me null. How can i see what the function season is connecting to?

2nd April, 2018

dan3460 left a reply on Protect Php Webforms From Accessing Without Login • 1 month ago

@Snapey is right. It will not take a long time to get a basic Laravel application with authentication up and running. Using what is given when you set up a new application, modify the navigation file to access the forms. I'm sure it will take you less that a day to do it.

dan3460 left a reply on Filtre On Table Whith Laravel • 1 month ago

I spend a lot of time creating filters and sorting for tables until i fund DataTables. It is very easy to use and gives you all kind of options for searching and sorting. Here is the the link https://datatables.net/ My only complaint will be, and i probably need to understand more about the plug in, formatting to match your schema or theme is not that easy.

1st April, 2018

dan3460 left a reply on Carbon Weird Behavior • 1 month ago

Tip my hat to you sir!

dan3460 started a new conversation Carbon Weird Behavior • 1 month ago

I have a function that creates weeks on a table, I have not finished it dealing when weeks span between years, but that is not the problem. I need to give each created week the start date for the week and the end week. My problem is that the method startOfWeek() from Carbon is given me the end date of the week. I lost how to test what is happening? Here is the function:

public function createWeeks(Carbon $start_date, Carbon $end_date, $seasonID)
{
    $start_week=$start_date->weekOfYear;
    $end_week=$end_date->weekOfYear;
    if($start_week < $end_week){
        for ($i=$start_week; $i <= $end_week ; $i++) { 
            $week=new Weeks;
            $week->season_id=$seasonID;
            $week->weeks_name=$i;
            $week->weeks_from=$start_date->startOfWeek();
            $week->weeks_to=$start_date->endOfWeek();
            $week->users_id=Auth::user()->users_id;
            $week->save();
            $start_date->addWeek();
        }
    } else {
        for ($i=$start_week; $i <= 52 ; $i++) { 
            $week=new Weeks;
            $week->season_id=$seasonID;
            $week->weeks_name=$i;
        }
    }
}

24th March, 2018

dan3460 left a reply on Laravel And Bootswatch Theme • 1 month ago

That simple!!, is embarrassing. I got into a rabbit hole in my head and didn't see this obvious solution.

Thanks

dan3460 started a new conversation Laravel And Bootswatch Theme • 1 month ago

As i understand Bootstrap 4 is already install in Laravel 5.6. How do i setup a bootswatch theme?

dan3460 left a reply on Table Sets By User, Access To Them - Mulitenancy? • 1 month ago

I still looking around this. I follow the tutorial of laravel Tenancy, but there are things that still not clear to me. 1- It seems to me that when a change is made to the database structure you will have to re-run the migration thus destroying the data. How you do this with a site that is running already. 2- As each tenant ha his own website, do you have to update your DNS records for each tenant.

21st March, 2018

dan3460 left a reply on Table Sets By User, Access To Them • 2 months ago

Intriguing. I'm a little confused to how you will access each sub-site, maybe i need to read more, it seems to me that you will need to add the user.domain.com for each user that is created. Any other ideas out there?

dan3460 started a new conversation Table Sets By User, Access To Them • 2 months ago

Starting a new project that requires that the data for each company is kept on its own set of tables. For example, when a company is created it will be a products table that is unique to that company. I think i can handle the creating of the set of tables for each company, the names will be prefixed by the company number, for example 001_products, 001_customers, etc. How would you access the tables from Laravel?

1st March, 2018

dan3460 left a reply on Installing VPN Client On Vultr Or Similar Cloud Server, Ubuntu 17.10 • 2 months ago

In case anyone cares, i found the problem was in the cloud server. The route add command that i had was wrong, was creating only a route to the client ip given by the server. Making an explicit route with the network mask 255.255.255.0 solve the problem. I good to walk around for a while.

dan3460 left a reply on Installing VPN Client On Vultr Or Similar Cloud Server, Ubuntu 17.10 • 2 months ago

Thanks for the answer. I have been working on this thing since i posted this a day ago. One of the problems is that the server i'm using only has command line, many of the tutorials and guides are for gui interfaces. I think the client side of openvpn is like that. Anyway, i followed this guide line https://www.jamescoyle.net/how-to/963-set-up-linux-pptp-client-from-the-terminal, and is working for the most part. I can connect to the pptp server, i can see this because i'm given a local ip address, but i cannot access the main server which runs ftp. Is like the rest of the network is hidden. I don't know if is a problem in my server with routing or the pptp server no giving me the access.

28th February, 2018

dan3460 started a new conversation Installing VPN Client On Vultr Or Similar Cloud Server, Ubuntu 17.10 • 2 months ago

Installing VPN Client on Vultr or similar cloud server, Ubuntu 17.10 I need to establish a VPN connection from my Vultr server (similar to Amazon lightsail, azule) to a Microsoft server. All that i can find talks about using a gui to setup the VPN, on this server i only have a command line. Some of the things that i read said that VPN should be already available on the Ubuntu server. This is my production server so i don't want to mess things up by trial and error, does anyone of you had to do a similar setup before? Could someone point me in the right direction?

Thanks for the help,

27th February, 2018

dan3460 left a reply on Auto Data Entry Into Desktop Application • 2 months ago

Thanks for the replay. The reason is because the desktop app is a closed application and the company refuses to make any changes to it, nor opening the app to outside developers. I have to work around the app. Emulating keyboard typing is the only solution that i can see.

24th February, 2018

dan3460 started a new conversation Bringing Code From Repository • 2 months ago

I had a computer crash and i'm in the process of reinstalling everything. I had my code on github repositories. what is the best way to bring the code back to my computer. Should i create a new project, run auth and npm install, and then pull form the repository? Thanks for the advice.

22nd February, 2018

dan3460 started a new conversation Opening A Iframe On A Blade From A Component • 3 months ago

After several days of playing around and several posts on this forum, the view with drag and drop is almost working. The last problem that i have have is with a iframe that i have on the view. The view has two sections, one where i have a component (shown below) that shows two tables where you can drag and drop from one to another. The other section is a modal (which i can open from within the component) that contains an iframe to display a document selected from any of the tables. My problem is that i have not been able to grab the handle of the iframe from within the component. Does anyone have an idea how to to this?

<template>
    <div class="row">
        <div class="col-6">
            <div class="card">
                <div class="card-header">
                    <h4 class="card-title">Available Documents</h4>
                </div>
                <div class="card-body">
                    <table class="table table-sm">
     
                        <draggable class="dragArea list-group" v-model="approvedDocsNew" :options="{group:'docs'}" :element="'tbody'" id="docTableAvail">
                            <tr v-for="(approvedDoc, index) in approvedDocsNew" @click="openModal(index,0)">
                                <td>{{approvedDoc.document_id}}</td>
                                <td>{{approvedDoc.document_name}}</td>
                                <td>{{approvedDoc.document_expire}}</td>
                            </tr>
                        </draggable>
                    </table>
                </div>
            </div>
        </div>
        <div class="col-6">
            <div class="card">
                <div class="card-header">
                    <h4 class="card-title">Selected Documents</h4>
                </div>
                <div class="card-body table-sm">
                    <table class="table table-sm">

                        <draggable class="dragArea list-group" v-model="forApprovalDocsNew" :options="{group:'docs'}" :element="'tbody'" id="docTableSelected">
                            <tr v-for="(forApprovalDoc, index) in forApprovalDocsNew" @click="openModal(index,1)">
                                <td>{{forApprovalDoc.document_id}}</td>
                                <td>{{forApprovalDoc.document_name}}</td>
                                <td>{{forApprovalDoc.document_expire}}</td>
                            </tr>
                        </draggable>
                    </table>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    import draggable from 'vuedraggable'

    export default {
        components: {
            draggable
        },

        props: ['approvedDocs','forApprovalDocs'],

        data() {

            return {
                approvedDocsNew: this.approvedDocs,
                forApprovalDocsNew: this.forApprovalDocs
            }
        },

        methods: {
            openModal(index,table) {
                var docID;
                var w=window.document.getElementsByTagName("iframe")[0];
                if(table == 0){
                    docID=this.approvedDocsNew[index].document_id
                } else {
                    docID=this.forApprovalDocsNew[index].document_id
                }
                console.log(w.title)
                $("#documentView").modal('toggle')
                $.ajax({
                    type: 'POST',
                    url: '/downloadDocument',
                    data: {
                        documentID:docID
                    },
                    headers: {
                        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                    }
                })
                .done(function(data){
                    window.open(data,w);
                })
            }
        }
    }
</script>

<style>
.dragArea {
  min-height: 10px;
}

</style>

20th February, 2018

dan3460 left a reply on Vue Draggable Cannot Drop In Other Table • 3 months ago

If anyone cares, i found the solution the min-height must be declared at the level for the drop to an empty table to work. Thanks for the help.

19th February, 2018

dan3460 left a reply on Vue Draggable Cannot Drop In Other Table • 3 months ago

Thanks for the answer, right i'm starting with both tables with some data. The problem becomes when one of the tables gets empty. It seems to me a lot of programming to keep checking when one of the tables becomes empty, to then add a empty row there. Also i think that row will need to be made non-draggable. I will post on the vue draggable site a issue, and see what the response is. In the mean time i think i will make the tables into lists, which seem to be working

dan3460 left a reply on Vue Draggable Cannot Drop In Other Table • 3 months ago

I have been working on this the entire morning and i'm getting there. I started from scratch using one of the samples from the vue.draggable web site. Then added and replace things to make it in to a couple of tables and i can move elements from one table to another. Now my problem is when the table is empty or becomes empty, then it does not accept an element. The documentation calls to give the element a minimum height, as you can see in the code below i have been adding the min-height everywhere but it doesn't work. My first attempt was to put the min-height on the draggable element, that did not work. Thanks for any ideas you may have:

<template>
    <div class="row">

        <table class="table dragArea">
            <thead>
                <tr>
                    <th>ID</th>
                </tr>
            </thead>
            <draggable v-model="approveDocsNew" :options="{group:'people'}" :element="'tbody'">
                <tr v-for="element in approveDocsNew" class="dragArea">
                    <td class="dragArea">{{element.document_id}}</td>
                </tr>
            </draggable>
        </table>
        <table class="table dragArea">
            <thead class="table">
                <tr>
                    <th>ID</th>
                </tr>
            </thead>
            <draggable v-model="forApprovalDocsNew" :options="{group:'people'}" :element="'tbody'">
                <tr v-for="element in forApprovalDocsNew" class="dragArea">
                    <td class="dragArea">{{element.document_id}}</td>
                </tr>
            </draggable>
        </table>
    </div>
</template>

<script>
    import draggable from 'vuedraggable'

    export default {
        components: {
            draggable
        },

        props: ['approvedDocs','forApprovalDocs'],

        data() {
            return {
                approveDocsNew: this.approvedDocs,
                forApprovalDocsNew: this.forApprovalDocs
            }
            
        },

        method: {

        }
    }
</script>

<style>
.dragArea {
  min-height: 10px;
}

</style>

18th February, 2018

dan3460 started a new conversation Vue Draggable Cannot Drop In Other Table • 3 months ago

I'm working on a project where i think Vue Draggable is the best solution for what i want to do which is to drag an item from one table and drop it in another. I have been following Andre Madarang video and i have most of it working. I can move thing around within each table but i cannot grab from one and drop in the other, here is the code:

<template>
    <div class="row">
        <div class="col-6">
            <div class="card">
                <div class="card-header">
                    <h5 class="card-title">Available Documents</h5>
                </div>
                <div class="card-body">
                    <table class="table table-sm" id="availDocs">
                        <thead>
                            <tr>
                                <td>ID</td>
                            </tr>
                        </thead>
                        <draggable class="min-height" v-model="approveDocsNew" :list="approveDocsNew" :options="{group:'document'}" :element="'tbody'">
                            <tr v-for="(approveDoc, index) in approveDocsNew">
                                <td>{{approveDoc.document_id}}</td>
                            </tr>
                        </draggable>
                    </table>
                </div>
                <div class="card-footer text-muted">
                    Footer
                </div>
            </div>
        </div>
        <div class="col-6">
            <div class="card">
                <div class="card-header">
                    <h5 class="card-title">Selected Documents</h5>
                </div>
                <div class="card-body">
                    <table class="table table-sm" id="selDocs">
                        <thead>
                            <tr>
                                <td>ID</td>
                            </tr>
                        </thead>
                        <draggable class="min-height" v-model="forApprovalDocsNew" :list="forApprovalDocs" :option="{group:'document'}" :element="'tbody'">
                            <tr v-for="(forApprovalDoc, index) in forApprovalDocsNew">
                                <td>{{forApprovalDoc.document_id}}</td>
                            </tr>
                        </draggable>
                    </table>
                </div>
                <div class="card-footer text-muted">
                    Footer
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    import draggable from 'vuedraggable'

    export default {
        components: {
            draggable
        },

        props: ['approvedDocs','forApprovalDocs'],

        data() {
            return {
                approveDocsNew: this.approvedDocs,
                forApprovalDocsNew: this.forApprovalDocs
            }
            
        },

        method: {

        }
    }
</script>

I probably missed something on the tutorial, any ideas?

dan3460 left a reply on Adding Vue To A Project • 3 months ago

Thanks, looking on the web that the error relates to eslint plugin, and suggested to set vetur.validation.template=false. That took the error out, don't what else does but seems to be working. I got a vue extension on crome, i can see there that the data is passed as an array and there only the fields of the original model. Don't know if i want to pass a json with all the associated models. I probably will tailor a structure that contains the fields that i want to pass to the vue module.

Thanks again for the help

dan3460 left a reply on Adding Vue To A Project • 3 months ago

I spent several hours last night chasing an error showing on VSC with Vetur extension v-for: elements in the interaction expect to have a b-bind:key. By coincidence i had an spelling error with in the loop (this is an iteration for a table), i realized my mistake and this morning the table render on the screen. Vetur still showing the error. Is Vetur the best extension for Vue? The other problem that i have is with relations in Laravel models, i normally refer to field to related tables in this way model1->model2->fieldwanted Can i use the Model relations in Vue? Thanks for the help.

17th February, 2018

dan3460 left a reply on Adding Vue To A Project • 3 months ago

Thanks very much, appreciated

dan3460 left a reply on Adding Vue To A Project • 3 months ago

@topvillas woaaa, that was quick. Wold the installation take care of the package.json, i think there are some parameters that need to be there? Any other dependency that i have to be aware of?

Thank very much,

dan3460 started a new conversation Adding Vue To A Project • 3 months ago

I started a project that replaces an older one about a month ago. I'm new to Laravel and even newer to Vue. I wanted to use the new bootstrap 4 so with help form here i remove all presets and install bootstrap 4 and works fine. I have come to a part of the project where seems that vue draggable will be perfect to select documents from one list and drag them to another. I just looked in the application and all traces of vue seems to be absent, i'm guessing that got erased when i removed the presets. What would be the best way to setup vue on this existing project? Thanks very much for the help.

dan3460 left a reply on Scheduling Commands, Where To Put The Logic • 3 months ago

Thanks, i have put most of the logic on the command side, with the logic to render the email on the mailable. Once you understand the way this work makes really easy to send sophisticated email at intervals or events.

14th February, 2018

dan3460 left a reply on Scheduling Commands, Where To Put The Logic • 3 months ago

Maybe i did not express myself clearly. English is not my native language. I'm using an artisan command and i'm using the task scheduler. With this i'm creating two classes, the command class and the mailable class, my question was more in the way to write the logic, your spread the logic into the two classes or you put most of your logic in one of the classes?

dan3460 started a new conversation Scheduling Commands, Where To Put The Logic • 3 months ago

I have a series of processes that triggers an email to be sent, for example if a document has expired will send an email to the owner of the document. There are two distinct pieces of logic to go through, first selecting each document to be act upon and second get the information of the owner to send the email. My initial thought is to put the logic for the first step in the command file and send the owner ID and document ID to the mailable having it pulling the information for the owner and send the email. Or would you rather have all the logic in the command or the mailable? Is there a laravel way?

10th February, 2018

dan3460 started a new conversation Using SQL Views, Best Practices • 3 months ago

I'm working on a part of the application where i see that the best way to obtain the information that i need is via a view on the database. On that view i can apply things line show unique, sort, etc. It seems to me easier than creating the relationships in Laravel, maybe is not but is my upbringing using SQL speaking.

  • I'm creating a model to handle the view - Is anything special that i should do to the model? I have seen protected $guarded=[] but the posts are several years old.
  • Any other suggestions to handle views?

Thanks for the help.

dan3460 left a reply on Retrieving Files From /storage/app/documents • 3 months ago

In case anyone follows this, my solution was to basically make a temporary copy of the file within the public folder. I still have to resolve the delete of the temporary file, right now is being deleted after one hour by a crontab process. I tried to check when the w=window.open() command was done, but i think that because is handled on a iframe the test $(w).ready() returns true right away thus the iframe doesn't display the document.

8th February, 2018

dan3460 left a reply on Retrieving Files From /storage/app/documents • 3 months ago

@arthruvillar i was writting this when i saw your post:

Yes it does, i can open the file if i navigate to the folder. Did not get an exception. I went for a cup of tea and done some thinking, please correct me if I'm wrong. The `window.open()` command is looking for an url that can attach to the iframe, therefore it will never going to be able to open a non public folder. ```

So using Arth idea and that i have to make sure that even authorized users do not have access to each other's files, i will make a temporary copy of the file that can be uploaded by the `window.open()` command. This is probably not as efficient as Arth solution but i feel that is more secure.

Thanks everyone for the help
 

dan3460 left a reply on Retrieving Files From /storage/app/documents • 3 months ago

I'm still learning Laravel, so please bear with me. To upload the file the user selects it in a form, then i have the following to store the file: $doc->document_location=$request->file('file')->store('documents'); which gives me the location and the name (hash) to store in the database. Then to display i have a blade with a iframe to show the document using a winddow.open(), i tried the following but got an empty string window.open('{{Storage::disk('local')->get('documents/KxfAL72tsX18kzZyfwLRjLjHyWILXHGWnvBRvze3.pdf')}}','docFrame'); For sure i'm doing something stupid.

dan3460 started a new conversation Retrieving Files From /storage/app/documents • 3 months ago

We are doing a rewrite of our document management system, the system currently stores the document in a blob on the database. I'm exploring the possibility of storing the documents outside the database and Laravel makes that super easy. The files are stored in the path given above, now i'm playing with retrieving the document for display. if I use storage_path("nameOfDocument") get an error "Not allowed to load local resource", which makes sense. For what i read the solution is to make a sim-link from the public folder to the storage folder, my problem is that exposes the documents to the web. Is there a way to do what i need to do?

7th February, 2018

dan3460 started a new conversation Intelliphense Add Use Not Working On VSCode • 3 months ago

I hope that i bunch of you are using Intelliphese with VSCode. It works fine with one exception, id i type a model name it adds the USE statement at the top of the file. If i copy the model from somewhere else, which i do not expect to automatically add the USE statement, and right click and select Add Use declaration it show an empty list. I know that is a minor thing but i see in many YouTube clips people using it. Any ideas how to setup intelliphense?

6th February, 2018

dan3460 left a reply on File Save To Database. • 3 months ago

Correct, i do understand that. The problem is that the database is access also by a desktop program, that is why we only store the data of the file in the blob. A few years ago was an internal discussion and i put it to the web too, about storing documents on the database, it was like discussing about religion. The opposing camps have no clemency for the other's view. The main reason for using it is that the document can be accessed by the desktop program and there is no messing with permissions or exposing folders to the web. Secondary reason was the easy of backup, you only backup the database.

5th February, 2018

dan3460 left a reply on File Save To Database. • 3 months ago

I thought that was an instance of the file object, which contains more than just the data. If $file is save in a blob, can it be retrieved directly from the database? I can do this now by saving the blob and adding the pdf extension to it.

dan3460 started a new conversation File Save To Database. • 3 months ago

I'm in the process of rewriting an old application, which was done with JQuery, Html and php (not even classes on the php side). Is an application to manage documents in pdf format. It was a discussion why it made sense to put the documents in database and has been working fine. After submitting the form we grab the document and make it into an binary variable which is save in a blob on the database.

$currFile=$_FILES['file']['tmp_name'];
$bin_data= addslashes(fread(fopen($currFile, 'rb'), filesize($currFile)));

I did see, or maybe i miss it, on the documentation in how to do similar thing with Laravel. I guess i could use the same function above but maybe a Laravel way to do this.

Thanks for the help.

4th February, 2018

dan3460 left a reply on The Page Has Expired Due To Inactivity • 3 months ago

In my experience that happens when there is no csrf token on the form. Make sure that you include {{ csrf_field() }} like this:

                                <form id="logout-form" action="{{ route('logout') }}" method="POST"
                                      style="display: none;">
                                    {{ csrf_field() }}
                                </form>

dan3460 left a reply on Bootstrap And A New Project • 3 months ago

Thanks for the help, i restarted the application and it worked. Don't know what went wrong with the previous one.

3rd February, 2018

dan3460 left a reply on Bootstrap And A New Project • 3 months ago

I'm starting again from scratch. I will make a new laravel, i will run auth, then artisan present none install bootstrap 4 and popper. I hope that does it.

dan3460 left a reply on Install Bootswatch 4 Theme In Laravel 5.5 • 3 months ago

Nice just in time for my project. Thanks. One question how do you use the theme you selected? lets say Yeti?

dan3460 left a reply on Bootstrap And A New Project • 3 months ago

No i did not. Should i run preset non and reinstall booststra4? or do in need to uninstall bootstrap 4?

dan3460 started a new conversation Bootstrap And A New Project • 3 months ago

I'm starting a brand new project. Created the Laravel application, set up the server, got git running. I upgraded to bootstrap 4, or at least i thought so, and i got stuck on placing the nav-brand in line with the rest of the menu. I copy the navbar from the bootstrap website, i have done nothing to it except for change the last button to a login button. I cannot get the brand in line with rest of the menu.!!! one clue could be that i could not get the menu to work, it was showing the hamburger at the start, i have to add the cdn bootstrap in the master template. here is the menu:

 <nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse">
    <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>

    <a class="navbar-brand" href="">NavBar</a>
    <div class="collapse navbar-collapse">
        <ul class="navbar-nav mr-auto">
            <li class="nav-item active">
                <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">Link</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">Disabled</a>
            </li>
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
                <div class="dropdown-menu" aria-labelledby="dropdown01">
                <a class="dropdown-item" href="#">Action</a>
                <a class="dropdown-item" href="#">Another action</a>
                <a class="dropdown-item" href="#">Something else here</a>
                </div>
            </li>
        </ul>
        <form class="form-inline my-2 my-md-0">
            <a class="btn btn-outline-success my-2 my-sm-0" href="{{ route('login') }}">Login</a>
        </form>
    </div>

</nav>

Any ideas ?

dan3460 started a new conversation Auto Data Entry Into Desktop Application • 3 months ago

I have been looking for a piece of software that can take data (either directly from an Laravel application or a file) and emulate the human typing. This is the scenario, i have a desktop application that i don't have access to the database nor there is any way to connect to it. They only want you to use the data entry screens. The person in the front desk has to re-enter all the information from the appointments system into the back office system every time. I looked in google but it seems to me, my keywords for the search may have been wrong, that systems are very expensive or there are a form or auto-fill. looking for ideas as to where to look.

Thanks for the help,

26th January, 2018

dan3460 left a reply on Redirecting From A Button Inside A Table • 3 months ago

Understand, makes sense. That shows you again, how little i know, until 6 months ago i was coding in c++ and i thought that any application that was interacting with a database on the web was doing so in a similar fashion as remote desktop or citrix interacts with a server. In other words i thought that the application resided in the server and only screen flashes where shown to the user. :( This is a new world to me, which I think is fascinating. Every corner that i turn there are new things and techniques to learn. I'm also glad that people like you are out there, willing to answer the stupid question that people like me have. Thanks again i really appreciate.

dan3460 left a reply on Redirecting From A Button Inside A Table • 3 months ago

Thanks, it works. I thought that GET would also required csrf, that tells you how little i know.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.