<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Diamond Details</title>
</head>
   
<body>

<table style="display:table; padding:10px" width="100%" id="x_content_LETTER.BLOCK4" cellspacing="0" cellpadding="0" border="0">
  
    <tr>
      <td style="color:#008000; font-size:11pt; font-family:Century Gothic,ITC Avant Garde,Arial,Helvetica,sans-serif; padding:0" valign="top" rowspan="1" colspan="1" class="x_HeadlineContent x_HeadlineText" align="left"><div style="color:#2d3c5c; text-align:left; padding:10px" align="left">
          <div>
            <p></p>
            <div style="color:#000000; font-size:11pt; text-align:left" align="left"><span style="font-size:11pt">Dear {{ $friend_name }},<br>
              <br>
              Your friend recently visited the AMIPI Inc website and wanted to share information about one of our diamonds with you, as well as the following note:<br>
              <br>
              <span style="font-size:20px; font-weight:bold">Check out these items that I selected for your review. Let me know if you have any questions or any feedback on it. I will be in touch with you to discuss further.</span><br>
              <br>
				
                <table style="border:1px solid #cac5c2" cellpadding="0" cellspacing="0" border="0" width="100%">
    <tbody>
        @foreach ($diamond_record as $diamond)
            <tr>
                <td style="background-color:#FFFFFF; color:#2C3B5B; font-size:24px; line-height:35px" height="38" valign="middle" align="center">
                    {{ $diamond->stock_number ?? 'N/A' }}
                </td>
            </tr>
            <tr>
                <td style="padding:5px" valign="top" align="left">
                    <table style="font-size:12px" cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tbody>
                            <tr>
                                <td style="border-bottom:1px solid #d3cec8; padding:5px 7px 5px 7px" valign="top" align="left">
                                    <table style="font-size:12px" cellspacing="0" cellpadding="0" width="100%">
                                        <tbody>
                                            <tr>
                                                <td width="35%">
                                                    <img style="margin:10px; padding-right:10px" src="{{ $diamond->diamond_image ?? '' }}" width="400px" data-imagetype="External">
                                                </td>
                                                <td width="65%">
                                                    <table cellspacing="0" cellpadding="0" width="100%">
                                                        <tbody>
                                                            <tr>
                                                                <td>
                                                                    <table>
                                                                        <tbody>
                                                                            <tr><td>SHAPE</td><td>{{ $diamond->ShapeName ?? 'N/A' }}</td></tr>
                                                                            <tr><td>CARAT WEIGHT </td><td>{{ $diamond->carat_weight ?? 'N/A' }}</td></tr>
                                                                            <tr><td>COLOR</td><td>{{ $diamond->ColorName ?? 'N/A' }}</td></tr>
                                                                            <tr><td>CLARITY</td><td>{{ $diamond->clarity_name ?? 'N/A' }}</td></tr>
                                                                            <tr><td>CUT</td><td>{{ $diamond->cut_name ?? 'N/A' }}</td></tr>
                                                                            <tr><td>POLISH</td><td>{{ $diamond->polish ?? 'N/A' }}</td></tr>
                                                                            <tr><td>SYMMETRY</td><td>{{ $diamond->symmetry ?? 'N/A' }}</td></tr>
                                                                            <tr><td>FLOURESCENCE</td><td>{{ $diamond->fluorescence ?? 'N/A' }}</td></tr>
                                                                            <tr><td>DEPTH%</td><td>{{ $diamond->depth ?? 'N/A' }}%</td></tr>
                                                                            <tr><td>TABLE%</td><td>{{ $diamond->table_diamond ?? 'N/A' }}%</td></tr>
                                                                            <tr><td>KEY TO SYMBOL</td><td>{{ $diamond->key_to_symbol ?? 'N/A' }}</td></tr>
                                                                            <tr><td>MEASUREMENT</td><td>{{ $diamond->measurement ?? 'N/A' }}</td></tr>
                                                                        </tbody>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table>
                                                                        <tbody>
                                                                            <tr><td>GRIDLE</td><td>{{ $diamond->girdle ?? 'N/A' }}</td></tr>
                                                                            <tr><td>GRIDLE THIN</td><td>{{ $diamond->girdle_thin ?? 'N/A' }}</td></tr>
                                                                            <tr><td>GRIDLE THICK</td><td>{{ $diamond->girdle_thick ?? 'N/A' }}</td></tr>
                                                                            <tr><td>CULET</td><td>{{ $diamond->culet ?? 'N/A' }}</td></tr>
                                                                            <tr><td>SHADE</td><td>{{ $diamond->shade ?? 'N/A' }}</td></tr>
                                                                            <tr><td>LAB</td><td>{{ $diamond->certificate_company ?? 'N/A' }}</td></tr>
                                                                            <tr><td>CERT NO.</td><td>{{ $diamond->certificate_number ?? 'N/A' }}</td></tr>
                                                                            <tr><td>RAP OFF</td><td>{{ $diamond->rap_percentage ?? 'N/A' }}%</td></tr>
                                                                            <tr><td>US$/CT</td><td>${{ number_format($diamond->price_per_carat ?? 0, 2) }}</td></tr>
                                                                            <tr><td>AMOUNT</td><td>${{ number_format($diamond->price ?? 0, 2) }}</td></tr>
                                                                            <tr><td>AVAILABILITY</td><td>{{ $diamond->availability_status ?? 'N/A' }}</td></tr>
                                                                        </tbody>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                            	<td></td>
                                            	<td><p><a href="{{ $current_url }}">Diamond Details</a> </p></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        @endforeach
    
</table>
              
              
              </span></div>
          </div>
        </div></td>
    </tr>
  </tbody>
</table>
</body>
</html>
