Filippo Bertilotti
6 days ago 0ce6f3d3a42e4f5babdb1774a9fed430aff0884a
fixing errors e cambio grafica form
2 files modified
80 ■■■■ changed files
app/Vola/Services/FakeSSODatabase/FakeSSODatabaseHandler.php 3 ●●●● patch | view | raw | blame | history
resources/views/vodafone_fake_sso/show-write-view.blade.php 77 ●●●● patch | view | raw | blame | history
app/Vola/Services/FakeSSODatabase/FakeSSODatabaseHandler.php
@@ -21,12 +21,13 @@
                                           'IdPiano' => $data['IdPiano'],
                                           'LinkedUser' => $userModel->id]);
            print_r($data["products_select"]);
            foreach ($data["products_select"] as $index => $value) {
                $product = Products::find($value);
                echo "iproduct: $product->id, id msisdn: $msisdnModel->id ";
                $product->msisdn()->attach($msisdnModel->id);
            }
            //$product = Products::find($data['products-select']);
        }catch(PDOException $e) {
resources/views/vodafone_fake_sso/show-write-view.blade.php
@@ -45,7 +45,7 @@
                <form id="write-form" method="post">
                    @csrf
                    <div class="row row-cols-2">
                        <label for="products-select">
                        <label for="products_select">
                            Products
                        </label>
                        <select name="products_select[]" id="products_select" multiple>
@@ -57,29 +57,60 @@
                        </select> <br>
                        <div class="col mb-2">
                            <label for="profile_user_name" class="form-label">profile_user_name</label>
                            <input class="form-control" type="string" value="NAME FAKESSO | DUAL TM9 RIC 5.49275" name="profile_user_name" placeholder="profile_user_name" id="profile_user_name">
                        </div>
                        profile_user_name
                        <input type="string" name="profile_user_name" id="profile_user_name" value="NAME FAKESSO | DUAL TM9 RIC 5.49275">
                        Custcode
                        <input type="string" name="Custcode" id="Custcode" value="5.49275">
                        EmailAddress
                        <input type="string" name="EmailAddress" id="EmailAddress" value="pippo@vola.it">
                        Name
                        <input type="string" name="Name" id="Name" value="Paola">
                        ProfileIdentifier
                        <input type="string" name="ProfileIdentifier" id="ProfileIdentifier" value="BUSINESS_EMPLOYEE">
                        Surname
                        <input type="string" name="Surname" id="Surname" value="Sandrelli">
                        Username
                        <input type="string" name="Username" id="Username" value="FAKE_SSO_">
                        IdPiano
                        <input type="string" name="IdPiano" id="IdPiano" value="IdPiano">
                        OMProductId
                        <input type="string" name="OMProductId" id="OMProductId" value="OMProductId">
                        tmCode
                        <input type="string" name="tmCode" id="tmCode" value="tmCode">
                        sim_1
                        <input type="string" name="sim_1" id="sim_1" value="3464232371">
                        <div class="col mb-2">
                            <label for="Custcode" class="form-label">Custcode</label>
                            <input class="form-control" type="string" value="5.49275" name="Custcode" placeholder="Custcode" id="Custcode">
                        </div>
                        <div class="col mb-2">
                            <label for="EmailAddress" class="form-label">EmailAddress</label>
                            <input class="form-control" type="string" value="pippo@vola.it" name="EmailAddress" placeholder="EmailAddress" id="EmailAddress">
                        </div>
                        <div class="col mb-2">
                            <label for="Name" class="form-label">Name</label>
                            <input class="form-control" type="string" value="Paola" name="Name" placeholder="Name" id="Name">
                        </div>
                        <div class="col mb-2">
                            <label for="ProfileIdentifier" class="form-label">ProfileIdentifier</label>
                            <input class="form-control" type="string" value="BUSINESS_EMPLOYEE" name="ProfileIdentifier" placeholder="ProfileIdentifier" id="ProfileIdentifier">
                        </div>
                        <div class="col mb-2">
                            <label for="Surname" class="form-label">Surname</label>
                            <input class="form-control" type="string" value="Sandrelli" name="Surname" placeholder="Surname" id="Surname">
                        </div>
                        <div class="col mb-2">
                            <label for="Username" class="form-label">Username</label>
                            <input class="form-control" type="string" value="FAKE_SSO_" name="Username" placeholder="Username" id="Username">
                        </div>
                        <div class="col mb-2">
                            <label for="IdPiano" class="form-label">IdPiano</label>
                            <input class="form-control" type="string" value="IdPiano" name="IdPiano" placeholder="IdPiano" id="IdPiano">
                        </div>
                        <div class="col mb-2">
                            <label for="OMProductId" class="form-label">OMProductId</label>
                            <input class="form-control" type="string" value="OMProductId" name="OMProductId" placeholder="OMProductId" id="OMProductId">
                        </div>
                        <div class="col mb-2">
                            <label for="tmCode" class="form-label">tmCode</label>
                            <input class="form-control" type="string" value="tmCode" name="tmCode" placeholder="tmCode" id="tmCode">
                        </div>
                        <div class="col mb-2">
                            <label for="sim_1" class="form-label">sim_1</label>
                            <input class="form-control" type="string" value="3464232371" name="sim_1" placeholder="sim_1" id="sim_1">
                        </div>
                    </div>