]> _ Git - pmi.git/commitdiff
wait #6154 @0:15
authorsoufiane <soufiane@cubedesigners.com>
Thu, 20 Jul 2023 16:04:30 +0000 (18:04 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 20 Jul 2023 16:04:30 +0000 (18:04 +0200)
app/Http/Controllers/AjaxController.php
resources/styles/components/cart.styl

index 62bea6ad2772d4aaa7c7d563b9938efb87000c57..01446e1f58812f66780352cc8cd6d3bc9fda99f5 100644 (file)
@@ -664,6 +664,7 @@ class AjaxController extends CubistFrontController
 
         if(sizeof($lastCartRefs) !== sizeof($intersect) ||
             (sizeof($lastCartRefs) === sizeof($intersect) && sizeof($currentCartRef) != sizeof($lastCartRefs)) ) {
+            $data["name"] = __("Panier du :date", ["date" => Carbon::now('Europe/Paris')->isoFormat("DD/MM/Y")]);
             $panier = Cart::firstOrCreate($data);
             $panier->save();
             // Save back to the session with the latest cart id
index 70eee804b681b4baf57dd41224d4a46ab18e993a..83b44f0d0485bb7538c794567dfed708b099f6e4 100644 (file)
       padding: 10px
       width: 100%
       max-width: 100%
+      outline none
+      &:focus
+        border 1px solid #E7E9F3
       &.readonly
         background: none
         cursor: default