Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model List<MbtSolution.Models.Database.Tables.DailyReport>
- @{ Layout = null;}
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- .table {
- margin: 0px;
- padding: 0px;
- border: 3px solid #ff7f00;
- border-bottom: 0;
- }
- .table table {
- border-collapse: collapse;
- border-spacing: 0;
- width: 100%;
- height: 100%;
- margin: 0px;
- padding: 0px;
- }
- .table tr:nth-child(odd) {
- background-color: #ffaa56;
- }
- .table tr:nth-child(even) {
- background-color: #ffffff;
- }
- .table td {
- vertical-align: middle;
- border: 1px solid #808080;
- border-width: 1px 1px 1px 1px;
- text-align: left;
- padding: 7px;
- font-size: 10px;
- font-family: Verdana;
- color: #000000;
- }
- label {
- font-weight: bold;
- }
- .dikey {
- transform: rotate(-90deg);
- }
- .table tr:first-child td {
- background-color: #ff7f00;
- border: 1px solid #808080;
- text-align: center;
- border-width: 1px 1px 1px 1px;
- font-size: 14px;
- font-family: Verdana;
- font-weight: bold;
- color: #ffffff;
- }
- </style>
- <title></title>
- <meta charset="utf-8" />
- </head>
- <body>
- Merhabalar;
- <br />
- <br />
- <p>@DateTime.Now.ToShortDateString() tarihi itibari ile operasyonda bulunan gemilere ait rapor aşağıdaki gibi sunulmuştur.</p>
- <div class="table">
- <table>
- <tr style="background-color: #ff7f00;">
- <td colspan="2">
- No
- </td>
- <td>
- Date
- </td>
- <td>
- Time
- </td>
- <td>
- Vessel
- </td>
- <td>
- Ref No
- </td>
- <td>
- Port
- </td>
- <td>
- Cargo
- </td>
- <td>
- PSN
- </td>
- <td >
- Discharge Details
- </td>
- <td >
- Weather
- </td>
- <td>
- Tools
- </td>
- </tr>
- @{
- int i = 1;
- }
- @foreach (var item in Model)
- {
- <tr>
- <td>
- @i
- </td>
- <td class="dikey">
- @if (item.Vop != null)
- {
- @item.Vop.PoexNo
- }
- </td>
- <td>
- @item.DateTime.ToShortDateString()
- </td>
- <td>
- @item.DateTime.ToShortTimeString()
- </td>
- <td>
- @if (item.Vop != null)
- {
- if (item.Vop.Vessel != null)
- {
- @item.Vop.Vessel.Title
- }
- }
- </td>
- <td>
- @if (item.Vop != null)
- {
- @item.Vop.RefNo
- }
- </td>
- <td>
- @if (item.Vop != null)
- {
- if (item.Vop.DischargingPort != null)
- {
- @item.Vop.DischargingPort.Title
- }
- }
- </td>
- <td>
- @if (item.Vop != null)
- {
- if (item.Vop.Cargo != null)
- {
- @item.Vop.Cargo.Title
- }
- }
- </td>
- <td class="dikey">
- <label>@item.Situation</label>
- </td>
- <td style="text-align: left; border-right: 0; vertical-align: top;">
- <table>
- <tr>
- <td><label>B/L Quantity (mton/air)</label></td>
- <td>
- <label>
- @if (item.Vop != null)
- {
- @item.Vop.CargoQuantity
- }
- </label>
- </td>
- </tr>
- <tr>
- <td><label>Discharged Quantity(mton/air)</label></td>
- <td><label>@item.DischargedQuantity</label></td>
- </tr>
- <tr>
- <td><label>Remain on Board(mton/air)</label></td>
- <td><label>@item.Rob</label></td>
- </tr>
- <tr>
- <td><label>Rate (mton/h)</label></td>
- <td><label>@item.Rate</label></td>
- </tr>
- <tr>
- <td><label>Avr. Discharge Rate (mton/h)</label></td>
- <td><label>@item.AverageRate</label></td>
- </tr>
- <tr>
- <td><label>Backpressure At Ship Manifold (kg/cm2)</label></td>
- <td><label>@item.BackpressureAtShipManifold</label></td>
- </tr>
- <tr>
- <td><label>ETC</label></td>
- <td><label>@item.Etc</label></td>
- </tr>
- </table>
- </td>
- <td style="vertical-align:top; border-right:0;">
- <table>
- <tr>
- <td><label>Sea</label></td>
- <td><label>
- @if (item.Sea != null)
- {
- @item.Sea.SeaLevel
- } @item.SeaDirection</label></td>
- </tr>
- <tr>
- <td><label>Weather</label></td>
- <td><label>
- @if (item.Wind != null)
- {
- @item.Wind.Bofor
- } @item.WindDirection</label></td>
- </tr>
- <tr>
- <td><label>Temprature</label></td>
- <td><label>@item.Temprature C</label></td>
- </tr>
- </table>
- </td>
- <td>
- <a href="http://superintendent.mbtshipping.com/Vop/EditVop/@item.VopId">See Vop Details</a>
- </td>
- </tr>
- <tr style="border-bottom: 5px solid #ff6a00; background-color: #ff7f00;">
- <td colspan="2">
- <label>Remarks</label>
- </td>
- <td colspan="11">
- @item.Description
- </td>
- <td></td>
- </tr>
- i = i + 1;
- }
- </table>
- </div>
- <br />
- Saygılarımızla,
- <br />
- <br />
- <p>
- Cpt.Levent TERZİOĞLU | Operasyon Müdürü | Operation Manager
- <br />
- <br />
- <img src="http://superintendent.mbtshipping.com/Content/logo.png" />
- <br />
- MBT Superintendence & Marine Consulting Ltd.
- <br />
- Kemalpasa Mah. Caglayan Is Mrk. No.1/37 41200 Izmit/Kocaeli
- <br />
- T:+90 262 321 1058 F:+90 262 322 1058 M:+90 532 330 7546
- <br />
- expedition@mbtshipping.com | www.mbtshipping.com
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement