Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getCustomer() {
- var promiseGetStudent = SPACRUDService.getCustomer(ShareData.value);
- promiseGetStudent.then(function (pl) {
- pl.data.MirageDate = $filter('date')(pl.data.MirageDate, 'yyyy-MM-dd');
- $scope.Cust = pl.data;
- },
- function (errorPl) {
- $scope.error = 'failure loading Student', errorPl;
- });
- }
- <table class="table">
- <td style="width:200px; text-align:center; vertical-align:central">إسم العميل</td>
- <td>
- <table class="table" style="margin-bottom: -3px;">
- <tr>
- <td style="padding:0; vertical-align:central; width:50%;">
- <div class="input-group">
- <span class="input-group-addon ion ion-person"></span>
- <input type="text" class="form-control" placeholder="إسم العميل" ng-model="Cust.CustomerName">
- </div>
- </td>
- <td style="width:125px; vertical-align:central" class="text-center">المدينة</td>
- <td style="padding:0; vertical-align:central">
- <input type="text" ng-model="Cust.CityID" name="cid" id="cid" />
- @Html.DropDownList("CityID", null, "إختر المدينة", htmlAttributes: new { @class = "form-control", @style = "width=100%", @ng_model = "Cust.CityID" })
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <option value="? number:2 ?"></option>
Add Comment
Please, Sign In to add comment