s33
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
$invoiceId = $_POST['invoiceId'];
|
||||
$customerName = $_POST['customerName'];
|
||||
$customerAddress = $_POST['customerAddress'];
|
||||
$marketingAgent = $_POST['marketingAgent'];
|
||||
$marketingAgents = $_POST['marketingAgent'];
|
||||
$marketingAgentList = implode(", ", $marketingAgents);
|
||||
$item = $_POST['item'];
|
||||
$description = $_POST['description'];
|
||||
$quantity = $_POST['quantity'];
|
||||
@@ -64,7 +65,7 @@
|
||||
$stmt2->bindParam(':invoiceDate', $bookingDate);
|
||||
$stmt2->bindParam(':paymentMode', $paymentMode);
|
||||
$stmt2->bindParam(':salesAgent', $salesAgent);
|
||||
$stmt2->bindParam(':marketingAgent', $marketingAgent);
|
||||
$stmt2->bindParam(':marketingAgent', $marketingAgentList);
|
||||
$stmt2->bindParam(':tenure', $tenure);
|
||||
$stmt2->bindParam(':item', $item);
|
||||
$stmt2->bindParam(':description', $description);
|
||||
@@ -174,8 +175,13 @@
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="marketingAgent" class="form-label">Marketing Agent:</label>
|
||||
<select name="marketingAgent" class="form-control"required>
|
||||
<option value="">-Select-</option>
|
||||
<select name="marketingAgent[]" class="form-control"required multiple>
|
||||
<option value="Prabhat Mishra">Prabhat Mishra</option>
|
||||
<option value="Suvojit Mishra">Suvojit Mishra</option>
|
||||
<option value="Prabhat Mishra">Prabhat Mishra</option>
|
||||
<option value="Suvojit Mishra">Suvojit Mishra</option>
|
||||
<option value="Prabhat Mishra">Prabhat Mishra</option>
|
||||
<option value="Suvojit Mishra">Suvojit Mishra</option>
|
||||
<option value="Prabhat Mishra">Prabhat Mishra</option>
|
||||
<option value="Suvojit Mishra">Suvojit Mishra</option>
|
||||
</select>
|
||||
@@ -215,10 +221,10 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<textarea class="form-control w-100" name="item" id="item" rows="3"></textarea>
|
||||
<input type="text" class="form-control w-100" name="item" id="item" rows="3" />
|
||||
</td>
|
||||
<td>
|
||||
<textarea class="form-control w-100" name="description" id="description" rows="3"></textarea>
|
||||
<input type="text" class="form-control w-100" name="description" id="description" rows="3" />
|
||||
</td>
|
||||
<td>
|
||||
<input class="form-control w-100" name="quantity" id="quantity" />
|
||||
|
||||
Reference in New Issue
Block a user