]> _ Git - fluidbook-toolbox.git/commitdiff
wip #3753 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 14 Dec 2020 18:28:21 +0000 (19:28 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 14 Dec 2020 18:28:21 +0000 (19:28 +0100)
app/Models/FluidbookQuote.php
public/packages/fluidbook/toolbox/css/style.less

index dfaa518d86319ea3f948bce86b9caf3504dc6615..075a6b41f499ea8f4c4de68bae349320b9d313a0 100644 (file)
@@ -21,7 +21,7 @@ class FluidbookQuote extends CubistMagicAbstractModel
         'singular' => 'demande de devis',
         'plural' => 'demandes de devis'];
 
-    protected $_operations = [ShowOperation::class, AssignOperation::class, CreateFromWebsite::class, ConfirmAssignmentOperation::class];
+    protected $_operations = [/*ShowOperation::class,*/ AssignOperation::class, CreateFromWebsite::class, ConfirmAssignmentOperation::class];
     protected $_enableClone = false;
     protected $_enableCreation = false;
     protected $_enableBulk = false;
@@ -97,7 +97,7 @@ class FluidbookQuote extends CubistMagicAbstractModel
             4 => __('Déjà client'),
         ], 'column' => true, 'filter' => true]);
 
-        $this->addField('notes', 'Textarea', __('Notes'));
+        $this->addField('notes', 'Textarea', __('Notes'),['column'=>true]);
 
         $this->addField('origin_column', FluidbookQuoteOrigin::class, __('Origine'), ['column' => true, 'filter' => true]);
         $this->addField('fluidbooks', 'ModelAttribute', __('Fluidbooks'), ['column' => true, 'column_label' => '<img width="20" src="/images/icons/icon-fluidbook.svg">', 'attribute' => 'user.e1_ws_count']);
index 57fe0a2bcadaa0f1a62a0a3bfb41f1d89388096b..72641f926f4e7b46890d0f328a97da9b78a69d75 100644 (file)
@@ -305,3 +305,13 @@ a, a.btn-link {
     }
 
 }
+
+.column-value {
+    textarea-value {
+        white-space: pre-line;
+    }
+
+    .d-inline-flex {
+        display: block !important;
+    }
+}