Kaynağa Gözat

sms_comunication - cambiato "oggetto" in "nome template"

ferrari 1 ay önce
ebeveyn
işleme
5fc5c19636

+ 1 - 1
app/Http/Livewire/SmsComunications.php

@@ -82,7 +82,7 @@ class SmsComunications extends Component
     protected function baseMessages(): array
     {
         return [
-            'subject.*' => 'Il campo oggetto è richiesto',
+            'subject.*' => 'Il campo nome template è richiesto',
             'content.max' => 'Il messaggio non può essere più lungo di 900 caratteri',
             'content.*' => 'Il messaggio è richiesto',
             'recipients.*' => 'Selezionare almeno un destinatario',

+ 4 - 4
resources/views/livewire/sms_comunications.blade.php

@@ -24,7 +24,7 @@
                 <thead>
                     <tr>
                         <th>ID</th>
-                        <th>Oggetto</th>
+                        <th>Nome template</th>
                         <th># Destinatari</th>
                         <th>Stato</th>
                         <th>Programmato per</th>
@@ -113,12 +113,12 @@
                 <div class="col">
 
                     <form>
-                        {{-- Oggetto --}}
+                        {{-- Nome template --}}
                         <div class="row mb-5">
                             <div class="col">
                                 <div class="form--item">
-                                    <h4>Oggetto</h4>
-                                    <input type="text" class="form-control @error('subject') is-invalid @enderror" id="subject" wire:model.defer="subject" placeholder="Oggetto sms" @if($locked) disabled @endif>
+                                    <h4>Nome template</h4>
+                                    <input type="text" class="form-control @error('subject') is-invalid @enderror" id="subject" wire:model.defer="subject" placeholder="Nome template sms" @if($locked) disabled @endif>
                                     @error('subject')
                                     <div class="invalid-feedback">{{ $message }}</div>
                                     @enderror